summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: introduce function to check if a string is a generator expressionMarc Chevrier2018-09-254-12/+15
|
* CMake Nightly Date StampKitware Robot2018-09-251-1/+1
|
* Merge topic 'server-separate-json'Brad King2018-09-249-833/+917
|\ | | | | | | | | | | | | | | | | | | | | 72b4c2c48a server: Compile json object generation source separately b48165346f server: Split json dictionary into separate header 85be67217b server: Split json object generation into separate source aabce52851 server: factor out json object generation entry points fc43492e44 cmake: Factor json version object construction into helper Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2408
| * server: Compile json object generation source separatelyBrad King2018-09-214-18/+52
| | | | | | | | | | Declare entry points in a dedicated header and compile the source separately instead of including it in the server implementation.
| * server: Split json dictionary into separate headerBrad King2018-09-214-38/+48
| | | | | | | | | | | | Move dictionary entries used by the json object generation code into a separate header. These are distinct from the server-only entries used in the protocol implementation.
| * server: Split json object generation into separate sourceBrad King2018-09-212-801/+821
| | | | | | | | | | | | For now just move the content and `#include` it back in to the original translation unit. That way `git blame` can cleanly track the original lines.
| * server: factor out json object generation entry pointsBrad King2018-09-211-20/+34
| | | | | | | | | | | | | | Make entry points for these that do not reference the server code. For now we leave the "cache" object generation alone because its implementation interleaves error handling and the format may not suitable outside a server response.
| * cmake: Factor json version object construction into helperBrad King2018-09-212-4/+10
| |
* | CMake Nightly Date StampKitware Robot2018-09-241-1/+1
| |
* | CMake Nightly Date StampKitware Robot2018-09-231-1/+1
| |
* | CMake Nightly Date StampKitware Robot2018-09-221-1/+1
|/
* CMake Nightly Date StampKitware Robot2018-09-211-1/+1
|
* Merge topic 'deprecate-policy-old'Craig Scott2018-09-201-1/+1
|\ | | | | | | | | | | | | 0c709cb2a2 Add deprecation warnings for policies CMP0063 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2397
| * Add deprecation warnings for policies CMP0063 and belowBrad King2018-09-171-1/+1
| | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | Merge topic 'bundleutilities-policy'Brad King2018-09-201-1/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | b69159324a Help: Add release notes for new BundleUtilities policy eedd91ab08 BundleUtilities: Disallow inclusion at configure time fd28ea35ca Help: Add note for BundleUtilities usage 3925407e76 Help: Convert BundleUtilities help to block-style comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2379
| * | BundleUtilities: Disallow inclusion at configure timeKyle Edwards2018-09-191-1/+4
| | | | | | | | | | | | | | | | | | This commit adds a new CMake policy, CMP0080, which prohibits the inclusion of BundleUtilities at configure time. The old behavior is to allow the inclusion.
* | | Merge topic 'vs-2015-max-sdk'Brad King2018-09-204-0/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63eb43f131 Tests: Add VSWinStorePhone for VS 15 2017 173d29a379 Tests: Fix VSWinStorePhone to properly identify VS 14 2015 83ddc4d289 VS: Do not select a Windows SDK too high for current VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2388
| * | | VS: Do not select a Windows SDK too high for current VS versionGilles Khouzam2018-09-174-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an internal API for the maximum Windows 10 SDK version supported by a toolset. For Visual Studio 14 2015 that would be the version "10.0.14393.0". Fixes: #17788
* | | | CMake Nightly Date StampKitware Robot2018-09-201-1/+1
| |/ / |/| |
* | | Merge topic 'symlink'Brad King2018-09-193-8/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | afb7f6e4ff cmake: Add '-E create_symlink' support on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2144
| * | | cmake: Add '-E create_symlink' support on WindowsJon Chronopoulos2018-09-183-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The allows `-E create_symlink` to work on Windows. It utilizes `uv_fs_symlink`. I am still unsure exactly which Windows platforms will work without requiring Administrator privileges or needing a user/group with the "Create Symbolic Links" User Rights. It does work with my Windows 10 Pro with Developer Mode turned on. In the test suite check that the symlink either worked or failed with a permissions error. Use recent changes in cmSystemTools::FileExists to check that a symlink is broken.
* | | | Merge topic 'provide_explicit_source_and_build_command_line_options'Brad King2018-09-199-25/+59
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 638f00117a Add release note for the -S and -B options. de962cc00d CMake: Internally uses -S instead of -H to specify source directory a10d63d578 cmake: -S and -B can be used to specify source and build directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2358
| * | | | CMake: Internally uses -S instead of -H to specify source directoryRobert Maynard2018-09-156-10/+10
| | | | |
| * | | | cmake: -S and -B can be used to specify source and build directoriesRobert Maynard2018-09-153-15/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the previously internal option of '-B' and provide a matching source directory option with '-S'. Both '-B', and '-S' can be used independently of each other.
* | | | | Merge topic 'ctest-more_submit_params'Brad King2018-09-191-0/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f530cc54e ctest_submit: pass additional info to CDash Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2380
| * | | | | ctest_submit: pass additional info to CDashZack Galbreath2018-09-171-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specify buildname, site, and buildstamp to CDash upon submission. CDash will use this extra info to assign and report back a buildid.
* | | | | | Merge topic 'fix-getsafedef-stdstring'Brad King2018-09-193-14/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2428422c02 Fix regression in target output file naming logic d686f81e58 Restore possibly regressed CMP0018 logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2402
| * | | | | | Fix regression in target output file naming logicBrad King2018-09-191-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit f4ff60a803 (cmMakefile: Make GetSafeDefinition return std::string const&, 2018-09-05) accidentally changed the logic for target artifact prefix and suffix names such that setting a PREFIX or SUFFIX target property would cause an empty value to be used. Revert that part of the change and use a simpler alternative. Add a test case. Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
| * | | | | | Restore possibly regressed CMP0018 logicBrad King2018-09-192-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit f4ff60a803 (cmMakefile: Make GetSafeDefinition return std::string const&, 2018-09-05) changed the treatment of the empty string in CMP0018 diagnostic logic. Restore the behavior.
* | | | | | | CMake Nightly Date StampKitware Robot2018-09-191-1/+1
| | | | | | |
* | | | | | | Merge topic 'vs-ipo'Brad King2018-09-183-5/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bef80e6623 VS: Do not specify incremental linking if LTCG is enabled 567fabe88e IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual Studio Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2363
| * | | | | | | VS: Do not specify incremental linking if LTCG is enabledBrad King2018-09-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the linker may warn: LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
| * | | | | | | IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual StudioNiels Dekker2018-09-173-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IPO support for Visual Studio (which is referred to by VS as "Link Time Code Generation" and "Whole Program Optimization"), for VS version >= 10. This allows CMake/VS users to enable IPO by setting property `INTERPROCEDURAL_OPTIMIZATION`. Fixes: #16748
* | | | | | | | Merge topic 'link-options'Brad King2018-09-181-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53ad52d66d LINK_OPTIONS: Add missing initialization actions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2395
| * | | | | | | | LINK_OPTIONS: Add missing initialization actionsMarc Chevrier2018-09-171-0/+3
| | | | | | | | |
* | | | | | | | | Merge topic 'getsafedef-stdstring'Brad King2018-09-1825-97/+99
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4ff60a803 cmMakefile: Make GetSafeDefinition return std::string const& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2350
| * | | | | | | | cmMakefile: Make GetSafeDefinition return std::string const&Vitaly Stakhovsky2018-09-1825-97/+99
| | |_|/ / / / / | |/| | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2018-09-181-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'link-options'Brad King2018-09-171-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6da8b67c3f target_link_options: fix erroneous handling of BEFORE keyword. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2384
| * | | | | | | target_link_options: fix erroneous handling of BEFORE keyword.Marc Chevrier2018-09-141-2/+2
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge topic 'update-kwsys'Brad King2018-09-172-5/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49e7a82c90 Merge branch 'upstream-KWSys' into update-kwsys b13c8526b1 KWSys 2018-09-14 (1809bedd) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2385
| * | | | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-09-142-5/+5
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-09-14 (1809bedd)
* | | | | | | CMake Nightly Date StampKitware Robot2018-09-171-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-09-161-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-09-151-1/+1
|/ / / / / /
* | | | | | Merge topic 'out-of-dir-linking'Brad King2018-09-1413-73/+234
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1ad0a699b target_link_libraries: Allow use with targets in other directories 9bbae5ae28 cmTarget: Future-proof AddLinkLibrary target lookup scope f9cb6f618a cmExportFileGenerator: Use cmGeneratorTarget::ResolveTargetReference 18441a6269 cmGeneratorTarget: Factor target name resolution out of link item resolution 2f708f5d65 Make internal TARGET_PROPERTY generator expressions more robust 94a75801c8 Android.mk: De-duplicate link libraries logic during export 8a63b23d16 cmGlobalGenerator: Remove unused FindLocalGenerator method Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Patrick Stotko <stotko@cs.uni-bonn.de> Merge-request: !2370
| * | | | | | target_link_libraries: Allow use with targets in other directoriesBrad King2018-09-129-29/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the command did not allow naming targets on the LHS that were not created in the calling directory. Lift this restriction to enable more flexible use by projects. Targets named on the RHS will need to be looked up during generation in the scope of the call site rather than the scope of the LHS target. Introduce an internal syntax in `[INTERFACE_]LINK_LIBRARIES` properties to specify target names that need to be looked up in a directory other than that containing the target on which the property is set. Add minimal documentation of the syntax to help users that encounter it. Unfortunately CMake previously did allow such calls in the case that only `INTERFACE` libraries are specified, but those libraries would be looked up in the target's directory rather than the caller's. Add policy `CMP0079` to enable the new behavior with new lookup scope in a compatible way. Fixes: #17943
| * | | | | | cmTarget: Future-proof AddLinkLibrary target lookup scopeBrad King2018-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `AddLinkLibrary` method takes a `cmMakefile` pointer to represent the scope of the caller that wants to link to the named library. Currently in all call sites this is the same as the target's `Makefile` member, but in principle the library named by the caller is visible in its scope so we should use the `cmMakefile` it provided to look up the library target.
| * | | | | | cmExportFileGenerator: Use cmGeneratorTarget::ResolveTargetReferenceBrad King2018-09-121-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid calling `FindGeneratorTargetToUse` directly.
| * | | | | | cmGeneratorTarget: Factor target name resolution out of link item resolutionBrad King2018-09-122-10/+31
| | | | | | |