lkproulette.blogg.se

Cmake install prefix windows
Cmake install prefix windows











cmake install prefix windows

If any support libraries are installed in non-default locations, CMake can be instructed where to find them by one of the following methods. First, the option CMAKE_PREFIX_PATH can be set to a colon-separated list of base directories where the libraries are installed, for example -DCMAKE_PREFIX_PATH=/path/where/my/sw/is/installed. For example, using CMAKE_CXX_FLAGS="-O2 -mtune=native" sets options for better optimisation. Further the variable CMAKE_CXX_FLAGS can be used to set compiler flags for optimisation or debugging. This can be overwritten by setting the environment variables CC, CXX and F77, before the call to cmake, to set the preferred compiler.

cmake install prefix windows cmake install prefix windows

The C, C++ and Fortran compilers are chosen by CMake. Additional flags to pass to the C++ compilerĪdditional flags to pass to the C compilerĪdditional flags to pass to the Fortran compiler













Cmake install prefix windows