HPX - High Performance ParalleX

PrevUpHomeNext

Frequently used CMake Variables

Here are listed some of the CMake variables that are used often, along with a brief explanation and HPX-specific notes. For full documentation, check the CMake docs or execute cmake --help-variable VARIABLE_NAME.

Frequently used CMake Variables

CMAKE_BUILD_TYPE:STRING

Sets the build type for make based generators. Possible values are Release, Debug, RelWithDebInfo and MinSizeRel. The default value for this variable is Release.

CMAKE_INSTALL_PREFIX:PATH

Path where HPX will be installed if make install is invoked or the INSTALL target is built. The default value for this variable is /opt/hpx (Linux), or C:/Program Files/hpx (Windows).

CMAKE_C_FLAGS:STRING

Extra flags to use when compiling C source files.

CMAKE_CXX_FLAGS:STRING

Extra flags to use when compiling C++ source files.

CMAKE_FORTRAN_FLAGS:STRING

Extra flags to use when compiling Fortran source files.

CMAKE_VERBOSE_MAKEFILE:BOOL

Create verbose makefiles if ON (default: OFF). CMake will produce verbose makefiles that show each command line as it is used.


PrevUpHomeNext