mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
While we already support `cmake --build . -- -j`, the options after `--` are specific to the native build tool. Add new options `--parallel [<N>]` and `-j [<N>]` to abstract this and map to the proper option for the native build tool.
57 lines
1.1 KiB
ReStructuredText
57 lines
1.1 KiB
ReStructuredText
.. cmake-manual-description: CMake Environment Variables Reference
|
|
|
|
cmake-env-variables(7)
|
|
**********************
|
|
|
|
.. only:: html
|
|
|
|
.. contents::
|
|
|
|
Environment Variables that Control the Build
|
|
============================================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
/envvar/CMAKE_BUILD_PARALLEL_LEVEL
|
|
/envvar/CMAKE_CONFIG_TYPE
|
|
/envvar/CMAKE_MSVCIDE_RUN_PATH
|
|
/envvar/CMAKE_OSX_ARCHITECTURES
|
|
/envvar/DESTDIR
|
|
/envvar/LDFLAGS
|
|
/envvar/MACOSX_DEPLOYMENT_TARGET
|
|
|
|
Environment Variables for Languages
|
|
===================================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
/envvar/ASM_DIALECT
|
|
/envvar/ASM_DIALECTFLAGS
|
|
/envvar/CC
|
|
/envvar/CFLAGS
|
|
/envvar/CSFLAGS
|
|
/envvar/CUDACXX
|
|
/envvar/CUDAFLAGS
|
|
/envvar/CUDAHOSTCXX
|
|
/envvar/CXX
|
|
/envvar/CXXFLAGS
|
|
/envvar/FC
|
|
/envvar/FFLAGS
|
|
/envvar/RC
|
|
/envvar/RCFLAGS
|
|
|
|
Environment Variables for CTest
|
|
===============================
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
/envvar/CMAKE_CONFIG_TYPE
|
|
/envvar/CTEST_INTERACTIVE_DEBUG_MODE
|
|
/envvar/CTEST_OUTPUT_ON_FAILURE
|
|
/envvar/CTEST_PARALLEL_LEVEL
|
|
/envvar/CTEST_USE_LAUNCHERS_DEFAULT
|
|
/envvar/DASHBOARD_TEST_FROM_CTEST
|