summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* bindexplib: fix constants symbols exportMikhail Paulyshka2017-04-262-0/+12
|
* Merge topic 'remove-xcode-2'Brad King2017-04-247-60/+5
|\ | | | | | | | | | | | | | | | | 7373b389 Xcode: Drop support for Xcode versions below 3 eaf53849 Xcode: Compute version number earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !737
| * Xcode: Drop support for Xcode versions below 3Brad King2017-04-227-60/+5
| |
* | Merge topic 'vs8-deprecate'Brad King2017-04-245-0/+15
|\ \ | | | | | | | | | | | | | | | | | | 81f9c9e8 Deprecate Visual Studio 8 2005 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !739
| * | Deprecate Visual Studio 8 2005 generatorBrad King2017-04-215-0/+15
| |/ | | | | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning.
* | Merge topic 'namespace-jar-exports'Brad King2017-04-243-2/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 0bee0066 Tests: Test namespaces with exported JARs 789c8de3 UseJava: Support namespaced exports Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !729
| * | Tests: Test namespaces with exported JARsMatthew Woehlke2017-04-213-2/+6
| | |
* | | Merge topic 'fix-test-all-find-modules'Brad King2017-04-242-6/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cda401fe Tests: Simplify CMakeOnly.AllFindModules policy settings 1a2ede17 Tests: Fix FindModulesExecuteAll when KDE4 is installed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !736
| * | | Tests: Simplify CMakeOnly.AllFindModules policy settingsBrad King2017-04-211-5/+1
| | | |
| * | | Tests: Fix FindModulesExecuteAll when KDE4 is installedBrad King2017-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set `CMP0017` to `NEW` so that when FindKDE4 sets `CMAKE_MODULE_PATH` it does not break internal dependencies of other find modules. Fixes: #16823
| * | | Merge branch 'server-mode-test-no-pyc' into releaseBrad King2017-04-031-0/+1
| |\ \ \
| * \ \ \ Merge branch 'mac-implicit-link-no-lto-flag' into releaseBrad King2017-04-031-0/+6
| |\ \ \ \
* | \ \ \ \ Merge topic 'loosen-object-deps'Brad King2017-04-247-1/+97
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d96e5d9a Tests: use BYPRODUCTS in the CustomCommandWorkingDirectory test 664591ce RunCMake.Ninja: add a test for assumed sources adf60b28 ninja: break unnecessary target dependencies 01c5bb95 RunCMake.Ninja: support passing arguments when running ninja 7f947b60 ninja: remove duplicate order-only dependencies e9827eba ninja: describe the intermediate order depends target better b57b7d8e Ninja: Order Fortran dyndep file generation explicitly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !430
| * | | | | Tests: use BYPRODUCTS in the CustomCommandWorkingDirectory testBen Boeckel2017-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was inadvertently testing the assumed sources behavior in Ninja (no other test seems to exercise it). There is now a test explicitly testing it in `RunCMake.Ninja`, so fix this test to work properly regardless of the assumed sources behavior.
| * | | | | RunCMake.Ninja: add a test for assumed sourcesBen Boeckel2017-04-212-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a dark corner of the Ninja generator. It should be fixed in the future, but add a test which shows its behaviors.
| * | | | | ninja: break unnecessary target dependenciesBen Boeckel2017-04-215-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, given two libraries, X and Y where X depends on Y, all object compilations of X would require the Y library to have been linked before being compiled. This is not necessary and can instead be loosened such that object compilations of X only depend on the order-only dependencies of Y to be completed. This is to ensure that generated sources, headers, custom commands, etc. are completed before X starts to compile its objects. This should help build performance in projects with many libraries which cause a deep library dependency chain. Previously, a library at the bottom would not start compilation until after all other libraries completed, but now only its link step needs to wait and its compilation jobs can be run in parallel with other tasks. Fixes: #15555
| * | | | | RunCMake.Ninja: support passing arguments when running ninjaBen Boeckel2017-04-211-1/+1
| | | | | |
* | | | | | Merge topic 'enable_ptx_compilation'Brad King2017-04-216-0/+145
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23691d78 CUDA: Allow sources to be compiled to .ptx files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !725
| * | | | | CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-206-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.
* | | | | | Merge topic 'GNUInstallDirs-add-RUNSTATEDIR'Brad King2017-04-215-0/+9
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40814a7c GNUInstallDirs: Add RUNSTATEDIR variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !706
| * | | | | GNUInstallDirs: Add RUNSTATEDIR variableFelix Geyer2017-04-205-0/+9
| | | | | |
* | | | | | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-1913-41/+15
| |/ / / / |/| | | | | | | | | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | | | | Merge topic 'objlib-extend'Brad King2017-04-1936-58/+193
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712
| * | | | | Allow OBJECT libraries to be installed, exported, and importedRobert Maynard2017-04-1819-12/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
| * | | | | Genex: Allow TARGET_OBJECTS to be used everywhereRobert Maynard2017-04-186-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the `TARGET_OBJECTS` generator expression was limited only to use in a buildsystem context so that Xcode's placeholders in object file paths can be evaluated. Lift this restriction so that the expression can at least be used in most settings. Co-Author: Brad King <brad.king@kitware.com>
| * | | | | Genex: Reject TARGET_OBJECTS on non-object libraries earlierBrad King2017-04-1810-32/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the diagnostic that rejects the TARGET_OBJECTS generator expression in non-buildsystem context until after the check for whether the named target is an object library. This order will makes more sense than the previous order once TARGET_OBJECTS is allowed in non-buildsystem context.
| * | | | | Tests: ExportImport C code should use explicit (void) in prototypesRobert Maynard2017-04-181-12/+12
| | | | | |
* | | | | | Merge topic 'test-CheckIPOSupported'Brad King2017-04-1910-0/+99
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eeb58c5c Tests: Add cases for typical CheckIPOSupported usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !700
| * | | | | | Tests: Add cases for typical CheckIPOSupported usageRuslan Baratov2017-04-1810-0/+99
| | | | | | |
* | | | | | | Merge topic 'fix-CMakeTestAllGenerators'Brad King2017-04-192-49/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e338b57 Tests: Drop machine-specific logic from CMakeTestAllGenerators 2790ffc9 Tests: Run CMakeTestAllGenerators serially f1e51ec3 Tests: Fix CMakeTestAllGenerators generator list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !720
| * | | | | | | Tests: Drop machine-specific logic from CMakeTestAllGeneratorsBrad King2017-04-181-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop hard-coded paths from this test. If we later need machine-specific environment entries we can add dedicated infrastructure for it to be configured locally.
| * | | | | | | Tests: Run CMakeTestAllGenerators seriallyBrad King2017-04-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test may take a long time because it runs many other tools. Do not make it compete with other tests for resources.
| * | | | | | | Tests: Fix CMakeTestAllGenerators generator listBrad King2017-04-181-27/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since `cmake --help` output now uses `[arch]` placeholders for the VS generators, this test has been extracting invalid generator names. Switch to using `cmake -E capabilities` to get a more robust listing of the generators that does not depend on parsing human-readable help output.
* | | | | | | | Merge topic 'findmpi-add-imported-targets'Brad King2017-04-195-0/+80
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ed9f635 FindMPI: Add test case 86979bb5 FindMPI: Add IMPORTED targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !707
| * | | | | | | FindMPI: Add test caseChristian Pfeiffer2017-04-185-0/+80
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'fix-CMP0026-old'Brad King2017-04-182-0/+13
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e616fcf CMP0026: Fix OLD behavior with file written during configure step Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !710
| * | | | | | CMP0026: Fix OLD behavior with file written during configure stepBrad King2017-04-172-0/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 60307c5056 (cmGeneratorTarget: Replace source classifier implementation, 2017-04-07) accidentally regressed support for CMP0026's OLD behavior in the case of a source file written by project code during the configure step after getting a LOCATION. We should not perform full source classification until the generate step because files written by the project's configure step may not exist yet. Add special logic to support this case. Add a test case for it. Reported-by: David Stoup <david.stoup@kitware.com>
* | | | | | file: Add COPY/INSTALL option for fixed layout relative to a directoryBrad King2017-04-139-0/+38
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `FILES_FROM_DIR` option to install a specific set of files specified relative to a given directory and preserve their layout in the destination. Currently we intend to use this internally to implement other things so we don't provide an `install()` porcelain or documentation yet.
* | | | | Merge topic 'project-description'Brad King2017-04-136-0/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b484871 project: Add `DESCRIPTION` parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !679
| * | | | | project: Add `DESCRIPTION` parameterAlex Turbov2017-04-116-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is quite often the project description has used in a real world software. Examples include: * part of a help screen of the application * builtin resources (`*.rc` files, data for "About" dialog of a GUI app, & etc) * most generators for CPack can use it * it could be used by documentary software (Doxygen, Sphinx) which is usually integrated to CMake based projects via `add_custom_target()` Now `project()` call learned an optional `DESCRIPTION` parameter with a short string describing a project. Being specified, it would set the `PROJECT_DESCRIPTION` variable which could be used in `configure_file()` or whatever user wants. Also `PROJECT_DESCRIPTION` is a default value for `CPACK_PACKAGE_DESCRIPTION_SUMMARY`.
* | | | | | Use quotes for non-system includesDaniel Pfeifer2017-04-114-5/+5
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* | | | | Merge topic 'include_external_msproject-map-config'Brad King2017-04-067-4/+34
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 227de0b9 include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG> 4cd815f0 VS: Pass whole target to WriteProjectConfigurations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !669
| * | | | | include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>Beeble2017-04-057-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows projects added via `include_external_msproject` to compile the preferred configuration despite different naming conventions.
* | | | | | Merge topic 'prop-is-multi-config'Brad King2017-04-055-0/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01826231 Tests: Add case for GENERATOR_IS_MULTI_CONFIG 38fd5866 Add GENERATOR_IS_MULTI_CONFIG global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !657
| * | | | | | Tests: Add case for GENERATOR_IS_MULTI_CONFIGBrad King2017-04-045-0/+11
| |/ / / / /
* | | | | | Merge topic 'CheckIPOSupported-Fortran'Brad King2017-04-054-9/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87199ea6 CheckIPOSupported: Add Fortran support c92fd256 CheckIPOSupported: Move '_CMakeLTOTest-*' under 'CMakeFiles' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !655
| * | | | | | CheckIPOSupported: Add Fortran supportRuslan Baratov2017-04-044-9/+0
| |/ / / / /
* | | | | | Merge topic 'mac-implicit-link-no-lto-flag'Brad King2017-04-041-0/+6
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 53f17333 CMakeParseImplicitLinkInfo: Ignore ld -lto_library flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !658
| * | | | | CMakeParseImplicitLinkInfo: Ignore ld -lto_library flagBrad King2017-04-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `ld` tool in Xcode 8.3 now has a `-lto_library <path>` flag. Ignore the flag instead of accidentally parsing it as `-l` with `to_library`. Fixes: #16766
* | | | | | Merge topic 'server-mode-test-no-pyc'Brad King2017-04-041-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e51d9395 Tests: Avoid generating .pyc files during Server test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !659