Lines Matching +full:cmake +full:-
1 # Quickstart: Building with CMake
3 This tutorial aims to get you up and running with GoogleTest using CMake. If
6 [Quickstart for Bazel](quickstart-bazel.md) instead.
14 * [CMake](https://cmake.org/) and a compatible build tool for building the
18 [Ninja](https://ninja-build.org/), and others - see
19 [CMake Generators](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html)
25 If you don't already have CMake installed, see the
26 [CMake installation guide](https://cmake.org/install).
34 CMake uses a file named `CMakeLists.txt` to configure the build system for a
45 GoogleTest. There are many ways to express dependencies in the CMake ecosystem;
47 [`FetchContent` CMake module](https://cmake.org/cmake/help/latest/module/FetchContent.html).
51 ```cmake
74 [CMake Tutorial](https://cmake.org/cmake/help/latest/guide/tutorial/index.html).
102 ```cmake
118 The above configuration enables testing in CMake, declares the C++ test binary
120 last two lines enable CMake's test runner to discover the tests included in the
122 [`GoogleTest` CMake module](https://cmake.org/cmake/help/git-stage/module/GoogleTest.html).
127 <strong>my_project$ cmake -S . -B build</strong>
128 -- The C compiler identification is GNU 10.2.1
129 -- The CXX compiler identification is GNU 10.2.1
131 -- Build files have been written to: .../my_project/build
133 <strong>my_project$ cmake --build build</strong>