![]() This method is therefore useful if many support libraries are installed into the same location. CMake will check these directories for any package it requires. 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. The C, C++ and Fortran compilers are chosen by CMake. Using the LibraryĮxamples on how to use the SoPlex library are provided in the files src/soplexmain.cpp and src/ flags to pass to the C++ compilerĪdditional flags to pass to the C compilerĪdditional flags to pass to the Fortran compiler Note for building SCIP with SoPlex: If SoPlex was built with GMP, then SCIP also needs to be built with GMP (default). If you use a different build system than the provided Makefile and want to build with GMP support, you need to define SOPLEX_WITH_GMP for the preprocessor and link with the GMP callable library. If GMP is not available, you can deactivate it by building with make COMP= OPT= GMP=false. The first: apt-get, deb packages, and source packages.
0 Comments
Leave a Reply. |