- Jan 23, 2019
-
-
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
-
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
-
-
- 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
-
Have CMakeDetermineCompilerABI set the locale to C before calling try_compile(). This is for the implicit include path parser to keep all the verbose compiler messages in English so we can parse it. See #18784 for discussion.
-
Brad King authored
Default to the same flag that is used for verbose link information, but provide another internal platform information variable to use a compilation-specific variant. Populate it for CUDA where we use a different compiler for compilation and linking and therefore need different flags. Co-Author: Chuck Cranor <chuck@ece.cmu.edu>
-
Brad King authored
When generating the `CMakeLists.txt` file, we pass the values given to our `COMPILE_DEFINITIONS` option in an `add_definitions` call. Pass them as bracket arguments to preserve special characters like `#`.
-
Brad King authored
Add a `CMAKE_PLATFORM_IMPLICIT_INCLUDE_DIRECTORIES` to contain the hard-coded list of paths to be excluded from `-I` arguments so that the values remain excluded even if the per-language `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES` variants change. This is needed to preserve our historical exclusion of `-I/usr/include` even when it is not a real implicit include directory. A policy may be needed to remove it later.
-
Kyle Edwards authored
-
Kyle Edwards authored
If CROSSCOMPILING_EMULATOR was set to an empty string, and a test was generated with the executable as the command, CMake would segfault upon trying to generate the test file. Fix this. Fixes: #18819
-
c09ec799 ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2823
-
25caf7ba cmMakefile::ReadListFile() accepts std::string argument Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2821
-
a0809142 Fortran: Add compiler ID/Version generator expressions Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2804
-
5b3af28e libuv: Update CMake-internal buildsystem 1136275a libuv: Include uv/ headers from each other without any path 1e120972 Merge branch 'upstream-libuv' into update-libuv 4fcb0d02 libuv 2019-01-15 (f84c5e69) Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2822
-
264bdac1 CMAKE_ROLE: Fix value for ctest --build-and-test Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2820
-
1ed4d48d Autogen: Prepend instead of append `mocs_compilation.cpp` to the sources list a42b700c cmTarget,cmGeneratorTarget: Add optional `before` parameter to AddSource Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Peter Wu <peter@lekensteyn.nl> Merge-request: !2815
-
0ffe8f88 Ninja: support `SWIFT_MODULE_NAME` property Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2813
-
ef61997b clang-tidy: Use emplace 2e5307a2 CTestSVN: Accept std::string in SVNInfo constructor Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2811
-
cae9d2a6 CTest: Teach --show-only= to reject unknown values 7370b02c CTest: Teach --show-only=json-v1 to filter out not-available tests 62fec84a Tests: Fix RunCMake.CTestCommandLine case when no python is found 75a7a237 Tests: Rename RunCMake.CTestCommandLine show-only test cases fecbc876 Tests: Fix RunCMake.CTestCommandLine to actually check json-v1 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2812
-
0526ae44 FindCURL: fix component failure when no pkg-config Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2826
-
find_package(CURL COMPONENTS foo) fails when there is no pkg-config module because of variable name typo. Signed-off-by:
Hiroshi Miura <miurahr@linux.com> Fixes: #18802
-
0f08ed89 cmSystemTools: Silence CreateLink and CreateSymlink errors 593d9864 Tests: Avoid cross-device links in CREATE_LINK test 9a3d85cf Tests: Skip symlink tests on Windows e68ea269 Tests: CREATE_LINK subcommand negative test case 45aa9c65 Tests: file CREATE_LINK subcommand test cases 8bb7562f Help: Add documentation for file(CREATE_LINK) subcommand 81650e48 cmFileCommand: Add CREATE_LINK subcommand Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2759
-
b773e580 find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS a5e948a3 find_package: optionally resolve symlinks when discovering packages Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !2798
-