summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Don't repeat property origin debug information.Stephen Kelly2014-01-042-2/+15
|
* cmTarget: Fix debug report for interface-set compatibility types.Stephen Kelly2014-01-042-2/+15
| | | | | | | | | | | | | | | | If the dependent target sets the property to boolean false, ensure that that appears in the debug report. Previously, the report output contained whether the property was consistent among dependencies, displaying 'TRUE', instead of the content of the property, which may be 'FALSE'. Return a std::pair from the consistentProperty method. This makes it possible to make the return value for string types easier to reason about. The return value of consistentProperty was previously set to an empty static string to emulate a 'true' value for the caller in commit 816b4a8a (cmTarget: Make consistentProperty return consistent content., 2013-10-22). The pair makes the consistency result properly typed.
* cmTarget: Fix reporting interface-set properties which are FALSE.Stephen Kelly2014-01-042-1/+10
|
* Qt Tests: Remove commented and unneeded line.Stephen Kelly2014-01-041-1/+0
|
* cmTarget: Fix the property compatibility error messageStephen Kelly2014-01-046-3/+21
| | | | | | | Don't refer to 'both', but a 'mixture'. List all compatible interface property types possible. Add another test for a mixture of three compatibilities.
* cmTarget: Don't update IMPORTED target compilation propertiesStephen Kelly2014-01-043-0/+21
| | | | | | The include_directories() and add_compile_options() commands should not append to the corresponding target property for IMPORTED targets. This is already the case for add_definitions().
* Run the add_compile_options command unit test.Stephen Kelly2014-01-041-0/+1
| | | | | This has not been executed since it was added in commit a984f325 (Introduce add_compile_options command., 2013-06-04).
* get_property: Fix testing ALIASED_TARGET target property (#14670)Stephen Kelly2014-01-041-0/+22
| | | | | In the case where the argument is not an ALIAS, the variable should be set to a -NOTFOUND content.
* install: Ensure that install(TARGETS) works with no DESTINATIONStephen Kelly2014-01-041-1/+4
| | | | | INTERFACE_LIBRARY targets have no corresponding files, and so require no DESTINATION to install anything to.
* add_dependencies: Disallow use with INTERFACE_LIBRARY.Stephen Kelly2014-01-044-0/+12
|
* Merge topic 'export-EXPORT-subcommand'Brad King2014-01-0211-5/+44
|\ | | | | | | | | | | | | | | 98b9f52 Help: Document export(EXPORT) in the cmake-packages manual. a1d2bda Don't copy find_dependency in configure_package_config_file. f4f6529 Help: cmake-packages: Add missing slash. cbe7e8f export: Implement EXPORT subcommand (#9822)
| * export: Implement EXPORT subcommand (#9822)Stephen Kelly2013-12-2411-5/+44
| | | | | | | | | | | | Teach the export command to handle export sets defined by invocations of install(TARGETS ... EXPORT foo). This makes maintenance of targets exported to both the build tree and install tree trivial.
* | Merge topic 'wix-rtf-encoding'Brad King2014-01-022-0/+11
|\ \ | | | | | | | | | | | | 950d76e CPackWiX: allow and convert UTF-8 sequences in RTF writer
| * | CPackWiX: allow and convert UTF-8 sequences in RTF writerNils Gladitz2013-12-262-0/+11
| |/
* | Merge topic 'fix-ctest-regressions'Brad King2014-01-024-0/+90
|\ \ | | | | | | | | | | | | 7f0d4af CTest: fix regressions introduced by the ctest-fix-run-serial topic
| * | CTest: fix regressions introduced by the ctest-fix-run-serial topicNils Gladitz2013-12-234-0/+90
| |/ | | | | | | | | | | The first regression resulted in endless looping due to unrun test dependencies. The second regression prioritized all tests with dependencies in serial test runs.
* | Merge topic 'rpath-default'Brad King2014-01-0216-2/+58
|\ \ | |/ |/| | | | | d25ad48 OS X: Add CMP0042 to enable MACOSX_RPATH by default
| * OS X: Add CMP0042 to enable MACOSX_RPATH by defaultClinton Stimpson2014-01-0216-2/+58
| | | | | | | | | | Also adding documentation for CMAKE_MACOSX_RPATH, and improving documentation for MACOSX_RPATH.
* | cmTarget: Fix typoStephen Kelly2013-12-192-2/+2
| | | | | | | | 'a ALIAS' -> 'an ALIAS'
* | Genex: Accept arbitrary content in *_CASE and MAKE_C_IDENTIFIER.Stephen Kelly2013-12-192-6/+6
| |
* | Merge topic 'wix-fragment-injection'Brad King2013-12-192-0/+9
|\ \ | | | | | | | | | | | | 8632233 CPackWiX: allow customization of generated WiX sources
| * | CPackWiX: allow customization of generated WiX sourcesNils Gladitz2013-12-172-0/+9
| |/ | | | | | | | | | | Added a new variable CPACK_WIX_PATCH_FILE that users can point at an XML patch file. Fragments defined within the patch file will be inserted at supported insertion points (currently Component, File and Directory).
* | Merge topic 'GenerateExportHeader-tests'Brad King2013-12-1931-326/+595
|\ \ | | | | | | | | | | | | | | | 2410b91 Merge some GenerateExportHeader subtests. 4017db1 Speed up the GenerateExportHeader unit test (#14453).
| * | Merge some GenerateExportHeader subtests.Stephen Kelly2013-12-1515-143/+28
| | |
| * | Speed up the GenerateExportHeader unit test (#14453).Stephen Kelly2013-12-1517-183/+567
| |/ | | | | | | | | | | | | | | Instead of running many small tests with many cmake projects, simply compare the generated export header against a reference. Remove the helper macros and the try_compiles which are duplicates of the library build tests.
* | Merge topic 'build-symlink-invalid-sup-file'Brad King2013-12-191-1/+9
|\ \ | | | | | | | | | | | | 57c008c Tests: allow valgrind test to pass with symlinked build dir
| * | Tests: allow valgrind test to pass with symlinked build dirNils Gladitz2013-12-141-1/+9
| |/
* | Merge topic 'remove-INTERFACE-build-targets'Brad King2013-12-197-41/+21
|\ \ | | | | | | | | | | | | 97fae68 Remove INTERFACE build targets.
| * | Remove INTERFACE build targets.Stephen Kelly2013-12-107-41/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b04f3b9a (Create make rules for INTERFACE_LIBRARY targets., 2013-08-21) extended the makefile generator to create build targets for INTERFACE_LIBRARY targets. No other generators were extended with this feature. This conflicts with the feature of whitelisting of target properties read from INTERFACE_LIBRARY targets. The INTERFACE_* properties of the INTERFACE_LIBRARY may legitimately contain TARGET_PROPERTY generator expressions for reading properties from the 'head target'. The 'head target' would be the INTERFACE_LIBRARY itself when creating the build rules for it, which means that non-whitelisted properties would be read.
* | Merge topic 'fix-INTERFACE-mapped-config'Brad King2013-12-194-0/+25
|\ \ | | | | | | | | | | | | 3b8e56a Don't search for IMPORTED_LOCATION of INTERFACE_LIBRARY (14636)
| * | Don't search for IMPORTED_LOCATION of INTERFACE_LIBRARY (14636)Stephen Kelly2013-12-094-0/+25
| |/ | | | | | | | | | | | | | | The INTERFACE_LIBRARY type does not have any LOCATION at all, so return early from GetMappedConfig. GetMappedConfig is called from two locations, one of which already pre-checks the INTERFACE_LIBRARY case. Remove that pre-check and handle that case inside the method instead.
* | Merge topic 'vtk-contract'Brad King2013-12-191-0/+9
|\ \ | |/ |/| | | | | ad330ed Tests/Contracts: Submit notes with VTK build
| * Tests/Contracts: Submit notes with VTK buildZack Galbreath2013-12-191-0/+9
| | | | | | | | | | Submit the configured Dashboard script as as Notes file to CDash. Also add comments about the origin & purpose of this test.
* | Merge topic 'vtk-contract'Brad King2013-12-092-4/+3
|\ \ | |/ | | | | | | ca9e117 Tests/Contracts: Fix failing VTK Contract test
| * Tests/Contracts: Fix failing VTK Contract testZack Galbreath2013-12-092-4/+3
| | | | | | | | | | This test was failing because it was attempting to build VTK in the wrong directory.
* | Merge topic 'INTERFACE_AUTOUIC_OPTIONS'Brad King2013-12-0914-0/+201
|\ \ | | | | | | | | | | | | | | | 77f3772 cmTarget: Require a compatible INTERFACE_AUTOUIC_OPTIONS from dependencies. 2e60b5f cmTarget: Report origin of COMPATIBLE_INTERFACE properties.
| * | cmTarget: Require a compatible INTERFACE_AUTOUIC_OPTIONS from dependencies.Stephen Kelly2013-12-086-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the origin-tracking infrastructure from commit 98093c45 (QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property., 2013-11-20). Use the compatibility-tracking for compatible strings instead. If two different dependencies require different AUTOUIC_OPTIONS, cmake will now appropriately issue an error.
| * | cmTarget: Report origin of COMPATIBLE_INTERFACE properties.Stephen Kelly2013-12-089-0/+158
| | |
* | | Merge topic 'cleanup-build-commands'Brad King2013-12-063-1/+10
|\ \ \ | | | | | | | | | | | | | | | | ef7c11e Tests: Fix standalone build of tests with nested projects
| * | | Tests: Fix standalone build of tests with nested projectsBrad King2013-12-053-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit fd6076d0 (Tests: Pass CMAKE_MAKE_PROGRAM instead of --build-makeprogram, 2013-11-15) the ExportImport, Fortran, and MacRuntimePath tests use the value of CMAKE_TEST_MAKEPROGRAM as the CMAKE_MAKE_PROGRAM for their nested projects configurations. Teach these tests to initialize CMAKE_TEST_MAKEPROGRAM when it is not provided, such as when building the tests manually.
* | | | Merge topic 'vtk-contract'Brad King2013-12-055-31/+79
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| 1b173f2 Tests/Contracts: Update test for VTK release branch
| * | Tests/Contracts: Update test for VTK release branchZack Galbreath2013-12-055-31/+79
| | | | | | | | | | | | | | | | | | The plan is to reinstate the VTK contracts test so that CMake & VTK devs will both be made aware when a change in CMake causes build problems for VTK.
* | | Merge topic 'fix-export-segfault'Brad King2013-12-046-0/+13
|\ \ \ | | | | | | | | | | | | | | | | 1cd1430 export(): Check targets exist at configure-time (#14608)
| * | | export(): Check targets exist at configure-time (#14608)Stephen Kelly2013-12-046-0/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Commit 66b290e7 (export(): Process the export() command at generate time., 2012-10-06 ) refactored export() so that it could evaluate strings at generate-time. This was intended for evaluating target properties, but that commit also removed a check for target existence at configure-time. Restore that check and add a test for this case.
* | | Merge topic 'INTERFACE_AUTOUIC_OPTIONS'Brad King2013-12-0213-0/+340
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98093c4 QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. 02542b4 QtAutoUic: Handle new -include command line parameter. 1242f4e Genex: Add {UPPER,LOWER}_CASE and MAKE_C_IDENTIFIER. 754b321 QtAutogen: Use config without prefix in map key.
| * | | QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property.Stephen Kelly2013-11-2711-0/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Transitively consume the property from linked dependents. Implement configuration-specific support by following the pattern set out for compile definitions and includes in cmQtAutoGenerators. Implement support for origin-tracking with CMAKE_DEBUG_TARGET_PROPERTIES. This is motivated by the needs of KDE, which provides a separate translation system based on gettext instead of the Qt linguist translation system. The Qt uic tool provides command line options for configuring the method used to translate text, and to add an include directive to the generated file to provide the method. http://thread.gmane.org/gmane.comp.kde.devel.frameworks/7930/focus=7992 Implement the interface to provide the uic options as a usage-requirement on the KI18n target, as designed for KDE.
| * | | Genex: Add {UPPER,LOWER}_CASE and MAKE_C_IDENTIFIER.Stephen Kelly2013-11-272-0/+6
| |/ /
* | | Merge topic 'wix-components'Brad King2013-12-021-1/+13
|\ \ \ | | | | | | | | | | | | | | | | 7b390f7 CPackWiX: add CPack component support
| * | | CPackWiX: add CPack component supportNils Gladitz2013-11-261-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates a hierarchy of WiX features from CPack components and component groups. Switch to the FeatureTree UI in case components have been defined. Handles the component REQUIRE and HIDDEN options and the component group EXPANDED option.
* | | | Merge topic 'export-includes'Brad King2013-12-0232-3/+336
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5838aba Export: Report error on relative include with genex. 7a3e45b Export: Prefix relative items with genexes in INSTALL_INTERFACE. f088a32 Export: Process INSTALL_INTERFACE in INCLUDES DESTINATION. 9eedc85 Export: Process relative includes after genex evaluation. 80790f3 Export: Test existing behavior of exporting includes with genexes. 38afc82 target_include_directories: Allow relative path with genex