install — CMake 3.23.0-rc4 Documentation
cmake.org › cmake › helpFor example, if you only want to install the Development component, run cmake-DCOMPONENT=Development-P cmake_install.cmake. BUILD_TYPE. Set this variable to change the build type if you are using a multi-config generator. For example, to install with the Debug configuration, run cmake-DBUILD_TYPE=Debug-P cmake_install.cmake. DESTDIR
Examples - CMake
https://cmake.org/examplesExamples | CMake. The following example demonstrates some key ideas of CMake. Make sure that you have CMake installed prior to running this example (go here for instructions). There are three directories involved. The top level directory has two subdirectories called ./Demo and ./Hello. In the directory ./Hello, a library is built.
Examples - CMake
cmake.org › examplesMake sure that you have CMake installed prior to running this example (go here for instructions). There are three directories involved. The top level directory has two subdirectories called ./Demo and ./Hello. In the directory ./Hello, a library is built. In the directory ./Demo, an executable is built by linking to the library.