summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake: Move documentation to a README.rstBrad King2014-01-202-36/+52
|
* allow to mark a test as "Not Run" with a specific return code (#8466)Rolf Eike Beer2014-01-144-0/+49
|
* Merge topic 'missing-dependency-error'Brad King2014-01-1314-0/+53
|\ | | | | | | | | 0bf6f13b AddDependencies: new policy requires dependencies to exist
| * AddDependencies: new policy requires dependencies to existNils Gladitz2014-01-1214-0/+53
| | | | | | | | | | Added new policy CMP0046 which requires dependencies added by add_dependencies() to actually exist.
* | Tests: Fix find-package mode test.Stephen Kelly2014-01-111-2/+2
|/ | | | | | | | The all target was depending on the clean and pngtest targets, but when running the tests with -jN, those can be executed out of order. Make the main.o target depend on the clean target instead to fix this.
* Merge topic 'remove-duplicate-file'Brad King2014-01-101-142/+0
|\ | | | | | | | | fcd5531 Tests: Remove .orig file.
| * Tests: Remove .orig file.Stephen Kelly2014-01-101-142/+0
| | | | | | | | | | Introduced in commit be0458c5 (InstallRules: added new variable to disable generation of install rules, 2013-12-25).
* | InterfaceLibrary: Add test requiring MAP_IMPORTED_CONFIG whitelistingStephen Kelly2014-01-092-0/+28
|/ | | | | The target properties with this prefix are whitelisted for INTERFACE_LIBRARY targets.
* Merge topic 'policies'Brad King2014-01-0934-0/+178
|\ | | | | | | | | | | | | | | | | 73e9340 get_target_property: Error on non-existent target. ab9f58f FindQt4: Ensure target exists before calling get_target_property. 37ebeb9 FindQt4: Fix use of get_target_property to use actual target name. 6aabb6a Genex: Use case-sensitive comparison for COMPILER_ID. 5bb53f6 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
| * get_target_property: Error on non-existent target.Stephen Kelly2014-01-0813-0/+43
| | | | | | | | Introduce policy CMP0045 to control this behavior.
| * Genex: Use case-sensitive comparison for COMPILER_ID.Stephen Kelly2014-01-088-0/+81
| |
| * cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.Stephen Kelly2014-01-0815-0/+54
| |
* | Merge topic 'optional-install'Brad King2014-01-0917-0/+244
|\ \ | | | | | | | | | | | | be0458c InstallRules: added new variable to disable generation of install rules
| * | InstallRules: added new variable to disable generation of install rulesNils Gladitz2014-01-0817-0/+244
| | | | | | | | | | | | | | | | | | The boolean variable CMAKE_SKIP_INSTALL_RULES allows disabling generation of install rules for projects which don't want them.
* | | Help: Ensure that target-policies are added to the documentation.Stephen Kelly2014-01-071-0/+5
| |/ |/| | | | | The two most-recently-added policies were not tested for.
* | Genex: Add a nullary form for CONFIGStephen Kelly2014-01-074-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This is consistent with other similar expressions such as PLATFORM_ID, and makes the CONFIGURATION expression obsolete. Fix an off-by-one error in GeneratorExpressionContent::EvaluateParameters exposed by a unit test. Remove the test for 'bad' nullary use of $<CONFIG>. Add a unit test to verify that $<CONFIG> and $<CONFIGURATION> have the same value.
* | CompatibleInterface: Test debugging of not-set property.Stephen Kelly2014-01-072-1/+8
| |
* | Tests: simplify Qt4 target usageStephen Kelly2014-01-071-4/+1
| | | | | | | | | | This content was copied from another test where both the Core and Gui targets are used.
* | Test: Remove obsolete commented code.Stephen Kelly2014-01-071-2/+0
| | | | | | | | | | This should not have survived in commit a247911a (Tests: Don't read the LOCATION property from build targets., 2013-11-18).
* | Genex: Make EQUAL support upper case binary literalsStephen Kelly2014-01-062-9/+13
| | | | | | | | | | | | | | | | As C++11, python, D and java do. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3472.pdf Add test for uppercase hex literals.
* | Don't allow include() of export(EXPORT) file at configure time.Stephen Kelly2014-01-064-0/+14
| | | | | | | | | | | | | | | | | | As a new feature it does not need to participate in CMP0024. Store cmExportBuildFileGenerator instances which correspond to the export(EXPORT) signature in a second map which does not own the pointers. This avoids the need to add cmExportBuildFileGenerator and dependencies to the bootstrap system.
* | cmTarget: Fix system include annotation propagation.Stephen Kelly2014-01-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Direct users of IMPORTED targets treat INTERFACE_INCLUDE_DIRECTORIES as SYSTEM, after commit a63fcbcb (Always consider includes from IMPORTED targets to be SYSTEM., 2013-08-29). It was intended that transitive use of an IMPORTED target would have the same behavior, but that did not work. The implementation processed only direct dependencies in cmTarget::FinalizeSystemIncludeDirectories. Implement transitive evaluation of dependencies by traversing the link interface of each target in the link implementation.
* | add_library: Disallow invalid signatures for INTERFACE_LIBRARY.Stephen Kelly2014-01-066-1/+114
| | | | | | | | | | Document the valid signatures. Add a test for the IMPORTED GLOBAL signature.
* | cmTarget: Enable convenient include dir handling for INTERFACE_LIBRARY.Stephen Kelly2014-01-064-1/+24
| | | | | | | | | | Make the CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE variable affect INTERFACE_LIBRARY targets.
* | Genex: Add EQUAL expression.Stephen Kelly2014-01-063-2/+44
| | | | | | | | Support decimal, hex, octal and binary literals.
* | cmTarget: Use strtol for numeric parsing.Stephen Kelly2014-01-062-2/+12
| | | | | | | | | | | | On Windows apparently sscanf can not handle hex numbers. Test that numeric comparison works with hex numbers.
* | Merge topic 'minor-cleanups'Brad King2014-01-0622-7/+133
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a55c70d cmTarget: Remove support for <CONFIG>_LOCATION property. c9f9b3c cmTarget: Test impliedByUse number-compatible properties. fbe1fa7 cmTarget: Don't repeat property origin debug information. 01c545c cmTarget: Fix debug report for interface-set compatibility types. c67e1a6 cmTarget: Fix reporting interface-set properties which are FALSE. 07b0f54 Qt Tests: Remove commented and unneeded line. 79db8ef cmTarget: Fix the property compatibility error message 43340a9 Help: Reformat Qt autogenerator documentation. d98ea6c Help: Mark some code blocks as containing cmake code. ea78935 GenerateExportHeader: Reformat docs. 272a20f cmTarget: Don't update IMPORTED target compilation properties 03d842a Run the add_compile_options command unit test. cd3d0b6 get_property: Fix testing ALIASED_TARGET target property (#14670) 6a62228 install: Ensure that install(TARGETS) works with no DESTINATION af3d3b8 export: Only generate and install configuration files if needed. 0de81bb Help: Workaround pygments reporting an error for genexes. ...
| * | cmTarget: Test impliedByUse number-compatible properties.Stephen Kelly2014-01-044-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Test that it is an error to read a number-compatible property to determine the link implementation. An alternative would be to consider the value to be "0", however, that is too arbitrary given the use-cases of this feature. Values from this feature may be used in setting a define, where "0" may have special or invalid meaning and should be explicit.
| * | 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 'fix-text-typos'Brad King2014-01-061-1/+1
|\ \ \ | |/ / |/| | | | | | | | 9e41eb6 Fix wording of "the the" typos throughout text
| * | Fix wording of "the the" typos throughout textRuslan Baratov2014-01-031-1/+1
| |/
* | 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
| |