Lines Matching +full:download +full:- +full:git +full:- +full:cache
3 …-and-test](https://github.com/google/benchmark/workflows/build-and-test/badge.svg)](https://github…
6 …st-bindings](https://github.com/google/benchmark/workflows/test-bindings/badge.svg)](https://githu…
40 [Discussion group](https://groups.google.com/d/forum/benchmark-discuss)
63 See [Platform-Specific Build Instructions](docs/platform_specific_build_instructions.md).
67 This describes the installation process using cmake. As pre-requisites, you'll
68 need git and cmake installed.
75 $ git clone https://github.com/google/benchmark.git
79 $ cmake -E make_directory "build"
80 # Generate build system files with cmake, and download any dependencies.
81 $ cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
83 # cmake -DCMAKE_BUILD_TYPE=Release -S . -B "build"
85 $ cmake --build "build" --config Release
103 $ cmake -E chdir "build" ctest --build-config Release
109 sudo cmake --build "build" --config Release --target install
116 * Otherwise, if `-DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON` is specified during
117 configuration as above, the library will automatically download and build
120 If you do not wish to build and run the tests, add `-DBENCHMARK_ENABLE_GTEST_TESTS=OFF`
127 `-DCMAKE_BUILD_TYPE=Release` when generating the build system files, as shown
128 above. The use of `--config Release` in build commands is needed to properly
129 support multi-configuration tools (like Visual Studio for example) and can be
132 To enable link-time optimisation, also add `-DBENCHMARK_ENABLE_LTO=true` when
136 cache variables, if autodetection fails.
139 `LLVMNM_EXECUTABLE` and `LLVMRANLIB_EXECUTABLE` cmake cache variables.
143 …-DCMAKE_C_FLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=address -fsanitize=thread -fno-sanitize…
144 …-DCMAKE_CXX_FLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=address -fsanitize=thread -fno-saniti…
195 $ g++ mybenchmark.cc -std=c++11 -isystem benchmark/include \
196 -Lbenchmark/build/src -lbenchmark -lpthread -o mybenchmark
202 The compiled executable will run all benchmarks by default. Pass the `--help`
207 If using CMake, it is recommended to link against the project-provided