Lines Matching full:cmake

1 # Abseil CMake Build Instructions
3 Abseil comes with a CMake build script ([CMakeLists.txt](../CMakeLists.txt))
5 If you don't have CMake installed already, you can download it for free from
6 <https://www.cmake.org/>.
8 CMake works by generating native makefiles or build projects that can
14 ## Incorporating Abseil Into a CMake Project
16 The recommendations below are similar to those for using CMake within the
18 …m/google/googletest/blob/master/googletest/README.md#incorporating-into-an-existing-cmake-project>)
23 [Google Test](https://github.com/google/googletest) into your CMake project. To disable Abseil test…
24 `-DBUILD_TESTING=OFF` when configuring your project with CMake.
26 2. Download Abseil and copy it into a subdirectory in your CMake project or add
28 CMake project.
30 3. You can then use the CMake command
31 [`add_subdirectory()`](https://cmake.org/cmake/help/latest/command/add_subdirectory.html)
32 to include Abseil directly in your CMake project.
35 [`target_link_libraries()`](https://cmake.org/cmake/help/latest/command/target_link_libraries.html)
39 ```cmake
53 ### Running Abseil Tests with CMake
64 https://github.com/google/googletest/blob/master/googletest/README.md#using-cmake
65 for more information on using Googletest in a CMake project.
73 cmake -DABSL_USE_GOOGLETEST_HEAD=ON -DABSL_RUN_TESTS=ON ..
78 Currently, we only run our tests with CMake in a Linux environment, but we are
83 ### Available Abseil CMake Public Targets
85 Here's a non-exhaustive list of Abseil CMake public targets:
87 ```cmake