summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2018-11-151-1/+1
|
* CMake Nightly Date StampKitware Robot2018-11-141-1/+1
|
* Merge topic 'vs-just-my-code-flag-map'Brad King2018-11-131-0/+2
|\ | | | | | | | | | | | | 516c6fc38c VS: Add flag table entry for -JMC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2587
| * VS: Add flag table entry for -JMCTengiz Sharafiev2018-11-101-0/+2
| | | | | | | | | | | | Add support for mapping Just My Code compiler flag Fixes: #18289
* | Merge topic 'colored-ctest-summary'Brad King2018-11-134-16/+92
|\ \ | | | | | | | | | | | | | | | | | | ffdec37a19 CTest: Add colored output on tests summary where supported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2577
| * | CTest: Add colored output on tests summary where supportedSylvain Joubert2018-11-094-16/+92
| |/ | | | | | | | | | | | | | | - Number of passed/failed tests is colored according to the whole outcome - Individual listed tested are colored according to their completion status: * Disabled: blue * Failed: red * Not Run: yellow
* | Merge topic 'if_support_checking_if_cache_var_defined'Brad King2018-11-131-0/+6
|\ \ | | | | | | | | | | | | | | | | | | 1222f02e34 If: Support the 'DEFINED CACHE{}' syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2561
| * | If: Support the 'DEFINED CACHE{}' syntaxRobert Maynard2018-11-091-0/+6
| | |
* | | CMake Nightly Date StampKitware Robot2018-11-131-1/+1
| | |
* | | Merge topic 'pie-link-options'Craig Scott2018-11-1211-24/+240
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4b4d8b3a6 POSITION_INDEPENDENT_CODE: Manage link flags for executables 724a0346f7 POSITION_INDEPENDENT_CODE: Fix erroneous '-fPIE' flag for Sun Studio 023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2465
| * | | POSITION_INDEPENDENT_CODE: Manage link flags for executablesMarc Chevrier2018-11-118-14/+197
| | | | | | | | | | | | | | | | Fixes: #14983, #16561
| * | | INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions supportMarc Chevrier2018-11-084-10/+43
| | | | | | | | | | | | | | | | Fixes: #16532
* | | | Merge topic 'autogen_global_target'Brad King2018-11-126-68/+272
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e97ef74d8 Autogen: Add release notes for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 2ef8fe2222 Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 8c8731b422 Autogen: Add test for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 3baa817c34 Autogen: Add support for global ``autogen`` and ``autorcc`` targets 3327d3bb20 Autogen: Add cmQtAutoGenGlobalInitializer class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2567
| * | | | Autogen: Add support for global ``autogen`` and ``autorcc`` targetsSebastian Holtermann2018-11-114-16/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This teaches CMake the variables - CMAKE_GLOBAL_AUTOGEN_TARGET - CMAKE_GLOBAL_AUTOGEN_TARGET_NAME - CMAKE_GLOBAL_AUTORCC_TARGET - CMAKE_GLOBAL_AUTORCC_TARGET_NAME which control the generation of global ``autogen`` and ``autorcc`` targets. Closes #17721
| * | | | Autogen: Add cmQtAutoGenGlobalInitializer classSebastian Holtermann2018-11-114-59/+115
| | | | | | | | | | | | | | | | | | | | | | | | | This moves the global ``AUTOMOC/UIC/RCC`` targets initializer generation code into a separate new ``cmQtAutoGenGlobalInitializer`` class.
* | | | | CMake Nightly Date StampKitware Robot2018-11-121-1/+1
|/ / / /
* | | | CMake Nightly Date StampKitware Robot2018-11-111-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-11-101-1/+1
| |_|/ |/| |
* | | Merge topic 'cpack-improve-unknown-generator-error'Brad King2018-11-091-2/+16
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | f29e2292c9 cpack: When given an unknown generator print out all valid generators eba7273c20 cpack: Better error message when generator doesn't exist. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: David Cole <dlrdave@aol.com> Merge-request: !2580
| * | cpack: When given an unknown generator print out all valid generatorsRobert Maynard2018-11-091-1/+14
| | | | | | | | | | | | This makes cpack behavior match cmake when passed an invalid generator
| * | cpack: Better error message when generator doesn't exist.Robert Maynard2018-11-081-2/+3
| |/ | | | | | | | | | | Currently the CPack error message when passed an invalid generator name reads like the generator failed to work, rather than the name was invalid.
* | CMake Nightly Date StampKitware Robot2018-11-091-1/+1
|/
* Merge topic 'install-defaults'Brad King2018-11-084-79/+327
|\ | | | | | | | | | | | | | | | | | | fdcd559a8e Help: Add documentation and release notes for install 9fc20a4f3e install: Add sane set of defaults for DESTINATION and file type parameters Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !2558
| * install: Add sane set of defaults for DESTINATION and file type parametersKyle Edwards2018-11-074-79/+327
| | | | | | | | | | | | | | | | | | | | | | | | If the user does not specify a DESTINATION for a target type, the install() command checks to see if the appropriate variable from GNUInstallDirs is set. If it is not, then it uses an appropriate hard-coded guess. In addition, for FILES and DIRECTORY, the user can specify a file type instead of a DESTINATION, and the command will use the appropriate variable from GNUInstallDirs, or a hard-coded guess if it is not set.
* | CMake Nightly Date StampKitware Robot2018-11-081-1/+1
|/
* Merge topic 'string_func_usage'Brad King2018-11-0733-88/+82
|\ | | | | | | | | | | | | c67ab22cdc Using front() and back() instead of calculations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2571
| * Using front() and back() instead of calculationsCengizhan Pasaoglu2018-11-0633-88/+82
| |
* | Merge topic 'fix-double-warn-uninitialized-in-script-mode'Brad King2018-11-072-6/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 53a5aec899 CMP0053: Fix double warning on uninitialized variables in -P mode f92f93467e cmMakefile: Rename SuppressWatches to SuppressSideEffects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2565
| * | CMP0053: Fix double warning on uninitialized variables in -P modeR2RT2018-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When `CMP0053` is not set to OLD or NEW then we compute both variants in case we need to warn about a behavior change. Do not allow both code paths to produce an uninitialized variable warning. Fixes: #18552
| * | cmMakefile: Rename SuppressWatches to SuppressSideEffectsR2RT2018-11-052-5/+5
| | |
* | | CMake Nightly Date StampKitware Robot2018-11-071-1/+1
| |/ |/|
* | Merge topic 'autogen_origin_depends'Brad King2018-11-063-3/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47f9c15c60 Autogen: Update <ORIGIN>_autogen target documentation 336893d9eb Autogen: Separate AUTOGEN_TARGET_DEPENDS tests into own tests suite 846043dd35 Autogen: Rename MocDepends test to AutogenOriginDependsOn b71a9598a4 Autogen: Add test for AUTOGEN_ORIGIN_DEPENDS=OFF f74c406501 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS release notes 0669de5d36 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS documentation b5e895b5d4 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2518
| * | Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS supportSebastian Holtermann2018-11-033-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds - the variable ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` which initializes - the target property ``AUTOGEN_ORIGIN_DEPENDS`` which controls whether or not the origin target dependencies should be forwarded to the corresponding ``_autogen`` target. The default value of ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` is ``ON`` which corresponds to the behavior that is in place since CMake 3.9. Closes: #18493
* | | Merge topic 'rename-cpack-ext-generator'Brad King2018-11-064-39/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 20d5e77a27 CPack: Rename Ext generator to External Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2566
| * | | CPack: Rename Ext generator to ExternalCraig Scott2018-11-054-39/+41
| | | | | | | | | | | | | | | | | | | | Ext and External were used inconsistently in the code and the docs. This change converts all uses of Ext to External, including within variable names used by the generator.
* | | | CMake Nightly Date StampKitware Robot2018-11-061-1/+1
| | | |
* | | | Merge topic 'lwyu-hides-link-error'Brad King2018-11-051-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85aceda026 cmNinjaNormalTargetGenerator: don't use `|| true` for link-what-you-use Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2546
| * | | | cmNinjaNormalTargetGenerator: don't use `|| true` for link-what-you-useBen Boeckel2018-11-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the `|| true`, a linker error before running link-what-you-use would also use the `|| true` fragment and unconditionally succeed. Just skip the addition since `--lwyu=` ignores the return value anyways. Fixes #18524
* | | | | Merge topic 'custom-command-work-dir-genex'Brad King2018-11-053-13/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98d59417b0 add_custom_{command,target}: Fix WORKING_DIRECTORY leading genex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2559
| * | | | | add_custom_{command,target}: Fix WORKING_DIRECTORY leading genexBrad King2018-11-033-13/+6
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.13.0-rc1~39^2 (add_custom_{command,target}: WORKING_DIRECTORY generator expressions, 2018-09-22) the `WORKING_DIRECTORY` option accepts generator expressions. Fix support for the case of a leading generator expression by deferring conversion to an absolute path until after evaluation of the generator expression. Fixes: #18543
* | | | | CMake Nightly Date StampKitware Robot2018-11-051-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2018-11-041-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2018-11-031-1/+1
| | |
* | | Merge topic 'msvc-custom-rc-mt'Brad King2018-11-023-4/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd9bfc6449 MSVC: Respect CMAKE_RC_COMPILER and CMAKE_MT in vs_link_{dll,exe} 0033676796 CUDA: Enable RC language on Windows 02f566a559 MSVC: Factor out enable_language(RC) call into helper macro b601bb6f1c CUDA: Find CMAKE_LINKER on Windows 3eebe28ef4 cmLocalNinjaGenerator: Simplify CreateRulePlaceholderExpander Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2424
| * | | MSVC: Respect CMAKE_RC_COMPILER and CMAKE_MT in vs_link_{dll,exe}Mateusz Zych2018-10-292-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake commands vs_link_dll and vs_link_exe, performing linking on MSVC, are responsible for calling resource compiler and manifest tool. Before this commit, both of these tools were called directly, with the expectation that they are available in the `PATH`. This has been fixed by respecting CMake variables `CMAKE_RC_COMPILER` and `CMAKE_MT` defining paths to these tools. Fixes: #17804
| * | | cmLocalNinjaGenerator: Simplify CreateRulePlaceholderExpanderMateusz Zych2018-10-261-2/+2
| | | | | | | | | | | | | | | | Re-use the derived class implementation instead of duplicating it.
* | | | Merge topic 'check-keywords-only-if-used'Brad King2018-11-021-10/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4babc9058a cmTargetPropCommandBase: check keywords after parsing 45a49ae58a cmTargetPropCommandBase: simplify code path 9f64974f5e cmTargetPropCommandBase: skip property setting if there's nothing to add 4201a11c2b Tests: add tests for empty-value keyword arguments in target_* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2514
| * | | | cmTargetPropCommandBase: check keywords after parsingBen Boeckel2018-10-261-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following was disallowed: add_library(iface INTERFACE) target_link_libraries(iface PUBLIC) just due to the mention of the `PUBLIC` keyword. Instead, only error if there are actually `PUBLIC` dependencies specified (and analogously for other restrictions). Update tests to expect this new behavior.
| * | | | cmTargetPropCommandBase: simplify code pathBen Boeckel2018-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | The outside of the loop does the same return expression.
| * | | | cmTargetPropCommandBase: skip property setting if there's nothing to addBen Boeckel2018-10-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some target types don't allow setting certain properties even if there is no value being set there. Guard against this by avoiding property setting when there is nothing to add.