summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* project: Add variable CMAKE_PROJECT_INCLUDE_BEFORERuslan Baratov2019-04-013-0/+20
|
* Merge topic 'project-include'Brad King2019-04-013-1/+11
|\ | | | | | | | | | | | | | | | | 7d19b3091d Release note for CMAKE_PROJECT_INCLUDE variable dda0190458 project: Add variable CMAKE_PROJECT_INCLUDE 390f14a244 Test ProjectInclude: Add NONE to avoid enabling languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3155
| * project: Add variable CMAKE_PROJECT_INCLUDERuslan Baratov2019-03-272-0/+10
| |
| * Test ProjectInclude: Add NONE to avoid enabling languagesRuslan Baratov2019-03-271-1/+1
| |
* | Merge topic 'allow_aliasing_unkown_targets'Brad King2019-04-012-4/+15
|\ \ | | | | | | | | | | | | | | | | | | 6d5872a396 add_library: Now support aliasing unknown import targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3148
| * | add_library: Now support aliasing unknown import targetsRobert Maynard2019-03-262-4/+15
| | | | | | | | | | | | Fixes #18327
* | | Merge topic 'implicit-includes'Brad King2019-03-2916-70/+78
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | dad86f1873 ParseImplicitIncludeInfo: Canonicalize implicit include dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michel Zou <xantares09@hotmail.com> Merge-request: !3157
| * | | ParseImplicitIncludeInfo: Canonicalize implicit include dirsBrad King2019-03-2916-70/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implicit include directory extraction added by commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) leaves paths like `/usr/lib/../include` unchanged. Fix the logic to canonicalize such paths (e.g. to `/usr/include`) as we do for implicit link directories already. This is important to ensure the set of implicit directories is represented in the same form as the include directories that will be compared to them. Issue: #19095
* | | | Merge topic 'update-kwsys'Brad King2019-03-291-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15be06a5ec Tests: Fix Plugin test for international characters on Windows 24da7da686 Merge branch 'upstream-KWSys' into update-kwsys 8166634958 KWSys 2019-03-28 (e92bdbe8) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3158
| * | | | Tests: Fix Plugin test for international characters on WindowsBrad King2019-03-291-0/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Build KWSys with `CP_UTF8` internal encoding so that we can dynamically load modules by absolute paths that contain international characters. This is needed now that KWSys DynamicLoader uses KWSys Encoding instead of hard-coding `CP_UTF8` itself.
* | | | Merge topic 'FindFontconfig-var-case'Brad King2019-03-271-3/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | a3a1e69f8a FindFontconfig: Convert module variables to camel case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3153
| * | | FindFontconfig: Convert module variables to camel caseBrad King2019-03-261-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our documented standard for find module variable names is to match the case of the find module package name. This was overlooked when the module was added by commit 84e7920b3a (FindFontconfig: Add module to find Fontconfig, 2018-09-27, v3.14.0-rc1~523^2). The module was released with the upper case names in CMake 3.14.0, so fix it to have camel case names in 3.14.1. This is incompatible but anyone using a given release series should be using the latest patch on it and we've made breaking fixups on newly released features like this before. Reported-by: Christophe Giboudeaux <christophe@krop.fr> Fixes: #19094
* | | Merge topic 'toolchain-include_directories'Brad King2019-03-265-0/+17
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 588fa1bb9e Restore support for include_directories() in toolchain files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3140
| * | Restore support for include_directories() in toolchain filesBrad King2019-03-255-0/+17
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any `include_directories()` calls in toolchain files are used during our ABI detection step even though it does not include any system headers. Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2), that check is also used to detect implicit include directories. Any `include_directories()` in a toolchain file are detected as implicit and later excluded from explicit specification on compiler command lines, thus breaking the purpose of the calls in the first place. Fix the implicit include directory detection step to avoid using paths from `include_directories()` calls in the toolchain file. Fixes: #19079
| * Merge branch 'install-no-imported-global' into release-3.14Brad King2019-03-074-0/+9
| |\ | | | | | | | | | Merge-request: !3071
| * \ Merge branch 'ios-variable' into release-3.14Brad King2019-03-051-0/+4
| |\ \ | | | | | | | | | | | | Merge-request: !3051
| * \ \ Merge branch 'FindPython-NumPy-fix-include-dir' into release-3.14Brad King2019-03-041-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3053
* | \ \ \ Merge topic 'ctest_submit_get_buildid'Brad King2019-03-251-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba7e44eb7a ctest_submit: Add option BUILD_ID Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3120
| * | | | | ctest_submit: Add option BUILD_IDZack Galbreath2019-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18968
* | | | | | Merge topic 'pkg-get-variable-prefix-path'Brad King2019-03-254-0/+56
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f401a57160 pkg_get_variable now sets PKG_CONFIG_PATH like pkg_check_modules 4d76941924 FindPkgConfig: hoist PKG_CONFIG_PATH ops out into _pkg_set_path_internal 78f23de70c More tests for pkg_get_variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3131
| * | | | | pkg_get_variable now sets PKG_CONFIG_PATH like pkg_check_modulesDan Kegel2019-03-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #15805
| * | | | | More tests for pkg_get_variableDan Kegel2019-03-204-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #15805
* | | | | | Merge topic 'ghs-linux'Brad King2019-03-222-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c43fb5be3 FindThreads: Fix pthread library check in GHS Multi Generator 0404efe786 GHS: Add support for GHS Multi Generator in Linux 2060a1445c Tests: Fix file name case in GHS object library test ddad70c8a4 Tests: Run GHS tests in a separate ctest process f7dca1fc97 GHS: Fix include-what-you-use and clang-tidy diagnostics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3006
| * | | | | | Tests: Fix file name case in GHS object library testNaren Manimohan2019-03-211-1/+1
| | | | | | |
| * | | | | | Tests: Run GHS tests in a separate ctest processBrad King2019-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests use a different compiler than the rest of the test suite. Isolate the rest of our tests from their environment.
* | | | | | | Merge topic 'xcodescheme2'Brad King2019-03-222-0/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 413b71485a Xcode: Create Xcode schemes per target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3098
| * | | | | | | Xcode: Create Xcode schemes per targetHarry Mallon2019-03-212-0/+12
| | | | | | | |
* | | | | | | | Merge topic 'tar-improve-error-handling'Kyle Edwards2019-03-216-19/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea9a2c1759 cmake: tar: Parse 'cmake -E tar' arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3081
| * | | | | | | | cmake: tar: Parse 'cmake -E tar' argumentsBartosz Kosiorek2019-03-206-19/+24
| | |_|/ / / / / | |/| | | | | |
* | | | | | | | testRange: Make sure tests can actually failRegina Pfeifer2019-03-201-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'cmake--install'Kyle Edwards2019-03-198-0/+32
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f23d1e00 cmake: add '--install <dir>' option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Bartosz <gang65@poczta.onet.pl> Acked-by: Cristian Adam <cristian.adam@gmail.com> Rejected-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3069
| * | | | | | | cmake: add '--install <dir>' optionJiang Yi2019-03-168-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19023
* | | | | | | | Merge topic 'improve-tar-command'Kyle Edwards2019-03-199-7/+14
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8634576dcb cmake: Don't interrupt archive creation if unable to read a file. c7c6a4a2cc Help: Update 'tar' documentation with supported arguments 7c47fd8cd1 cmake: tar: Display warning when no files provided during archive creation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3080
| * | | | | | | cmake: Don't interrupt archive creation if unable to read a file.Bartosz Kosiorek2019-03-187-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: Currently during creation of archive by 'tar', if error appears, it interrupt archive creation. As a result only part of files are archived This behaviour is not consistent with 'copy_directory', native 'tar' and other command behaviour. With this Merge Request this behaviour is fixed.
| * | | | | | | cmake: tar: Display warning when no files provided during archive creationBartosz Kosiorek2019-03-183-4/+7
| | | | | | | |
* | | | | | | | Merge topic 'is-valid-utf8'Brad King2019-03-191-0/+78
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53184a727d cm_utf8: add an is_valid function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3104
| * | | | | | | | cm_utf8: add an is_valid functionBen Boeckel2019-03-181-0/+78
| | | | | | | | |
* | | | | | | | | Merge topic 'environment-modules'Brad King2019-03-193-0/+42
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfea916d3c FindEnvModules: Provide a CMake interface to environment modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3076
| * | | | | | | | FindEnvModules: Provide a CMake interface to environment modulesChuck Atkins2019-03-183-0/+42
| | | | | | | | |
* | | | | | | | | Merge topic 'utf8-fixes'Brad King2019-03-181-7/+19
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb5de060bc cm_utf8: reject codepoints above 0x10FFFF a11e5e021b cm_utf8: reject UTF-16 surrogate half codepoints 7111873efd testUTF8: add more test cases bba2b1c89b testUTF8: comment why sequences are invalid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3097
| * | | | | | | | | cm_utf8: reject codepoints above 0x10FFFFBen Boeckel2019-03-141-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are invalid because the Unicode standard says so (because UTF-16 as specified today cannot encode them).
| * | | | | | | | | cm_utf8: reject UTF-16 surrogate half codepointsBen Boeckel2019-03-141-2/+2
| | | | | | | | | |
| * | | | | | | | | testUTF8: add more test casesBen Boeckel2019-03-141-6/+16
| | | | | | | | | |
| * | | | | | | | | testUTF8: comment why sequences are invalidBen Boeckel2019-03-141-2/+6
| |/ / / / / / / /
* | | | | | | | | Merge topic 'FindGLEW-updates'Brad King2019-03-184-0/+40
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a77a30e657 FindGLEW: Add test a7d853868b FindGLEW: Update implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3094
| * | | | | | | | FindGLEW: Add testClaudio Fantacci2019-03-154-0/+40
| | | | | | | | |
* | | | | | | | | Merge topic 'pkg-config-linker-flags'Marc Chevrier2019-03-161-0/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b759fa9b8e FindPkgConfig: Set linker flags on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3082
| * | | | | | | | | FindPkgConfig: Set linker flags on imported targetsRadek Nadstawny2019-03-131-0/+21
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge topic 'export-package-default-off'Brad King2019-03-151-0/+20
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | | | | | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-151-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.