jhtama.blogg.se

What is installation directory
What is installation directory




what is installation directory

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.

what is installation directory

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. The C, C++ and Fortran compilers are chosen by CMake.

what is installation directory

Additional flags to pass to the C++ compilerĪdditional flags to pass to the C compilerĪdditional flags to pass to the Fortran compiler






What is installation directory