summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'sourceFile-new-properties'Brad King2018-01-2526-48/+139
|\ | | | | | | | | | | | | | | | | | | 04483111 sourceFile properties: add property INCLUDE_DIRECTORIES 3073bd1f VisualStudio generators: refactoring 78b1c2e0 sourceFile properties: add property COMPILE_OPTIONS 3f935e69 LocalGenerator: refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1596
| * sourceFile properties: add property INCLUDE_DIRECTORIESMarc Chevrier2018-01-2422-2/+113
| |
| * sourceFile properties: add property COMPILE_OPTIONSMarc Chevrier2018-01-235-48/+28
| | | | | | | | | | | | | | Add the support of per-source property COMPILE_OPTIONS, including generator expressions support. Related: #17507
* | Merge topic 'fix-include_regular_expression-subdir'Brad King2018-01-254-0/+9
|\ \ | | | | | | | | | | | | | | | | | | 2d64f9f0 include_regular_expression: Fix propagation to subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1690
| * | include_regular_expression: Fix propagation to subdirectoriesBrad King2018-01-244-0/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.4.0-rc1~321^2 (cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION, 2015-04-04) accidentally broke propagation of the include regex to subdirectories. Refactoring in commit v3.5.0-rc1~319^2~1 (cmState: Initialize properties immediately, 2015-10-07) moved maintenance of this value from `cmMakefile` to `cmStateSnapshot`. Restore propagation of the `INCLUDE_REGULAR_EXPRESSION` to subdirectories and add a test to cover it. Fixes: #17676
* | Merge topic 'GenerateExportHeader-include-guard'Brad King2018-01-2419-14/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | b1ae9aaf GenerateExportHeader: add release notes, tests for include guard changes f4082b0e GenerateExportHeader: add INCLUDE_GUARD_NAME option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1643
| * | GenerateExportHeader: add release notes, tests for include guard changesKyle Edwards2018-01-2319-14/+46
| |/
* | Merge topic 'UseJava-native-headers-generation'Brad King2018-01-247-16/+129
|\ \ | |/ |/| | | | | | | | | 4829ea23 add_jar: add option GENERATE_NATIVE_HEADERS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1675
| * add_jar: add option GENERATE_NATIVE_HEADERSMarc Chevrier2018-01-227-16/+129
| |
* | Merge topic 'autogen-first-line-fix'Brad King2018-01-2217-48/+198
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | b4e6911b Autogen: Tests: Extend AUTOUIC include patterns test ff91a5d5 Autogen: Tests: Extend AUTOMOC include patterns test a1d491ca Autogen: AUTOMOC/UIC fix for moc/uic include on the first line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1670
| * | Autogen: Tests: Extend AUTOUIC include patterns testSebastian Holtermann2018-01-1911-46/+116
| | |
| * | Autogen: Tests: Extend AUTOMOC include patterns testSebastian Holtermann2018-01-186-2/+82
| |/
* | Merge topic 'boost-optional-components'Brad King2018-01-224-1/+66
|\ \ | | | | | | | | | | | | | | | | | | | | | 2557cad5 FindBoost: support OPTIONAL_COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Paul "TBBle" Hampson <paul.hampson@pobox.com> Merge-request: !1660
| * | FindBoost: support OPTIONAL_COMPONENTSSergiu Deitsch2018-01-194-1/+66
| | |
* | | Merge topic 'cache-truncate-newlines'Brad King2018-01-197-0/+36
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | c42b377c cmCacheManager: Test and document newline truncation behavior a9c48307 cmCacheManager: Truncate values containing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1652
| * | cmCacheManager: Test and document newline truncation behaviorKyle Edwards2018-01-157-0/+36
| | |
* | | Merge topic 'autogen-parallel'Brad King2018-01-1840-0/+493
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9cfa213a Autogen: Rename cmQtAutogeneratorInitializer to cmQtAutoGenInitializer 79908ae4 Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLEL 45ee4979 Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLEL 6f4b6613 Autogen: Tests: Add AUTOGEN_PARALLEL tests a008578d Autogen: Process files concurrently in AUTOMOC and AUTOUIC 488baaf0 Autogen: Tests: Fix MocInclude test(s) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1632
| * | | Autogen: Tests: Add AUTOGEN_PARALLEL testsSebastian Holtermann2018-01-1731-0/+475
| | | |
| * | | Autogen: Tests: Fix MocInclude test(s)Sebastian Holtermann2018-01-179-0/+18
| | | |
* | | | Merge topic 'msvc_cuda_8_explicitly_specify_cuda_language'Brad King2018-01-182-9/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 46abfedb CUDA: MSVC will now state files are cuda files when needed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1658
| * | | CUDA: MSVC will now state files are cuda files when neededRobert Maynard2018-01-122-9/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | The MSVC CUDA build customizations before CUDA 9 would not explicitly add the -x cu option when building. This caused .cpp and .c files invoked with CudaCompile to be compiled as host code and not cuda. Now when we detect CUDA < 9 we will explicitly add this option to correct this bug.
* | | Merge topic 'extend-compile-language-genex'Brad King2018-01-1626-143/+85
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 506fda1c Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode c2f79c98 Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode 0795d25b cmVisualStudio10TargetGenerator: Factor out include dir computation 1ab4d186 cmLocalVisualStudio7Generator: Clarify variable name of compiled language 07e1a743 cmLocalVisualStudio7Generator: Clarify condition for target that compiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1657
| * | | Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and XcodeBrad King2018-01-1214-59/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `INCLUDE_DIRECTORIES` to match the selected language. This is not exactly the same as for other generators, but is the best VS and Xcode can do. It is also sufficient for many use cases since the set of include directories for C and C++ is frequently similar but may be distinct from those for other languages like CUDA. Fixes: #17435
| * | | Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and XcodeBrad King2018-01-1217-88/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `COMPILE_DEFINITIONS` to match the selected language. This is not exactly the same as for other generators, but is the best VS and Xcode can do. It is also sufficient for many use cases since the set of definitions for C and C++ is frequently similar but may be distinct from those for other languages like CUDA. Issue: #17435
* | | | GNU: Use -fvisibility on AIX when supportedBrad King2018-01-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the logic from commit v3.7.0-rc1~173^2~2 (GNU: Do not use -fvisibility on AIX or HP-UX, 2016-09-03) to add a version check. The GCC 7 release notes [1] state that visibility support has been added for AIX 7.1 and above. [1] https://gcc.gnu.org/gcc-7/changes.html
* | | | Tests: Remove redundant code from RunCMake.GenerateExportHeader caseBrad King2018-01-122-4/+0
| |/ / |/| | | | | | | | | | | Drop extra `add_compiler_export_flags` calls from subdirectories because it is already called in the top-level directory before entering them.
* | | Merge topic 'cuda_allow_G_to_device_debugging_on_msvc'Brad King2018-01-123-1/+91
|\ \ \ | |/ / |/| | | | | | | | | | | | | | dcc606ad CUDA: Allow -G to control device debuging on MSVC. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1619
| * | CUDA: Allow -G to control device debuging on MSVC.Robert Maynard2018-01-113-1/+91
| | | | | | | | | | | | Fixes #17551
* | | Merge topic 'specify-source-extensions'Brad King2018-01-112-12/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | efd279cd cmake: specify source file extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1645
| * | | cmake: specify source file extensionsBen Boeckel2018-01-092-12/+14
| | |/ | |/|
* | | Merge topic 'misc-typos'Brad King2018-01-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d91b2d91 MAINT: Misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1654
| * | | MAINT: Misc. typosluz.paz2018-01-101-1/+1
| | | | | | | | | | | | Found via `codespell`
* | | | Merge topic 'cuda_msvc_support_complex_gencode_signatures'Brad King2018-01-112-2/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | a91fde13 CUDA: gencode signature that list multiple code types now supported. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1618
| * | | CUDA: gencode signature that list multiple code types now supported.Robert Maynard2018-01-102-2/+3
| | |/ | |/| | | | | | | Fixes #17263
* | | Merge topic 'add_cuda_to_source_regex'Craig Scott2018-01-091-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 81868e6b CUDA: Add cu as default source file extension Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1629
| * | CUDA: Add cu as default source file extensionRobert Maynard2018-01-081-2/+2
| |/
* | Merge topic 'use_generator_is_multi_config'Brad King2018-01-0839-76/+134
|\ \ | | | | | | | | | | | | | | | | | | | | | 3c413e2a GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules c267ea1c GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1627
| * | GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in TestsCraig Scott2017-12-2939-76/+134
| | |
* | | Merge topic 'execute_process_UTF8_keyword'Brad King2018-01-083-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8caec41e execute_process: Allow UTF-8 as a synonym for the UTF8 keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1623
| * | | execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-273-1/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | UTF-8 is the proper naming according to the UTF-8 RFC and is also the name used for a similar keyword in the file() command. This commit brings (backward compatible) consistency to the keyword names and allows the standard UTF-8 name to be used with execute_process(). The old UTF8 keyword is still supported.
* | | Merge topic '17431-iphone-deployment-target'Brad King2018-01-087-0/+88
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-227-0/+88
| |/ / | | | | | | | | | Closes: #17431
* | | Merge topic 'various-typos'Craig Scott2018-01-0417-19/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3ab7bf82 Various typo fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1626
| * | | Various typo fixesLuz Paz2018-01-0317-19/+19
| |/ / | | | | | | | | | Some are user-facing. Others are source comments.
* | | FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote preventionCraig Scott2018-01-022-0/+44
|/ / | | | | | | | | Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any automatic quoting applied to it when written to the Doxyfile.
* | Merge topic 'FindPkgConfig_search_path_fix'Brad King2017-12-221-0/+61
|\ \ | |/ |/| | | | | | | | | | | | | 40b95ee8 FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handling b0ff528a FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !1602
| * FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properlyCraig Scott2017-12-161-0/+61
| |
* | Merge topic 'cuda-mixed-cxx-standard'Brad King2017-12-203-0/+25
|\ \ | |/ |/| | | | | | | | | | | 4b7618d1 CUDA: Fix CUDA_STANDARD selection via cxx_std_11 with CXX_STANDARD 1d2d9c18 cmMakefile: Refactor determining a targets C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1590
| * CUDA: Fix CUDA_STANDARD selection via cxx_std_11 with CXX_STANDARDRobert Maynard2017-12-153-0/+25
| | | | | | | | | | | | | | | | | | | | | | When C++ features require a certain C++/CUDA level, verify or update the standard level target property for each language independently. While at it, add missing rejection of invalid `CUDA_STANDARD` property values. Co-Author: Brad King <brad.king@kitware.com> Fixes: #17519
* | Merge topic 'fix_failing_ResolveDeviceSymbols_test'Brad King2017-12-152-15/+10
|\ \ | | | | | | | | | | | | | | | | | | 81642989 Cuda: ResolveDeviceSymbols now properly execute everywhere. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1593