summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* xcode: Add XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING propertyGregor Jasny2019-10-013-2/+27
|
* CMake Nightly Date StampKitware Robot2019-09-291-1/+1
|
* CMake Nightly Date StampKitware Robot2019-09-281-1/+1
|
* Merge topic 'decompose-custom-command-creation'Brad King2019-09-2716-230/+313
|\ | | | | | | | | | | | | | | | | | | 5a06efda05 cmMakefile: Remove AddUtilityCommand overload without byproducts ea1bed34b2 cmMakefile: Extract utilities used for creation of custom commands 91abf9f3c4 cmCustomCommand: Move custom commands f151a57705 cmMakefile: Move enumerations into new header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3846
| * cmMakefile: Remove AddUtilityCommand overload without byproductsDaniel Eiband2019-09-266-38/+21
| |
| * cmMakefile: Extract utilities used for creation of custom commandsDaniel Eiband2019-09-263-130/+192
| | | | | | | | Decompose creation of custom commands further into logical steps.
| * cmCustomCommand: Move custom commandsDaniel Eiband2019-09-265-5/+23
| |
| * cmMakefile: Move enumerations into new headerDaniel Eiband2019-09-2614-73/+93
| | | | | | | | The enumerations will also be used in cmLocalGenerator.
* | Merge topic 'free-target-commands'Brad King2019-09-2719-502/+368
|\ \ | | | | | | | | | | | | | | | | | | 9d1a1bc495 cmTarget*: Port away from cmCommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3799
| * | cmTarget*: Port away from cmCommandRegina Pfeifer2019-09-2619-502/+368
| | |
* | | Merge topic 'fileapiSourcePropertyBacktraces'Brad King2019-09-273-24/+142
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b84c046fa fileapi: add some source property backtraces c71ac889ba cmSourceFile: Add backtraces for a few source properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3861
| * | | fileapi: add some source property backtracesJustin Goshi2019-09-261-22/+44
| | | | | | | | | | | | | | | | | | | | Support backtraces for COMPILE_DEFINITIONS, COMPILE_OPTIONS, and INCLUDE_DIRECTORIES source properties.
| * | | cmSourceFile: Add backtraces for a few source propertiesJustin Goshi2019-09-262-2/+98
| | | | | | | | | | | | | | | | | | | | Adding backtrace support for INCLUDE_DIRECTORIES, COMPILE_OPTIONS, and COMPILE_DEFINITIONS.
* | | | CMake Nightly Date StampKitware Robot2019-09-271-1/+1
|/ / /
* | | Merge topic 'vs-ReferenceOutputAssembly-conditions'Brad King2019-09-261-26/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 4dc8c153ec Tests: Teach VSWinStorePhone to verify the content of generated xap 481070a78a Tests: Teach VSWinStorePhone to verify the content of generated appx/msix acdb326610 VS: Do not reference output assemblies of targets with no output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3778
| * | VS: Do not reference output assemblies of targets with no outputVedran Vujinovic2019-09-191-26/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our logic that sets `ReferenceOutputAssembly` in `ProjectReference` has accumulated a series of conditions for different cases in which the referenced target has no output. Simplify the condition to check `GetManagedType` directly for cases with no output. This will explicitly turn off `ReferenceOutputAssembly` in `ProjectReference` for utility (i.e. `add_custom_target`) and special targets (i.e. `ZERO_CHECK`, etc.), and allowing reference of target dependencies that produce some output. Fixes: #19665
* | | Merge topic 'autogen_json'Brad King2019-09-2611-950/+1139
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d867e05892 Autogen: Use JSON instead of CMake script for info files 881e3cfbf9 Autogen: Variable renames and cleanups fc36f4410b Autogen: Inline GetKnownQtVersions function 1f0d23546d Autogen: Return unsigned int from GetParallelCPUCount() 6a05bd3fa6 cm/algorithm: Provide function cm::clamp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3859
| * | | Autogen: Use JSON instead of CMake script for info filesSebastian Holtermann2019-09-2510-861/+1051
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to store information for the _autogen target in a CMake script file AutogenInfo.cmake, which was imported by a temporary cmake instance in the _autogen target. This introduced the overhead of creating a temporary cmake instance and inherited the limitations of the CMake language which only supports lists. This patch introduces JSON files to pass information to AUTORCC and autogen_ targets. JSON files are more flexible for passing data, e.g. they support nested lists. The patch has the side effects that - AutogenInfo.cmake is renamed to AutogenInfo.json - AutogenOldSettings.txt is renamed to AutogenUsed.txt - RCC<qrcBaseName><checksum>Info.cmake is renamed to AutoRcc_<qrcBaseName>_<checksum>_Info.json - RCC<qrcBaseName><checksum>.lock is renamed to AutoRcc_<qrcBaseName>_<checksum>_Lock.lock - RCC<qrcBaseName><checksum>Settings.txt is renamed to AutoRcc_<qrcBaseName>_<checksum>_Used.txt
| * | | Autogen: Variable renames and cleanupsSebastian Holtermann2019-09-256-59/+63
| | | |
| * | | Autogen: Inline GetKnownQtVersions functionSebastian Holtermann2019-09-251-49/+45
| | | |
| * | | Autogen: Return unsigned int from GetParallelCPUCount()Sebastian Holtermann2019-09-251-6/+5
| | | |
* | | | Merge topic 'pch-export'Brad King2019-09-261-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c54448e185 PCH: Propagate INTERFACE_PRECOMPILE_HEADERS in install(EXPORT) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !3862
| * | | | PCH: Propagate INTERFACE_PRECOMPILE_HEADERS in install(EXPORT)Brad King2019-09-251-0/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left out of commit 0467a2f91b (PCH: add PRECOMPILE_HEADERS to special properties, 2015-03-12). Also add a test case for `install(EXPORT)` and `export()` propagation of precompiled headers. Fixes: #19741
* | | | Merge topic 'fix-vsmacro-access-violation'Brad King2019-09-264-19/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7847fef510 VS: Fix access violation when calling Visual Studio macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3853
| * | | | VS: Fix access violation when calling Visual Studio macroDaniel Eiband2019-09-244-19/+18
| | | | | | | | | | | | | | | | | | | | Fixes: #19730
* | | | | Merge topic 'add-custom-target-byproduct-checks'Brad King2019-09-265-34/+68
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd3a394614 add_custom_command: Format files in error message in a single line a1cc6b4447 add_custom_target: Add output checks for custom target byproducts cbb861ade8 add_custom_command: Add tests for custom command output checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3850
| * | | | | add_custom_command: Format files in error message in a single lineDaniel Eiband2019-09-232-4/+4
| | | | | |
| * | | | | add_custom_target: Add output checks for custom target byproductsDaniel Eiband2019-09-235-32/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the output checks for byproducts of add_custom_command also for byproducts of add_custom_target.
| * | | | | add_custom_command: Add tests for custom command output checksDaniel Eiband2019-09-231-2/+2
| |/ / / /
* | | | | Merge topic 'ctest-argument-parser'Kyle Edwards2019-09-2620-547/+289
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aa8a2ab8b cmCTest*Command: Port to cmArgumentParser d5a6a13368 cmArgumentParser: Record parsed keywords Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3835
| * | | | | cmCTest*Command: Port to cmArgumentParserRegina Pfeifer2019-09-2018-539/+270
| | | | | |
| * | | | | cmArgumentParser: Record parsed keywordsRegina Pfeifer2019-09-202-8/+19
| | | | | |
* | | | | | Merge topic 'vs-16.4-custom-commands'Brad King2019-09-252-3/+17
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0578239d3a VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3860
| * | | | | VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputsBrad King2019-09-242-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 16.4 introduces an additional check on `CustomBuild` rules that warns if the outputs of the command are not created. However, CMake supports marking outputs with the `SYMBOLIC` property to indicate that they will not actually be generated. That property is used by Makefile and Ninja generators but has not been needed by the VS generators before. Teach the VS generator to disable `VerifyInputsAndOutputsExist` in custom build rules that have a symbolic output. Fixes: #19737
| * | | | | CMake 3.15.3v3.15.3Brad King2019-09-041-1/+1
| | | | | |
| * | | | | Merge branch 'fileapi-CMP0037-OLD' into release-3.15Brad King2019-08-301-0/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3760
| * \ \ \ \ \ Merge branch 'backport-find-no-name' into release-3.15Brad King2019-08-281-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3751
| * \ \ \ \ \ \ Merge branch 'autogen_fix_use_after_move' into release-3.15Brad King2019-08-272-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3745
| * \ \ \ \ \ \ \ Merge branch 'alpine-cpu_zero' into release-3.15Brad King2019-08-271-0/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3740
| * \ \ \ \ \ \ \ \ Merge branch 'cmGlobalGenerator-compilerId-lifetime' into release-3.15Brad King2019-08-271-7/+4
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3741
| * \ \ \ \ \ \ \ \ \ Merge branch 'ninja_additional_clean_files_custom_target' into release-3.15Brad King2019-08-272-0/+4
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3739
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'ctest-json-REQUIRED_FILES' into release-3.15Brad King2019-08-221-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3719
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2019-09-251-1/+1
| |_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'pch-relative-includes'Brad King2019-09-242-1/+49
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acb9511044 Precompile headers: Treat headers as relative to current source directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3840
| * | | | | | | | | | | | Precompile headers: Treat headers as relative to current source directoryCristian Adam2019-09-232-1/+49
| | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach `target_precompile_headers` to treat relative paths the same way as `target_sources`. Fixes: #19733
* | | | | | | | | | | | Merge topic 'add-genex-evaluate-utility'Brad King2019-09-2424-274/+198
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7dcf9cb83c cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utility c7c59dae82 cmCustomCommandGenerator: Replace generator expression member c12222db86 cmGeneratorExpression: Remove Evaluate overload by parameter re-ordering 1811411fec cmGeneratorExpression: Move quiet flag to cmCompiledGeneratorExpression edb0bbd18b cmGeneratorTarget: Remove unused virtual signature of TargetPropertyEntry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3852
| * | | | | | | | | | | | cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utilityDaniel Eiband2019-09-2317-158/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmGeneratorExpression::Evaluate is a shortcut when only the evaluated string is needed or an instance of cmCompiledGeneratorExpression cannot be cached. Fixes: #19686
| * | | | | | | | | | | | cmCustomCommandGenerator: Replace generator expression memberDaniel Eiband2019-09-222-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace generator expression member variable by stack variable in the constructor.
| * | | | | | | | | | | | cmGeneratorExpression: Remove Evaluate overload by parameter re-orderingDaniel Eiband2019-09-226-37/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify by re-ordering parameters of cmCompiledGeneratorExpression::Evaluate so that frequently used parameters are before less frequently used parameters. This allows with little extra arguments to get rid of one Evaluate overload, which makes it easier to implement the cmGeneratorExpression::Evaluate utility. The latter would otherwise need four overloads.
| * | | | | | | | | | | | cmGeneratorExpression: Move quiet flag to cmCompiledGeneratorExpressionDaniel Eiband2019-09-2210-60/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The quiet flag is false for all but one call to Evaluate. Make the quiet flag a setter of cmCompiledGeneratorExpression to be able to remove it from the Evaluate function signature.