summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Fortran: Refactor to treat .mod extension as part of module nameBrad King2018-04-204-28/+60
| | | | | | When tracking module names internally, include the `.mod` extension. This will later be useful to distinguish them from `.smod` extensions for submodules.
* Merge topic 'vs-sdk-dirs'Brad King2018-04-201-0/+49
|\ | | | | | | | | | | | | 6ec3e880e7 VS: Add variables to set SDK directories in vcxproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1965
| * VS: Add variables to set SDK directories in vcxproj filesBastien Schatt2018-04-191-0/+49
| | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | Merge topic 'ninja-simplify-paths'Brad King2018-04-203-34/+10
|\ \ | | | | | | | | | | | | | | | | | | 5650ba1d6a Ninja: Drop unnecessary ident encoding logic for paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1983
| * | Ninja: Drop unnecessary ident encoding logic for pathsBrad King2018-04-193-34/+10
| | | | | | | | | | | | | | | | | | The only uses of `EncodeIdent` are surrounding `EncodePath`, but the special ident encoding is not needed for path contexts in a ninja build manifest.
* | | CMake Nightly Date StampKitware Robot2018-04-201-1/+1
| | |
* | | Merge topic 'CheckIncludeFile-required-libs'Brad King2018-04-197-10/+31
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | a61ae3fb80 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES 391a5837ee cmake_policy: Add undocumented PARENT_SCOPE option to GET 3c47ac5b25 OpenWatcom: Add workaround for lack of error on missing library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1978
| * | CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIESBrad King2018-04-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other check modules honor this variable, so include file checks should too. Add policy `CMP0075` to enable the behavior in a compatible way. This change was originally made by commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES, 2017-12-24) but it was reverted by commit v3.11.1~9^2 (Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES", 2018-04-04) because the behavior change could affect checks in existing projects in an incompatible way. Fixes: #9514
| * | cmake_policy: Add undocumented PARENT_SCOPE option to GETBrad King2018-04-185-9/+20
| | | | | | | | | | | | | | | | | | Policies affecting the behavior of CMake-provided macros and functions need to be able to get the policy setting as of the call site rather than the definition site. Add an undocumented option to do this.
| * | OpenWatcom: Add workaround for lack of error on missing libraryBrad King2018-04-181-0/+7
| | | | | | | | | | | | | | | | | | | | | The OpenWatcom tools do not fail to link when a library is missing if no symbols were needed from it. This can break `try_compile` checks. Teach `cmGlobalGenerator::Build` to pretend that the build tool returned non-zero if the output contains the corresponding warning.
* | | CMake Nightly Date StampKitware Robot2018-04-191-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-04-181-1/+1
|/ /
* | Merge topic 'list-TRANSFORM'Brad King2018-04-177-109/+758
|\ \ | | | | | | | | | | | | | | | | | | | | | dca2347980 list: Add TRANSFORM sub-command cdae12f8f8 string() Refactoring: creates an helper for REGEX REPLACE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1938
| * | list: Add TRANSFORM sub-commandMarc Chevrier2018-04-162-0/+557
| | | | | | | | | | | | Issue: #17823
| * | string() Refactoring: creates an helper for REGEX REPLACEMarc Chevrier2018-04-165-109/+201
| | |
* | | Merge topic 'vs-conditional-reference-assembly'Brad King2018-04-171-4/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c8e98974d8 VS: Disallow ReferenceOutputAssembly in ProjectReference if not possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1956
| * | | VS: Disallow ReferenceOutputAssembly in ProjectReference if not possibleBastien Schatt2018-04-131-4/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Explicitly turn off `ReferenceOutputAssembly` in `ProjectReference` elements naming other project files whose types do not produce assemblies. We already do this for `C#` but it makes sense for other languages too. Fixes: #17906
* | | CMake Nightly Date StampKitware Robot2018-04-171-1/+1
| | |
* | | Merge topic 'vs-cuda-pdb'Brad King2018-04-161-0/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 134e795fa9 VS: Add workaround for CUDA compiler PDB location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1960
| * | | VS: Add workaround for CUDA compiler PDB locationBrad King2018-04-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUDA Toolkit Visual Studio Integration does not honor the `ClCompile.ProgramDataBaseFileName` field when telling `nvcc` how to invoke `cl`. Work around this problem by passing `-Xcompiler=-Fd...` ourselves through `AdditionalOptions`. Fixes: #17647
* | | | Merge topic 'fix-explicit-CMakeLists.txt'Brad King2018-04-164-9/+36
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 0a122393d7 Merge branch 'backport-fix-explicit-CMakeLists.txt' 8480c2afc0 Restore support for explicitly referenced CMakeLists.txt sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1959
| * | | Merge branch 'backport-fix-explicit-CMakeLists.txt'Brad King2018-04-134-9/+36
| |\ \ \
| | * | | Restore support for explicitly referenced CMakeLists.txt sourcesBrad King2018-04-134-9/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This broke projects that explicitly specify their `CMakeLists.txt` file as a source file because the explicit entry is no longer consolidated with the generated one. Teach the relevant generators to avoid duplicating `CMakeLists.txt` source references and add test cases. Fixes: #17828
* | | | | CMake Nightly Date StampKitware Robot2018-04-161-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-04-151-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-04-141-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'update-kwsys'Brad King2018-04-131-2/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5ebbf2807b Merge branch 'upstream-KWSys' into update-kwsys e488f73873 KWSys 2018-04-12 (9da3e5bc) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1953
| * | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-04-121-2/+0
| | |/ | |/| | | | | | | | | | * upstream-KWSys: KWSys 2018-04-12 (9da3e5bc)
* | | CMake Nightly Date StampKitware Robot2018-04-131-1/+1
|/ /
* | Merge topic 'add_support_for_clr_targets'Brad King2018-04-1211-24/+151
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 312527de47 document COMMON_LANGUAGE_RUNTIME target properties 4b7a82b4ed cmVisualStudio10TargetGenerator: set /clr compiler flag from property 20e31fb4c9 cmExportFileGenerator: add target property for managed targets 411a22706a cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary() fb433ff283 cmGeneratorTarget: Make import library checks config-aware 4c1f33961f cmGeneratorTarget: add GetManagedType() and CheckManagedType() methods 6c517a9f8d cmGeneratorTarget: add HasLanguage() as wrapper for GetLanguages() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1916
| * | cmVisualStudio10TargetGenerator: set /clr compiler flag from propertyMichael Stürmer2018-04-051-0/+16
| | |
| * | cmExportFileGenerator: add target property for managed targetsMichael Stürmer2018-04-051-0/+14
| | |
| * | cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary()Michael Stürmer2018-04-051-1/+4
| | |
| * | cmGeneratorTarget: Make import library checks config-awareMichael Stürmer2018-04-059-23/+26
| | |
| * | cmGeneratorTarget: add GetManagedType() and CheckManagedType() methodsMichael Stürmer2018-04-052-0/+73
| | |
| * | cmGeneratorTarget: add HasLanguage() as wrapper for GetLanguages()Michael Stürmer2018-04-052-0/+18
| | |
* | | Merge topic 'variable_watch-on-PARENT_SCOPE'Brad King2018-04-121-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 65198cfd0f variable_watch: trigger on variables set via PARENT_SCOPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1948
| * | | variable_watch: trigger on variables set via PARENT_SCOPEMatteo Settenvini2018-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that we also trigger variable watches when a variable is set in the parent scope. Fixes: #17827
* | | | Merge topic 'attr-escape'Brad King2018-04-121-47/+48
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff18dce5ed cmVisualStudio10TargetGenerator: Properly escape attributes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1937
| * | | | cmVisualStudio10TargetGenerator: Properly escape attributesVitaly Stakhovsky2018-04-061-47/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to common XML escape characters, attributes require escaping the double quote character. A new function, cmVS10EscapeAttr is added and used where appropriate.
* | | | | CMake Nightly Date StampKitware Robot2018-04-121-1/+1
| | | | |
* | | | | Merge topic 'cpack-trace-nullptr'Brad King2018-04-111-4/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f2701abf6 CPack: Fix crash on invalid generator name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1950
| * | | | | CPack: Fix crash on invalid generator nameBrad King2018-04-101-4/+4
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.11.0-rc1~68^2 (CPack: accept --trace and --trace-expand, 2017-12-09) a nullptr dereference was added that occurs when `cpack -G NotAGenerator` is invoked. Add the needed condition. Fixes: #17900
* | | | | CMake Nightly Date StampKitware Robot2018-04-111-1/+1
| | | | |
* | | | | Merge topic 'fix-crash-trace-exp-uninit-vars'Brad King2018-04-102-8/+10
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | aad360eb3d Fix crash with --trace-expand --warn-uninitialized together Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1944
| * | | | Fix crash with --trace-expand --warn-uninitialized togetherR2RT2018-04-092-8/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some code paths in `ExpandVariablesInString{New,Old}` were not checking the `filename` parameter for a null pointer, but this can happen when using the above flags together. Add the checks and a test case. Fixes: #17896
* | | | CMake Nightly Date StampKitware Robot2018-04-101-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-04-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-04-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-04-071-1/+1
| | | |