Closed CinchBlue closed 7 years ago
Hi, can one of the two above test that the new CMake support on the master
branch is working?
You'll have to clone googletest/googletest
under the ./dep/
directory, but it should be easy to run CMake from inside CLion or by create a new ./build/
directory, going into it, running cmake ../ -G"Unix Makefiles"
and then running make
.
We are adopting CLion which has in-built support for CMake. Our entire build system now consists of CMake paired with use of Google Test and Google Mock for building/testing/mocking.
Throughout the course of the project, we have had difficulty building for the project with
clang++
. Instead, we have opted for thec++
compiler alias that is available on most major platforms, and appears to be usually an alias for eitherg++
orclang++
.Note that linking in Google Test is often different when compiling with
clang++
on Mac OS X due to a different linking scheme that differs from the project's preferredg++
settings.In the future, we may adopt CMake support in order to get more acceptable cross-platform availability. But we are currently comfortable with using a simple GNU Make-based build system.