summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindOpenMP-Intel-Windows'Brad King2018-04-171-13/+4
|\ | | | | | | | | | | | | 0c7433e874 FindOpenMP: Fix support for Intel on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1957
| * FindOpenMP: Fix support for Intel on WindowsRoland Schulz2018-04-161-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.11.0-rc1~334^2 (FindOpenMP: Use NO_DEFAULT_PATH where appropriate, 2017-11-15) broke partial support for Intel on Windows. Since `OpenMP_${LANG}_IMPLICIT_LINK_DIRS` is empty for this compiler the `find_library` call without `NO_DEFAULT_PATH` worked accidentally in environments with the needed libraries in the search path already. Fix support for Intel on Windows by simply removing our explicit search for the `libiomp5md` library. In cases that it is needed, the compiler already inserts metadata in `.obj` files to tell the MSVC linker to use the library. Suggested-by: Christian Pfeiffer <cpfeiffer@live.de> Fixes: #17910
* | Merge topic 'implicit-lib-gcceh-file'Brad King2018-04-172-1/+7
|\ \ | | | | | | | | | | | | | | | | | | eb0498357f Exclude "libgcc_eh" library files from implicit link libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1967
| * | Exclude "libgcc_eh" library files from implicit link librariesBrad King2018-04-162-1/+7
| |/ | | | | | | | | | | | | | | Extend the fix in commit v3.9.6~1^2 (Restore exclusion of "gcc_eh" from implicit link libraries, 2017-11-07) to also exclude `gcc_eh` libraries referenced by absolute path to the library file. Issue: #17436
* | Merge topic 'libuv_version_bump'Brad King2018-04-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | f5f72ff844 Explicitly require LibUV 1.10 or higher to build CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1966
| * | Explicitly require LibUV 1.10 or higher to build CMakeErofeevK2018-04-161-1/+1
| |/ | | | | | | CMake 3.11 now uses `uv_translate_sys_error` introduced in LibUV 1.10.
* | CMake Nightly Date StampKitware Robot2018-04-171-1/+1
| |
* | Merge topic 'cuda-compiler-loaded'Brad King2018-04-161-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 595aa12811 CUDA: Set CMAKE_CUDA_COMPILER_LOADED variable when language is enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1955
| * | CUDA: Set CMAKE_CUDA_COMPILER_LOADED variable when language is enabledHenry Schreiner2018-04-131-0/+1
| | | | | | | | | | | | We already do this for C, CXX, Fortran, etc.
* | | Merge topic 'vs-cuda-pdb'Brad King2018-04-165-0/+51
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-135-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'test-ExternalData-dedup'Brad King2018-04-162-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb66cea6c5 Tests: Avoid duplicate rules in ExternalData test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1958
| * | | | Tests: Avoid duplicate rules in ExternalData testBrad King2018-04-132-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.7.0-rc1~158^2 (ExternalData: Tolerate files duplicated across multiple targets, 2016-07-07) we added a test case for repeating the same data file reference in three different targets in the same directory in order to exercise its corresponding fix. However, we re-used the top-level `Data.dat` file which is already produced by an unrelated test case. `ninja` diagnoses the duplicate rule. Update the test to use a dedicated data file name for the three-times repeated case to avoid this conflict. It still covers the original purpose of the test.
* | | | | Merge branch 'release-3.11'Brad King2018-04-160-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge branch 'backport-fix-explicit-CMakeLists.txt' into release-3.11Brad King2018-04-1310-9/+91
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1959
* | \ \ \ \ \ Merge topic 'fix-explicit-CMakeLists.txt'Brad King2018-04-1610-9/+91
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1310-9/+91
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| / / / / | | |_|/ / / / | |/| | | | |
| | * | | | | Restore support for explicitly referenced CMakeLists.txt sourcesBrad King2018-04-1310-9/+91
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'clang-cl-std'Brad King2018-04-131-5/+42
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f82c5904d Clang: Add standard flags support when simulating MSVC 8381bc12ad Clang: Avoid extra C++ feature detection when simulating MSVC 6cddf7ba32 Clang: Refactor standard flags logic when simulating MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1906
| * | | | | Clang: Add standard flags support when simulating MSVCRuben Van Boxem2018-04-111-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Clang 3.9 simulates MSVC 19.0 or higher it knows the `-std:` flags that such versions of MSVC defines. Fixes: #17866
| * | | | | Clang: Avoid extra C++ feature detection when simulating MSVCBrad King2018-04-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply the optimization from commit v3.10.0-rc1~131^2 (MSVC: Avoid unnecessary C++ feature detection steps, 2017-09-11) to the case of Clang simulating a version of MSVC that does not define standards. Issue: #17274
| * | | | | Clang: Refactor standard flags logic when simulating MSVCBrad King2018-04-111-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate the compile options and standard defaults branches. Add comments.
* | | | | | 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)
| | * | | | KWSys 2018-04-12 (9da3e5bc)KWSys Upstream2018-04-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 9da3e5bc847fa4187f42f60700e343a9ed09a161 (master). Upstream Shortlog ----------------- Brad King (1): c7ef6c1b SystemInformation: Do not include unnecessary fenv.h
* | | | | | CMake Nightly Date StampKitware Robot2018-04-131-1/+1
| | | | | |
* | | | | | Merge topic 'doc-dev-mr-edit'Craig Scott2018-04-121-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc7e1de188 CONTRIBUTING: Mention GitLab option to allow edits from maintainers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1954
| * | | | | CONTRIBUTING: Mention GitLab option to allow edits from maintainersBrad King2018-04-121-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | Collaboration between contributors and developers is easier if a developer can push an update to a contributor's MR source branch.
* | | | | Merge branch 'release-3.11'Brad King2018-04-120-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'features-msvc-2017' into release-3.11Brad King2018-04-111-21/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1903
* | \ \ \ \ Merge topic 'add_support_for_clr_targets'Brad King2018-04-1215-24/+188
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | document COMMON_LANGUAGE_RUNTIME target propertiesMichael Stürmer2018-04-094-0/+37
| | | | | | |
| * | | | | | 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-124-0/+27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-114-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that we also trigger variable watches when a variable is set in the parent scope. Fixes: #17827
* | | | | | | | Merge topic 'features-msvc-2017'Brad King2018-04-121-21/+15
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f4272cc06 Features: Record for VS 2017 through 15.6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1903
| * | | | | | | Features: Record for VS 2017 through 15.6Daniel Filipe2018-04-111-21/+15
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 15.3 has more features than we recorded in commit v3.7.0-rc1~156^2~2 (Features: Record features for VS 15 Preview 4, 2016-09-05). While at it, update comments and simplify some cases.
* | | | | | | 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.
* | | | | | | | Merge topic 'FindMatlab-handle-exception'Brad King2018-04-124-5/+47
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ffb1f19191 FindMatlab: add unit tests 44c916b4c8 FindMatlab: always handle uncaught exception Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1946
| * | | | | | | | FindMatlab: add unit testsRaffi Enficiaud2018-04-093-3/+44
| | | | | | | | |
| * | | | | | | | FindMatlab: always handle uncaught exceptionClemens Buchacher2018-04-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If runtests('$unittest_file') throws an exception it is ignored. It is easy to produce such an exception by passing a nonexistent file as UNITTEST_FILE. We already handle exceptions if the option NO_UNITTEST_FRAMEWORK is set. Use the same method to handle exceptions thrown by runtests or by a custom_Matlab_test_command. Fixes #16660.