- Jan 24, 2019
-
-
Brad King authored
Apply the change from commit f1223e34 (VS: Add v140 flag table entries for `-Zc:inline[-]`, 2018-11-26) to the v142 flag table. The documentation of this option [1] claims that the default is off, but VS seems to use `-Zc:inline` by default if `RemoveUnreferencedCodeData` does not appear in the `.vcxproj` file. Add the flag table entry to allow use of the flag to be configured. [1] https://msdn.microsoft.com/en-us/library/dn642448.aspx
-
Brad King authored
Apply the change from commit 44dc9fc4 (VS: Fix /analyze:log flag mapping, 2018-11-26) to the v142 flag table. The `/analyze:log` argument requires a value in the following argument. Also drop the general `/analyze:` flag table entry so that such flags will be passed through as plain additional options. This is necessary because some such options have following values and some do not but not all have `.vcxproj` elements to hold the values.
-
Brad King authored
Convert from MSBuild `.xml` files: python cmConvertMSBuildXMLToJSON.py -t v142 .../2019/Preview/MSBuild/Microsoft/VC/v160/1033/cl.xml python cmConvertMSBuildXMLToJSON.py -t v142 .../2019/Preview/MSBuild/Microsoft/VC/v160/1033/link.xml
-
3d63d3ce Help: Add examples to CheckFortranSource{Runs,Compiles} Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2843
-
f2d7ed1c Help: Add note about CMAKE_ROLE to FindGit documentation Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2847
-
e4541b0e FindPython: Support script mode 8ef1916c FindPython: Test existence of imported targets Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2844
-
Kitware Robot authored
- Jan 23, 2019
-
-
Kyle Edwards authored
Fixes: #18827
-
Kyle Edwards authored
-
Kyle Edwards authored
-
-
5a0784dd clang-tidy: Pass by value Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2836
-
405d9cb4 Merge branch 'upstream-KWSys' into update-kwsys 3068a0d0 KWSys 2019-01-22 (4fecfe6f) Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2833
-
2993fc34 cmMakefile: GetModulesFile() accepts std::string param Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2838
-
f2fca926 cmake: --build supports '-jN' e463133c Tests: Remove unused files from RunCMake.CommandLine test Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2819
-
Brad King authored
-
20861d75 Merge branch 'backport-cmake-warn-no-src-build-dir' 68b51fb1 cmake: Convert no source/build dir error to warning 6b85eea3 Help: Add 3.13.4 release note for no source/build dir error/warning 2395b1b2 cmake: Convert no source/build dir error to warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2839
-
Kitware Robot authored
-
- Jan 22, 2019
-
-
Brad King authored
Merge-request: !2839
-
Brad King authored
-
Temporarily restore previous behavior that allowed specifying no source or build directory to work, even though it was neither documented nor supported. This commit is expected to eventually be reverted to restore the fatal error for such cases. Relates: #18817
-
-
-
5990ecb7 Compute implicit include directories from compiler output d751d2d2 CMakeDetermineCompilerABI: set locale to C for try_compile() c765ae49 CMakeDetermineCompilerABI: pass verbose flag during compilation 8c5221fb try_compile: Preserve special characters in COMPILE_DEFINITIONS 15ad8300 Refactor exclusion of -I/usr/include to avoid per-language values Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2716
-
dfd5ae7d Help: Mark default CMake generator with asterisk 6023fe7f ccmake: Append rather than replace Generators section of docs 7408cd39 cmake: Return generator docs directly Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2682
-
Brad King authored
* upstream-KWSys: KWSys 2019-01-22 (4fecfe6f)
-
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 4fecfe6f29be07ec165bcc87a20666425d928aa6 (master). Upstream Shortlog ----------------- Brad King (1): 7a5e5af8 SystemTools: Revert "Fix FileIsSymlink with Windows data deduplication" Tobias Kloss (1): ef373416 SystemTools: Fix FileIsSymlink with Windows data deduplication Wouter Klouwen (1): 8e9970fb SystemInformation: support BSD platforms for GetProcessId
-
ab3b549e CROSSCOMPILING_EMULATOR: Fix test generation for empty value Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2834
-
97700e9f FindGit: Add imported target Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2790
-
5ff7fb59 Fixed all but one clang -Wcomma warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2828
-
3132ea80 cmSystemTools: Stdout(),Stderr() accept std::string argument Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2829
-
2c50a725 cmDepends: all members accept std::string arguments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2827
-
67bced8a cmake-gui: Improve label for default platform 48ec0bc1 cmake-gui: Add field for generator platform selection 8bba458e Add global generator factory method to get default platform name 818df52c Add global generator factory method to get list of known platforms 8144b00e Split global generator factory list with and without platforms b70c0aed VS: Factor out helper function to compute host platform name Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2832
-
-
Brad King authored
Drop `-stderr.txt` files for cases that do not exist.
-
Craig Scott authored
Temporarily restore previous behavior that allowed specifying no source or build directory to work, even though it was neither documented nor supported. This commit is expected to eventually be reverted to restore the fatal error for such cases. Relates: #18817
-
Kitware Robot authored
-
- Jan 21, 2019
-
-
Vitaly Stakhovsky authored
-
- CMakeParseImplicitIncludeInfo.cmake: new parser that extracts the compiler's include path from verbose output. If the parser cannot parse the output, we fall back to the old behavior. On osx we skip over framework directories (handled elsewhere). - CMakeDetermineCompilerABI.cmake: - use verbose flag in try_compile for ${src} - use new cmake_parse_implicit_include_info() to attempt extract implicit include directory path and if successful set CMAKE_${LANG}_IMPLICIT_INCLUDE_DIRECTORIES - CMakeCCompiler.cmake.in and CMakeCXXCompiler.cmake.in - preserve CMAKE_${LANG}_IMPLICIT_INCLUDE_DIRECTORIES value between runs in the same way CMAKE_${LANG}_IMPLICIT_LINK_DIRECTORIES is preserved - Tests/RunCMake/ParseImplicitIncludeInfo: tests for parse based on the older Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in. The test runs a set of verbose compiler outputs collected from various machines through the parser and checks the results. New compiler files can be added by dropping input/output files in the ParseImplicitIncludeInfo/data subdirectory and then adding the new set of files to the ${targets} list in ParseImplicitIncludeInfo.cmake. There is a helper CMakeLists.txt in ParseImplicitIncludeInfo/data that can help with the generation of test input files. NOTE: the standard cmake pre-commit hook rejects verbose compiler output with trailing spaces... you have to manually edit them out. This shouldn't impact the test. Note that both the parser and the test code can use CMAKE_${LANG}_COMPILER_* variables such as ${CMAKE_CXX_COMPILER_ID} to decide how to parse verbose compiler output. For the test code, this requires us to save the variables values in the test input files. Fixes: #16291
-