Lines Matching +full:ninja +full:- +full:build
1 # CMake for Tink HOW-TO
6 library using one of the following approaches. At the moment, only the in-tree
9 ## In-tree dependency
14 your top-level CMake script should look like this:
28 * You need at least CMake 3.13 to build Tink and its dependencies.
46 Generate the build directory as you normally would and invoke your build system
51 $ mkdir build && cd build
56 If you have the option, we recommend using [Ninja](https://ninja-build.org/) to
57 build your project:
59 $ cmake -DCMAKE_GENERATOR=Ninja ..
60 $ ninja
65 If you are developing Tink, Bazel is the primary build system, but you should
66 test all your changes with CMake too. Build Tink as a regular CMake project, but
67 enable tests and build the shared library as well:
71 $ mkdir tink-build && cd tink-build
72 $ cmake ../tink -DTINK_BUILD_TESTS=ON -DCMAKE_GENERATOR=Ninja
73 $ ninja
74 $ CTEST_OUTPUT_ON_FAILURE=1 ninja test
75 $ ninja package
80 WARNING: When editing a `BUILD.bazel` file, remember to keep it in sync with the