summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add target property VS_DEBUGGER_WORKING_DIRECTORYMichael Stürmer2016-11-301-0/+1
|
* Merge topic 'msbuild-customization'Brad King2016-11-301-0/+1
|\ | | | | | | | | e3909918 VS: Add option to customize vcxproj user props file
| * VS: Add option to customize vcxproj user props fileMichael Stürmer2016-11-291-0/+1
| | | | | | | | | | | | Add a `VS_USER_PROPS_CXX` target property to set the user props file of the generated `.vcxproj` file to be something other than the default `$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`.
* | Merge topic 'vs15-rename-generator-for-master'Brad King2016-11-301-1/+1
|\ \ | | | | | | | | | | | | | | | 31e013ae Merge branch 'vs15-rename-generator' into vs15-rename-generator-for-master d639620e VS: Rename VS 15 generator to 'Visual Studio 15 2017'
| * \ Merge branch 'vs15-rename-generator' into vs15-rename-generator-for-masterBrad King2016-11-291-1/+1
| |\ \
| | * | VS: Rename VS 15 generator to 'Visual Studio 15 2017'Roman Wüger2016-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The final name of this VS version was announced: https://blogs.msdn.microsoft.com/visualstudio/2016/11/16/visual-studio-2017-rc/ Add the year to the generator name accordingly. For convenience, map the name without the year to the name with the year.
| | * | Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINEBrad King2016-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
| | * | Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variableBrad King2016-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NDK provides prebuilt toolchain files in directories named for the host architecture. The NDK build system calls this `HOST_TAG`. Expose the value publicly for use by clients that need to pass it to external tools. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
| | * | Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSIONBrad King2016-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this variable is not set by the user or toolchain file, set it to the default selected. This will be useful for client code that needs to pass the value to an external tool that needs to find the same toolchain in the NDK. Leave it empty for a standalone toolchain. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
* | | | Merge topic 'vs-default-build-package'Brad King2016-11-291-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 9e3164df VS: Add option to place `PACKAGE` target in solution default build
| * | | | VS: Add option to place `PACKAGE` target in solution default buildMichael Stürmer2016-11-291-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control this behavior.
* | | | Merge topic 'initial_cuda_language_support'Brad King2016-11-291-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cc601f2 Help: Add release note for CUDA support 7b9131da CUDA: Add tests to verify CUDA compiler works properly. 9cf5b98d CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX. a5e806b3 CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY d038559e CUDA: Add separable compilation support to the makefile generator. 43ce4414 CUDA: Add separable compilation support to the ninja generator. 4b316097 CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property ae05fcc6 CUDA: Add LinkLineComputer that computes cuda dlink lines. 115269a8 CUDA: Refactor cmLinkLineComputer to allow for better derived children. 5dec4031 CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation. 5b20d0ab CUDA: C++ compile features now enable cuda c++11 support. 489c52ce CUDA: Use the host compiler for linking CUDA executables and shared libs. bbaf2434 CUDA: add support for specifying an explicit host compiler. a92f8d96 CUDA: Enable header dependency scanning. ec6ce623 CUDA: State that cuda has preprocessor output and can generate assembly. 4f5155f6 CUDA: We now properly perform CUDA compiler identification. ...
| * | | CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target propertyRobert Maynard2016-11-141-0/+1
| | | |
* | | | Merge topic 'imported-interface-no-system'Brad King2016-11-221-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 46005251 Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
| * | | | Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE librariesBrad King2016-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported INTERFACE libraries can specify include directories via `INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them as system include directories applies. Allow users to turn this off by setting `NO_SYSTEM_FROM_IMPORTED` on such targets. Closes: #16443
* | | | | Merge topic 'doc-CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT'Brad King2016-11-221-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | df9fea7f Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variable
| * | | | Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variableBrad King2016-11-211-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | This variable documentation was simply missing. Suggested-by: Craig Scott <craig.scott@crascit.com>
| * | | Merge branch 'doc-cmake-qt-fixes' into releaseBrad King2016-11-021-1/+1
| |\ \ \
| | * | | Help: Update example Qt 5 find_package call to add missing componentThiago M. de C. Marques2016-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running CMake on it caused the following error: error: Target "publisher" links to target "Qt5::DBus" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Add the missing DBus component.
| | * | | Help: Update example Qt 5 find_package call to use COMPONENTSMarcus D. Hanwell2016-11-021-1/+1
| | | | |
* | | | | Help: Mention IMPORTED_LIBNAME_* in interface library property whitelistBrad King2016-11-211-0/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | This property was added by commit 09cda9d5 (Allow imported INTERFACE libraries to specify a link library name, 2016-11-03) and is in the implementation's whitelist. Add it to the documentation too.
* | | | Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINEBrad King2016-11-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
* | | | Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variableBrad King2016-11-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NDK provides prebuilt toolchain files in directories named for the host architecture. The NDK build system calls this `HOST_TAG`. Expose the value publicly for use by clients that need to pass it to external tools. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
* | | | Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSIONBrad King2016-11-141-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | When this variable is not set by the user or toolchain file, set it to the default selected. This will be useful for client code that needs to pass the value to an external tool that needs to find the same toolchain in the NDK. Leave it empty for a standalone toolchain. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
* | | Allow imported INTERFACE libraries to specify a link library nameBrad King2016-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `IMPORTED_LIBNAME[_<CONFIG>]` target property to specify a library name to be placed on the link line in place of an interface library since it has no library file of its own. Restrict use of the property to imported `INTERFACE` libraries. This will be particularly useful for find modules that need to provide imported libraries from system SDKs where the full path to the library file is not known. Now such find modules will be able to provide an imported interface library and set `IMPORTED_LIBNAME` to refer to the SDK library by name. Issue: #15267
* | | Help: Document language standard meta-featuresBrad King2016-11-021-0/+27
| | |
* | | Help: Update example Qt 5 find_package call to add missing componentThiago M. de C. Marques2016-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running CMake on it caused the following error: error: Target "publisher" links to target "Qt5::DBus" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Add the missing DBus component.
* | | Help: Update example Qt 5 find_package call to use COMPONENTSMarcus D. Hanwell2016-11-011-1/+1
| | |
* | | Merge topic 'st2-env-vars-variable'Brad King2016-11-011-0/+1
|\ \ \ | | | | | | | | | | | | | | | | 95805d72 Sublime: Add option to specify env vars for the .sublime-project
| * | | Sublime: Add option to specify env vars for the .sublime-projectBruno Pedrosa2016-10-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS` variable to control addition of env vars in the `.sublime-project`. Closes: #16387
* | | | Merge topic 'intel-compile-features-windows'Brad King2016-11-011-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 369d5809 Features: Record features for Intel Compiler on Windows a5a3642f Features: Port Intel CXX features to test macros where possible d34ac22f Features: Unset Intel CXX feature temporaries 967dcf36 Intel: Remove incorrect C++98 standard compiler flag on Windows
| * | | | Features: Record features for Intel Compiler on WindowsBrad King2016-10-271-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this compiler always defines `__cplusplus` to `1` we need to use `_MSC_VER`, `__INTEL_CXX11_MODE__`, and the feature test macro named `__cpp_aggregate_nsdmi` to detect C++11 and C++14 modes. With no `-Qstd=` flag this compiler defaults to C++98 plus a subset of C++11/C++14 features needed to be compatible with MSVC. We pretend it is plain C++98 and add a `-Qstd=` flag whenever needed for C++11 or above features even if they would happen to be available in MSVC-mode. Closes: #16384
* | | | Merge topic 'cmake-server-handshake-improvements'Brad King2016-10-281-1/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | 42ccbee1 server-mode: Handle generator toolset and platform in handshake d792491c cmake-server: Better error reporting during handshake
| * | server-mode: Handle generator toolset and platform in handshakeTobias Hunger2016-10-281-1/+3
| | |
* | | Merge topic 'cmake-server-message-quoting'Brad King2016-10-251-54/+54
|\ \ \ | |/ / | | | | | | | | | 9b8dc79c cmake-server: Change message wrapper to avoid ambiguity with content
| * | cmake-server: Change message wrapper to avoid ambiguity with contentBrad King2016-10-241-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change our message wrapper from [== CMake Server ==[ ... ]== CMake Server ==] to [== "CMake Server" ==[ ... ]== "CMake Server" ==] to guarantee that no JSON content can ever contain the ending string (because it would be encoded as `]== \"CMake Server\" ==]`).
* | | Merge topic 'doc-cmake-server-typos'Brad King2016-10-241-81/+48
|\ \ \ | |/ / | | | | | | | | | 48189697 Help: Fix cmake-server documentation
| * | Help: Fix cmake-server documentationTobias Hunger2016-10-211-81/+48
| |/ | | | | | | | | | | Some information was not updated to reflect the latest implementation. Reported-by: Sylvain Joubert <joubert.sy@gmail.com>
* | Merge topic 'vs-host-x64-tools'Brad King2016-10-142-6/+6
|\ \ | | | | | | | | | | | | | | | d079e71c VS: Provide an option to use x64 host tools 779939a0 Help: Document VS and Xcode toolset selection
| * | VS: Provide an option to use x64 host toolsBrad King2016-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio provides toolchains that are themselves built for 32-bit or 64-bit host architectures. By default it uses the 32-bit tools, but it can be told to prefer the 64-bit tools on 64-bit hosts. Extend the `CMAKE_GENERATOR_TOOLSET` specification to provide a way to request use of the 64-bit host tools. Closes: #15622
| * | Help: Document VS and Xcode toolset selectionBrad King2016-10-131-6/+5
| | | | | | | | | | | | | | | | | | Add explicit sections to the individual generator documentation to cover the `cmake -T` option along with the default behavior for each generator.
* | | Sublime: Exclude build tree from source tree project only optionallyBruno Pedrosa2016-10-121-0/+1
|/ / | | | | | | | | | | | | | | Create a `CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE` variable to control addition of the build tree to `folder_exclude_patterns` in the `.sublime-project`. Change the default of this behavior to OFF. Closes: #16351
* | Add a BUILD_RPATH target property specifying build-tree RPATH entriesRuslan Baratov2016-10-032-0/+2
|/ | | | | | Users may need to add custom `RPATH` entries to be able to run binaries from their build tree without setting `LD_LIBRARY_PATH`. Provide a way to do this that does not affect the install-tree `RPATH`.
* Merge topic 'doc-cmake-A-link'Brad King2016-10-011-3/+5
|\ | | | | | | | | 39c898a1 Help: Clarify that `cmake -A` option sets VS IDE target architecture
| * Help: Clarify that `cmake -A` option sets VS IDE target architectureBrad King2016-09-301-3/+5
| |
* | Merge topic 'add-setup-projects-tests-module'Brad King2016-10-011-0/+1
|\ \ | |/ |/| | | | | 130784e0 AndroidTestUtilities: Add module to help drive Android device tests
| * AndroidTestUtilities: Add module to help drive Android device testsSchuyler Kylstra2016-09-301-0/+1
| | | | | | | | | | | | Add a module to manage the data needed for the project tests. It will move the test data to the build directory and transfer necessary data to an Android device if that is enabled.
* | server-mode: Watch CMakeLists.txt filesTobias Hunger2016-09-291-0/+43
| | | | | | | | Watch CMakeLists.txt files (and similar) from the Server
* | server-mode: Report watched files to clientTobias Hunger2016-09-291-0/+23
| | | | | | | | * Add a command to report watched files and directories to clients.
* | server-mode: Report CMakeCache entriesTobias Hunger2016-09-281-0/+36
| | | | | | | | | | With this it would be possible to implement something like cmake-gui using server-mode.