summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge topic 'backtrace-gen-values'Brad King2018-10-227-153/+377
|\ | | | | | | | | | | | | | | | | dd4f8b2a48 install: Record TARGET mode backtraces internally 753ab3c978 Add generator APIs to get build settings with backtraces 52311484dd cmLocalGenerator: Make MoveSystemIncludesToEnd file-local Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2502
| * install: Record TARGET mode backtraces internallyBrad King2018-10-183-33/+43
| |
| * Add generator APIs to get build settings with backtracesBrad King2018-10-184-112/+329
| | | | | | | | | | | | In cmGeneratorTarget and cmLocalGenerator we offer several APIs to get build settings like include directories, compile definitions, source files, etc. Add corresponding APIs that include backtrace information.
| * cmLocalGenerator: Make MoveSystemIncludesToEnd file-localBrad King2018-10-182-9/+6
| |
* | Merge topic 'update-kwsys'Brad King2018-10-222-1/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | a833c24ceb Merge branch 'upstream-KWSys' into update-kwsys 43cb257648 KWSys 2018-10-19 (c2f29d2e) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2506
| * | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-10-192-1/+6
| | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-10-19 (c2f29d2e)
* | | CMake Nightly Date StampKitware Robot2018-10-221-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-10-211-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-10-201-1/+1
| | |
* | | Merge topic 'target-depend-backtraces'Brad King2018-10-1921-106/+173
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | dacbb41455 Track backtraces in target dependencies internally a6e02f881d add_dependencies: Track backtraces internally a093b1a4f3 cmLinkItem: Add backtrace e022e2d873 cmListFileCache: Add ExpandListWithBacktrace helper f1dd0eeaaf cmListFileCache: Add wrapper template for values with a backtrace Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2498
| * | Track backtraces in target dependencies internallyBrad King2018-10-186-19/+50
| | | | | | | | | | | | | | | Carry backtraces on target dependency edges to refer to the line in project code that caused the edge to appear.
| * | add_dependencies: Track backtraces internallyBrad King2018-10-1811-54/+38
| | | | | | | | | | | | | | | Record backtraces for "utility" dependencies created by `add_dependencies` calls.
| * | cmLinkItem: Add backtraceBrad King2018-10-186-37/+39
| | | | | | | | | | | | | | | | | | Carry a backtrace on every link item, not just link implementation items. For now the non-impl items will still have empty backtraces at runtime, but this will allow us to introduce values over time.
| * | cmListFileCache: Add ExpandListWithBacktrace helperBrad King2018-10-172-0/+16
| | |
| * | cmListFileCache: Add wrapper template for values with a backtraceBrad King2018-10-172-1/+35
| | |
* | | CMake Nightly Date StampKitware Robot2018-10-191-1/+1
| | |
* | | Merge topic 'revert-server-iface-sources'Brad King2018-10-183-182/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 284a38e42f cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2495
| * | | cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES"Brad King2018-10-173-182/+40
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.13.0-rc1~144^2 (cmake-server: Support codemodel filegroups for INTERFACE_SOURCES, 2018-08-10). The changes activate code paths not meant to be used with interface libraries. Another approach will be needed to expose this information later. This revert has to be done by hand because the code in question has been changed somewhat since the changes were made, and was also factored out to another source file. Fixes: #18463
* | | CMake Nightly Date StampKitware Robot2018-10-181-1/+1
| |/ |/|
* | Merge topic 'better-empty-list-behavior'Brad King2018-10-171-24/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 121a036f73 cmListCommand: handle empty lists for list(REMOVE_AT) acfe53c588 cmListCommand: make list(ACTION not_a_list) succeed when idempotent bf572ac952 cmListCommand: check list(FILTER) operation before the list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2478
| * | cmListCommand: handle empty lists for list(REMOVE_AT)Ben Boeckel2018-10-161-7/+11
| | | | | | | | | | | | | | | Treat an empty list as a list with no valid bounds and return an error message indicating that any given indices are out-of-bounds.
| * | cmListCommand: make list(ACTION not_a_list) succeed when idempotentBen Boeckel2018-10-161-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The operations changed here all are no-ops on empty lists anyways, so just have them succeed when given non-extant lists. - `list(REMOVE_ITEM)` - `list(REMOVE_DUPLICATES)` - `list(SORT)` - `list(FILTER)` - `list(REVERSE)`
| * | cmListCommand: check list(FILTER) operation before the listBen Boeckel2018-10-111-8/+8
| | | | | | | | | | | | | | | A future commit will make the not-a-list case a success, but invalid operations should still be diagnosed in that case.
* | | Merge topic 'gem-string'Brad King2018-10-176-13/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b8bb6ba653 cmGeneratorTarget::GetExportMacro: return const std::string* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2485
| * | | cmGeneratorTarget::GetExportMacro: return const std::string*Vitaly Stakhovsky2018-10-166-13/+15
| | | |
* | | | Merge topic 'ctor-remove'Brad King2018-10-172-18/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d543eb2260 cmCustomCommand: remove the default constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !2486
| * | | | cmCustomCommand: remove the default constructorVitaly Stakhovsky2018-10-142-18/+5
| |/ / / | | | | | | | | | | | | Unused; no longer mandated by STL
* | | | Merge topic 'vs-improve'Brad King2018-10-172-46/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1601388212 cmVisualStudio10TargetGenerator: Code improvement Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2484
| * | | | cmVisualStudio10TargetGenerator: Code improvementVitaly Stakhovsky2018-10-142-46/+31
| |/ / / | | | | | | | | | | | | Disallow incompletely initialized Elem objects
* | | | Merge topic 'ctest-coverage-gtm-percent'Brad King2018-10-171-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d92deff4 CTest: Fix GTM coverage handling of entry point named "%" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2489
| * | | | CTest: Fix GTM coverage handling of entry point named "%"Joseph Snyder2018-10-161-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the "%" character from the name of the routine in the line parser causes CTest to be unable to find a routine entry point that is only named "%". Instead leave it during line parsing and handle routine names ending in "%" explicitly when loading files.
* | | | | CMake Nightly Date StampKitware Robot2018-10-171-1/+1
| | | | |
* | | | | Merge topic 'ctest_done_bug_fix'Brad King2018-10-161-1/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60ca88d726 ctest_submit: Generate Done.xml at submit time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2477
| * | | | | ctest_submit: Generate Done.xml at submit timeZack Galbreath2018-10-151-1/+11
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where calling `ctest_submit()` would result in a Done.xml file with an empty <buildId> element. CDash responds with a buildId when CTest submits a file. For this reason, Done.xml needs to generated after CTest has submitted some other file to CDash. This change also has the benefit of making Done.xml's timestamp as late as possible, giving us a more accurate record of how long the entire build took to complete.
* | | | | CMake Nightly Date StampKitware Robot2018-10-161-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2018-10-151-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2018-10-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-10-131-1/+1
| | |
* | | Merge topic 'cppcheck-exit-code'Brad King2018-10-121-3/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3b80cd77fb Fail the build if cppcheck returns a non-zero exit code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2459
| * | | Fail the build if cppcheck returns a non-zero exit codeHarald Brinkmann2018-10-111-3/+7
| | | | | | | | | | | | | | | | | | | | This allows the build failure to be tuned with cppcheck's options --error-exitcode=<n> and --exitcode-suppressions=<file>.
* | | | Merge topic 'revert-install-code-script-genex'Brad King2018-10-122-44/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd0e40f166 Merge branch 'backport-revert-install-code-script-genex' into revert-install-code-script-genex 0f48fbaa72 install: Revert CODE,SCRIPT support for generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2474
| * \ \ \ Merge branch 'backport-revert-install-code-script-genex' into ↵Brad King2018-10-112-44/+9
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | revert-install-code-script-genex
| | * | | install: Revert CODE,SCRIPT support for generator expressionsBrad King2018-10-112-44/+9
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.13.0-rc1~441^2 (install: Teach CODE,SCRIPT modes to evaluate generator expressions, 2018-05-29). Unfortunately it has been found to break existing code in a real project, e.g. install(CODE [[ message("$<FOOBAR>") ]]) Address this regression by reverting support for the 3.13 release series. Support can be restored later with a policy for compatibility. Issue: #15785 Fixes: #18435
* | | | CMake Nightly Date StampKitware Robot2018-10-121-1/+1
|/ / /
* | | Merge topic 'remove-AddCompileDefinitions'Brad King2018-10-116-31/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8f076acdb0 cmLocalGenerator: Remove AddCompileDefinitions method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2470
| * | | cmLocalGenerator: Remove AddCompileDefinitions methodBrad King2018-10-106-31/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This method offers the same definitions as `GetTargetDefines` except that it excludes the "export" macro on shared libraries. Update call sites to use `GetTargetDefines` instead. Some of them were incorrectly excluding the export macro.
* | | | Merge topic 'vs-cuda-pdb'Brad King2018-10-111-7/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | faf3d7d224 VS: Add workaround for CUDA compiler PDB location with space 592064e026 VS: Drop workaround for CUDA compiler PDB location on CUDA 9.2+ fb378fc4d7 Tests: Fix Cuda test project names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2473
| * | | | VS: Add workaround for CUDA compiler PDB location with spaceBrad King2018-10-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CUDA Toolkit Visual Studio Integration for version 9.2 and above does honor the `ClCompile.ProgramDataBaseFileName` field when telling `nvcc` how to invoke `cl`. Unfortunately it does not quote paths with spaces correctly: -Xcompiler "... /Fd"C:\path\with space\foo.pdb" ..." Work around this by converting the PDB location to a relative path. Likely we could always do this, but for now make a minimal change just for CUDA support. Fixes: #18440