summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'meta-feature_only_infer_granular_support'Brad King2019-04-1010-25/+86
|\ | | | | | | | | | | | | | | | | | | 613ac56e50 Add a test to verify meta-feature parity with granular features b0f46c48f6 CompileFeatures: Now able to presume full language level support 646fb1a646 CompileFeatures: memoize C++ compilers with full language level support 0d641fcfad Tests: Remove outdated portion of CompileFeatures genex test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3176
| * Add a test to verify meta-feature parity with granular featuresRobert Maynard2019-04-097-0/+64
| |
| * CompileFeatures: Now able to presume full language level supportRobert Maynard2019-04-092-14/+22
| | | | | | | | | | | | | | | | | | Previously compilers that only supported the meta-level flags would not have any of the granular features listed. Now we presume that they have full support and enable all the features. Update granular feature tests to skip the actual compilation checks for the presumed features.
| * Tests: Remove outdated portion of CompileFeatures genex testBrad King2019-04-091-11/+0
| | | | | | | | | | | | The genex part of the test verifies that `$<COMPILE_FEATURES:...>` evaluates as expected. It does not need to actually try using code with the associated features, as that is tested separately.
* | Merge topic 'argument-parser'Brad King2019-04-094-3/+151
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b783e62533 cmExecuteProcessCommand: Port to cmArgumentParser 9bddb03f31 cmParseArgumentsCommand: Port to cmArgumentParser 45edf1ad66 Retire cmCommandArgumentsHelper f5acecaa6f cmExportCommand: Port to cmArgumentParser e6b6bb0618 cmInstallCommand: Port to cmArgumentParser 4336a29edd cmFileCommand: Port to cmArgumentParser 4359fe133b Introduce cmArgumentParser Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3137
| * | cmExportCommand: Port to cmArgumentParserRegina Pfeifer2019-04-042-3/+2
| | |
| * | Introduce cmArgumentParserRegina Pfeifer2019-04-042-0/+149
| | |
* | | Merge topic 'implicit-includes-relative'Brad King2019-04-0925-20/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 442f4c4902 Merge branch 'backport-implicit-includes-relative' ef41d49812 Fix implicit include directory extraction for adaptive relative paths 6bc6fc2a7f Tests: Teach RunCMake.ParseImplicitIncludeInfo to match output by regex 82948805ec Tests: Clarify hand-written cases in RunCMake.ParseImplicitIncludeInfo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3204
| * \ \ Merge branch 'backport-implicit-includes-relative'Brad King2019-04-0825-20/+65
| |\ \ \
| | * | | Fix implicit include directory extraction for adaptive relative pathsBrad King2019-04-085-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases GCC reports *relative* implicit include directories. They are computed adaptively with respect to the current working directory such that the effective implicit include directory is an unchanging absolute path. Teach our implicit include directory extraction to recognize such paths and normalize them. Fixes: #19133
| | * | | Tests: Teach RunCMake.ParseImplicitIncludeInfo to match output by regexBrad King2019-04-0816-17/+17
| | | | |
| | * | | Tests: Clarify hand-written cases in RunCMake.ParseImplicitIncludeInfoBrad King2019-04-085-2/+2
| | | | |
| | * | | Merge branch 'implicit-includes' into release-3.14Brad King2019-03-2916-70/+78
| | |\ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3157
| | * \ \ \ Merge branch 'FindFontconfig-var-case' into release-3.14Brad King2019-03-271-3/+3
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3153
* | | | | | | Genex: Add $<FILTER:list,INCLUDE|EXCLUDE,regex>Sebastian Lipponer2019-04-0810-0/+45
|/ / / / / /
* | | | | | Genex: Add capability to retrieve base name for various target artifactsMarc Chevrier2019-04-0825-1/+306
| | | | | | | | | | | | | | | | | | | | | | | | This new capability is required to solve efficiently issue #18771
* | | | | | cmRST: Fix crash on empty markup blockBrad King2019-04-052-0/+8
| |_|_|/ / |/| | | |
* | | | | Merge topic 'pr.projectbefore'Brad King2019-04-043-0/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0761186949 project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3175
| * | | | | project: Add variable CMAKE_PROJECT_INCLUDE_BEFORERuslan Baratov2019-04-013-0/+20
| | |_|_|/ | |/| | |
* | | | | Merge topic 'FindPython-handle-virtual-env'Brad King2019-04-045-0/+82
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a2f62cc18 FindPython*: Add capability to control virtual env handling. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3173
| * | | | | FindPython*: Add capability to control virtual env handling.Marc Chevrier2019-04-035-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19097
* | | | | | Merge topic 'remove_duplicates'Brad King2019-04-0411-0/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abbb8a7b1d Genex: Add $<REMOVE_DUPLICATES:list> 11338389e5 Help: Fix description in cmake-generator-expressions(7) manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3154
| * | | | | | Genex: Add $<REMOVE_DUPLICATES:list>Sebastian Lipponer2019-04-0111-0/+50
| | | | | | |
* | | | | | | Merge topic 'find-dependency-fix-17583'Brad King2019-04-034-1/+36
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37da6af17d find_dependency: Always search dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3161
| * | | | | | find_dependency: Always search dependenciesDamien R2019-03-294-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a dependency was already found, find_dependency did not search it again. While this works in basic case, it does not when there are components as the check does not take components into account. Given the fact that there is no documentation about this optimization and that the correct implementation is not trivial as it would require changes in find_package to have the list of components already found we always search dependencies. Fix #17583.
* | | | | | | 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