summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Help: Document that VS 2017 compile features are recordedBrad King2017-06-151-1/+1
| | | | | | | They were recorded by commit v3.7.0-rc1~156^2~2 (Features: Record features for VS 15 Preview 4, 2016-09-05). Fixes: #16974
* Help: Fix typo in Cray/PGI/XL compile features docsBrad King2017-06-151-2/+2
| | | | Reported-by: Rolf Eike Beer <eike@sf-mail.de>
* Help: Add docs for new compilers supporting language standards.Chuck Atkins2017-06-141-1/+17
|
* Android: Add support for unified headersBrad King2017-06-122-0/+6
| | | | | | | | The unified headers are preferred as of NDK r15, so use them by default if available and provide an option to use the deprecated headers. Inspired-by: Florent Castelli <florent.castelli@gmail.com> Fixes: #16584
* Autogen: Do not use per-config file suffixes with VS yetBrad King2017-06-071-9/+0
| | | | | | | | | The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file suffixes, 2017-05-15) broke Visual Studio builds because the generators do not yet fully support per-config sources. Disable the behavior on Visual Studio generators for now. Fixes: #16939
* Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-262-4/+20
| | | | | Closes #14760 Closes #14313
* CPack/Archive: per component filenames supportDomen Vrankar2017-05-161-0/+1
| | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* Add options for separate compile and link sysrootsBrad King2017-05-091-0/+2
| | | | | | | | | Add `CMAKE_SYSROOT_COMPILE` and `CMAKE_SYSROOT_LINK` variables to as operation-specific alternatives to `CMAKE_SYSROOT`. This will be useful for Android NDKs that compile and link with different sysroot values (e.g. `r14` with unified headers). Co-Author: Florent Castelli <florent.castelli@gmail.com>
* Features: Record standards and features for SunPro 5.14Brad King2017-05-031-1/+1
| | | | | Oracle Studio 12.5 adds support for C 11 and associated standard flags. It also adds a few more C++ 11 features.
* Add ctest options for limiting which tests fixtures addCraig Scott2017-05-011-0/+17
| | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* CUDA: Static libraries can now explicitly resolve device symbolsRobert Maynard2017-04-261-0/+1
| | | | | | | If a static library has the property CUDA_RESOLVE_DEVICE_SYMBOLS enabled it will now perform the device link step. The normal behavior is to delay calling device link until the static library is consumed by a shared library or an executable.
* Merge topic 'enable_ptx_compilation'Brad King2017-04-211-0/+1
|\ | | | | | | | | | | | | 23691d78 CUDA: Allow sources to be compiled to .ptx files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !725
| * CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-201-0/+1
| | | | | | | | | | When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.
* | Help/dev: Adopt C++ subset rules in coding guideBrad King2017-04-191-24/+0
|/ | | | | | Move the C++ subset rules from the `cmake-developer(7)` into our dedicated coding guide since they do not need to be in user-facing documentation.
* Merge topic 'objlib-extend'Brad King2017-04-193-6/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712
| * Allow OBJECT libraries to be installed, exported, and importedRobert Maynard2017-04-182-3/+5
| | | | | | | | | | | | | | | | Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
| * Genex: Allow TARGET_OBJECTS to be used everywhereRobert Maynard2017-04-182-3/+7
| | | | | | | | | | | | | | | | | | Previously the `TARGET_OBJECTS` generator expression was limited only to use in a buildsystem context so that Xcode's placeholders in object file paths can be evaluated. Lift this restriction so that the expression can at least be used in most settings. Co-Author: Brad King <brad.king@kitware.com>
* | Help: Document CMAKE_MATCH_<n> variablesBrad King2017-04-181-0/+1
| |
* | Support CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>Ruslan Baratov2017-04-171-0/+1
|/
* Merge topic 'project-description'Brad King2017-04-131-0/+2
|\ | | | | | | | | | | | | 3b484871 project: Add `DESCRIPTION` parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !679
| * project: Add `DESCRIPTION` parameterAlex Turbov2017-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is quite often the project description has used in a real world software. Examples include: * part of a help screen of the application * builtin resources (`*.rc` files, data for "About" dialog of a GUI app, & etc) * most generators for CPack can use it * it could be used by documentary software (Doxygen, Sphinx) which is usually integrated to CMake based projects via `add_custom_target()` Now `project()` call learned an optional `DESCRIPTION` parameter with a short string describing a project. Being specified, it would set the `PROJECT_DESCRIPTION` variable which could be used in `configure_file()` or whatever user wants. Also `PROJECT_DESCRIPTION` is a default value for `CPACK_PACKAGE_DESCRIPTION_SUMMARY`.
* | Help: Add note about cmake -E copy not supporting wildcardsTim2017-04-111-1/+1
| | | | | | | | Issue: #16791
* | Merge topic 'clarifyRemoveDocs'Brad King2017-04-101-2/+4
|\ \ | | | | | | | | | | | | | | | | | | 812274ff Help: Clarify what the -f option does for the remove command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !680
| * | Help: Clarify what the -f option does for the remove commandCraig Scott2017-04-101-2/+4
| | | | | | | | | | | | Closes: #16784
| * | Merge branch 'csproj_add_free_source_tags' into releaseBrad King2017-03-022-0/+2
| |\ \
| * \ \ Merge branch 'doc-cmake-language-makefile-vars' into releaseBrad King2017-02-221-0/+6
| |\ \ \
| * \ \ \ Merge branch 'cmake_provide_include_dir_for_toolkit' into releaseBrad King2017-02-131-0/+1
| |\ \ \ \
* | \ \ \ \ Merge topic 'fix-genex-example'Brad King2017-04-051-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ecbe76e Help: Fix error in $<COMPILE_LANGUAGE:lang> example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !667
| * | | | | | Help: Fix error in $<COMPILE_LANGUAGE:lang> exampleNils Gladitz2017-04-041-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'prop-is-multi-config'Brad King2017-04-051-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01826231 Tests: Add case for GENERATOR_IS_MULTI_CONFIG 38fd5866 Add GENERATOR_IS_MULTI_CONFIG global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !657
| * | | | | | Add GENERATOR_IS_MULTI_CONFIG global propertyBastien Schatt2017-04-041-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes: #16768
* | | | | | Rename CMAKE_GCC_{AR,RANLIB} to CMAKE_LANG_COMPILER_{AR,RANLIB}Ruslan Baratov2017-04-031-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | The variables recently added by commit b9d36826 (Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables, 2017-03-08) are more appropriately managed with language-specific names rather than toolchain-specific names.
* | | | | Merge topic '16733-bundle-genex'Brad King2017-03-311-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1dac1ac Xcode: Execute RunCMake.Framework also for Xcode generator d02709d7 Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressions 013ffe76 cmGeneratorTarget: Call GetFrameworkDirectory in GetFullNameInternal 32e9d0ca cmGeneratorTarget: Use enum to describe bundle directory query level Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !635
| * | | | | Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressionsGregor Jasny2017-03-301-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Closes #16733
* | | | | | Merge topic 'ipo-policy-CMP0069'Brad King2017-03-311-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfa8263f Implement interprocedural optimization for GNU compilers 1588a577 Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION a7575700 Refactoring: s,GetFeatureAsBool,IsIPOEnabled, e05835c3 CheckIPOSupported: Visual Studio and Xcode generators do not support IPO Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com> Merge-request: !568
| * | | | | Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATIONRuslan Baratov2017-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the `INTERPROCEDURAL_OPTIMIZATION` target property was honored only for the Intel compiler on Linux and otherwise ignored. In order to add support for more compilers incrementally without changing behavior in the future, add a new policy whose NEW behavior enforces the `INTERPROCEDURAL_OPTIMIZATION` property. Add flags for supported compilers and otherwise produce an error.
* | | | | | Merge topic 'ctest-disable-tests'Brad King2017-03-301-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b070947d Add 'DISABLED' test property 42c68aad CTest: Improve 'Completion Status' reported to CDash for 'Not Run' tests Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !571
| * | | | | | Add 'DISABLED' test propertyBetsy McPhail2017-03-291-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this property is set, the test is skipped and its status is automatically set to 'Not Run'. A disabled test will not be counted in the total number of tests and its completion status will be 'Disabled'.
* | | | | | handle non-existing symlink creation locationsDomen Vrankar2017-03-281-0/+3
|/ / / / /
* | | | | Merge topic 'add-CheckIPOSupported-module'Brad King2017-03-221-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c832674 Tests for 'CheckIPOSupported' module fdb2ba25 CheckIPOSupported: New module to check for compiler/cmake IPO support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !558
| * | | | | CheckIPOSupported: New module to check for compiler/cmake IPO supportRuslan Baratov2017-03-111-0/+1
| | | | | |
* | | | | | Autogen: Add AUTOGEN_SOURCE_GROUP documentationSebastian Holtermann2017-03-161-0/+3
| | | | | |
* | | | | | Help: Move generator toolset support details to variable docsBrad King2017-03-131-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the details about support for generator toolset specification to the `CMAKE_GENERATOR_TOOLSET` variable documentation. This is a more suitable place because it is shared by all means to set this variable, not just the `cmake -T` option.
* | | | | | Help: Move generator platform support details to variable docsBrad King2017-03-131-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the details about support for generator platform specification to the `CMAKE_GENERATOR_PLATFORM` variable documentation. This is a more suitable place because it is shared by all means to set this variable, not just the `cmake -A` option.
* | | | | | Merge topic 'xcode-test-schema-generation'Brad King2017-03-132-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fd9f4ab Xcode: Add test for schema generation cf13e495 Xcode: Control schema generation via variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !577
| * | | | | | Xcode: Control schema generation via variableGregor Jasny2017-03-122-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | Issue: #15441
* | | | | | Merge topic 'cuda-vs'Brad King2017-03-131-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65481a60 CUDA: Work around VS limitation in CudaOnly.WithDefs test 8cae24a1 VS: Add more CUDA flag table entries 6ca4f222 VS: Add support for the CUDA_SEPARABLE_COMPILATION property 94255511 VS: Select CUDA code generation architectures 253594d0 VS: Select the CUDA runtime library 4def02a3 VS: Place CUDA host compiler options in proper project file fields 29f07b08 VS: Do not pass CUDA compile options to C compiler b966f489 VS: Do not use absolute paths to CUDA sources ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !566
| * | | | | VS: Provide an option to specify CUDA toolset versionBrad King2017-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NVIDIA CUDA Toolkit provides MSBuild toolset files for integration with Visual Studio. Multiple versions may be installed so we need a way to tell our VS generators which CUDA toolset to use. Extend the `CMAKE_GENERATOR_TOOLSET` specification to provide a `cuda=...` field specifying the version number.
* | | | | | Merge topic 'pr.gcc_ar'Brad King2017-03-101-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9d36826 Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !550
| * | | | | | Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variablesRuslan Baratov2017-03-081-0/+2
| |/ / / / /