summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge topic 'cmake-E-cat-binary' into release-3.19Brad King2020-10-154-0/+5
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
| | * | cmake: Fix '-E cat' command for binary files on WindowsJohnny Jazeix2020-10-144-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset `std::cout` to write in binary mode with no encoding conversions. Co-Author: Brad King <brad.king@kitware.com> Fixes: #21295
| * | | Merge topic 'android-verify-abi-in-ndk' into release-3.19Brad King2020-10-131-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c2f9e3eeb Android: Fatal if ABI is not supported by NDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5351
| | * | | Android: Fatal if ABI is not supported by NDKHaibo Huang2020-10-091-1/+1
| | | | |
| * | | | Merge topic 'export-namelink-only' into release-3.19Craig Scott2020-10-1210-0/+39
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64690f6df0 export: Do not fail generation for namelink-only case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5352
| | * | | | export: Do not fail generation for namelink-only caseDeniz Bahadir2020-10-0910-0/+39
| | | | | |
| * | | | | Tests: Test the CMakePresets.json example in the documentationKyle Edwards2020-10-092-0/+12
| |/ / / /
| * | | | Merge topic 'GNUInstallDirs-debian' into release-3.19Brad King2020-10-095-0/+122
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR 75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5349
| | * | | GNUInstallDirs: Comply with Debian Policy on LIBEXECDIRDennis Klein2020-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMAKE_INSTALL_PREFIX is /usr, CMAKE_INSTALL_LIBEXECDIR shall return the same value as CMAKE_INSTALL_LIBDIR on Debian. While the FHS allows /usr/libexec for internal binaries (https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec) the Debian Policy Manual states an exception here (section 9.1.1 bullet point 4): https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure. Fixes: #21287
| | * | | Tests: Add RunCMake.GNUInstallDirs expected output specific to DebianBrad King2020-10-085-0/+122
| | | |/ | | |/|
| * | | Tests: Fix policy version in RunCMake.ExternalProject testBrad King2020-10-081-1/+1
| |/ / | | | | | | | | | | | | Now that we have policies that need to be tested, this test cannot just use CMAKE_VERSION for the policy level.
| * | Merge topic 'check_cuda_helpers'Brad King2020-10-089-4/+92
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5338
| | * | CUDA: CheckLinkerFlag now supports CUDARobert Maynard2020-10-083-1/+10
| | | |
| | * | CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlagsRobert Maynard2020-10-087-3/+82
| | | |
| * | | Merge topic 'cmake-presets-empty-var'Brad King2020-10-0712-0/+56
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | a395cb516b CMakePresets.json: Prohibit empty variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5339
| | * | CMakePresets.json: Prohibit empty variable namesKyle Edwards2020-10-0612-0/+56
| | | |
| * | | Merge topic 'add_ispc_to_check_helpers'Brad King2020-10-075-1/+45
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5337
| | * | | ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPCRobert Maynard2020-10-065-1/+45
| | | | |
| * | | | Merge topic 'CheckCompilerFlag-gcc-10'Brad King2020-10-071-0/+7
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | d66858c8e4 CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5331
| | * | | CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10Luthaf2020-10-061-0/+7
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning emmitted by GCC for invalid options have been updated to read "command-line option XXX is valid ..." instead of "command line option XXX is valid ...". Update the regex to make it valid with both the old and new warning message. Fixes: #21275
| * | | Merge topic 'cmake-presets'Brad King2020-10-06228-0/+1853
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f8fdc686c .gitignore: Add CMakeUserPresets.json 1d25760198 Help: Add presets documentation and release notes a4382f72d7 CMake GUI: Add presets functionality 8617479061 CMake: Add presets functionality 06128cf949 Presets: Add cmCMakePresetsFile class 5a36542086 Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator() 3059e6aed7 cmJSONHelpers: Add new Bind() function 8682d1b7b2 CMake GUI Tests: Increase default sleep time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5169
| | * | CMake: Add presets functionalityKyle Edwards2020-10-05228-0/+1853
| | | |
| * | | Merge topic 'add_checkcompilerflag_tests'Brad King2020-10-0614-0/+102
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ac9719659 CheckCompilerFlag: Add tests to verify module correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5328
| | * | | CheckCompilerFlag: Add tests to verify module correctnessRobert Maynard2020-10-0614-0/+102
| | |/ /
| * | | Merge topic 'csharp-source_group-bugfix'Brad King2020-10-063-5/+12
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | 8d87cfdbf3 VS: Fix regression in C# source links Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5314
| * | Merge topic 'xcode-refactor-framework-linking'Craig Scott2020-10-045-11/+58
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5216
| | * | Xcode: Don't add framework as -framework argument in linker info listGusts Kaksis2020-10-025-11/+58
| | | |
| * | | Merge topic 'FetchContent_missing_SOURCE_DIR'Craig Scott2020-10-045-0/+26
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b030a6af88 FetchContent: Raise error if manually given source dir does not exist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5317
| | * | | FetchContent: Raise error if manually given source dir does not existCraig Scott2020-10-035-0/+26
| | |/ / | | | | | | | | Fixes: #21208
| * | | FindSWIG: Fix syntax errorMarc Chevrier2020-10-023-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | Add some tests to cover all cases regarding version handling Fixes: #21264
| * | | Merge topic 'execute_process-fatal-error'Brad King2020-10-0210-0/+32
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 116a427eb1 execute_process: add options for fatal errors on subprocess failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5243
| | * | execute_process: add options for fatal errors on subprocess failureAsit Dhal2020-10-0110-0/+32
| | | | | | | | | | | | | | | | Fixes: #19930
| * | | Merge topic 'FindSWIG-version-range'Craig Scott2020-10-022-0/+31
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d300ee2a9 FindSWIG: Add version range support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5306
| | * | | FindSWIG: Add version range supportMarc Chevrier2020-10-012-0/+31
| | |/ /
| * | | Merge topic 'macos-arm64'Brad King2020-10-011-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts 383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings 8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5291
| | * | | Tests: Teach RunCMake to ignore Xcode internal objc warningsBrad King2020-09-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode on Apple Silicon warns: objc[...]: Class AMSupportURL... is implemented in both ... One of the two will be used. Which one is undefined. Teach RunCMake to drop such lines before matching against expected output.
| * | | | VS: Make ImportLibary generation optionalMark Jansen2020-09-303-0/+27
| | |/ / | |/| | | | | | | | | | Fixes: #21180
| * | | Merge topic 'cmake_language-DEFER'Brad King2020-09-30136-24/+440
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8b0359a43 cmake_language: Add signature to DEFER calls to later times 9880549405 cmake_language: Make all errors fatal 4f33f3dcff cmake_language(CALL): Accept empty ${var} expansions 4ebe9c4ce1 cmake_language(EVAL): Factor out internal helper 78ff24a3a7 Help: Use singular placeholder name in cmake_language signature edd60d4419 Tests: Simplify RunCMake.cmake_language invalid command cases 1a5bf8245e cmMakefile: Clarify name of internal list file run method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5262
| | * | | cmake_language: Add signature to DEFER calls to later timesBrad King2020-09-29126-1/+418
| | | | | | | | | | | | | | | | | | | | Fixes: #19575
| | * | | cmake_language(CALL): Accept empty ${var} expansionsBrad King2020-09-296-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Factor out an internal helper. Generalize partial argument expansion and call the helper on a clean boundary between raw arguments.
| | * | | Tests: Simplify RunCMake.cmake_language invalid command casesBrad King2020-09-295-17/+16
| | | | |
| * | | | Merge topic 'find-package-check-empty-version-range'Craig Scott2020-09-3015-28/+80
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 212b0afb66 find_package: raise error on empty version range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5294
| | * | | | find_package: raise error on empty version rangeMarc Chevrier2020-09-2915-28/+80
| | |/ / /
| * | | | VS: Fix C language standard in target with C++ sourcesBrad King2020-09-293-0/+32
| |/ / / | | | | | | | | | | | | | | | | | | | | Add C-language standard to target-wide C++ settings. Fixes: #21195
| * | | ctest: report make-level errors to CDash when using launchersZack Galbreath2020-09-286-2/+30
| |/ / | | | | | | | | | Fixes: #19545
| * | xcode: conditionally enable combined install testsGregor Jasny2020-09-251-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Xcode 12 build system does not support recursive invocation. Therefore lazily triggered builds for the corresponding platform which run during the `install` target fail with: ``` error: unable to attach DB: error: accessing build database ``` While looking for a work-around we conditionally disable those tests. Issue: #21206
| * | xcode: annotate test output with selected SDKGregor Jasny2020-09-251-8/+8
| | |
| * | Merge topic 'check-source-modules'Brad King2020-09-2427-0/+231
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 357e2ef429 CheckSoureRuns: Add a unified way to check if a source runs 10ae907de0 CheckSoureCompiles: Add a unified way to check if a source compiles f5c928f73c Add a test to verify '\' handling in CHECK_CXX_SOURCE_COMPILES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5223
| | * | CheckSoureRuns: Add a unified way to check if a source runsRobert Maynard2020-09-2314-0/+112
| | | |
| | * | CheckSoureCompiles: Add a unified way to check if a source compilesRobert Maynard2020-09-2314-0/+119
| | | |