summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'language-generator-expressions'Brad King2013-05-248-0/+116
|\ | | | | | | | | 3241014 Add $<LINK_LANGUAGE> generator expression
| * Add $<LINK_LANGUAGE> generator expressionStephen Kelly2013-05-248-0/+116
| | | | | | | | | | | | They can't be used when evaluating link libraries, but they can be used for include directories and compile definitions. Later they can be used for compile options.
* | Merge topic 'fix-include_directories-whitespace-handling'Brad King2013-05-241-1/+4
|\ \ | | | | | | | | | | | | a97240b Tests/IncludeDirectories: Avoid shared library with no symbols
| * | Tests/IncludeDirectories: Avoid shared library with no symbolsBrad King2013-05-231-1/+4
| | | | | | | | | | | | | | | | | | The parent commit added a empty_entry_test shared library to the IncludeDirectories test. Some toolchains fail to create a shared library with no user-defined symbols, so provide a dummy symbol.
* | | Merge topic 'Memchecker-Mac-fix'Brad King2013-05-241-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 0aed09f Tests: ignore GuardMalloc messages on all Apple build, not just XCode ones
| * | | Tests: ignore GuardMalloc messages on all Apple build, not just XCode onesRolf Eike Beer2013-05-231-1/+1
| | | |
* | | | Merge topic 'join-genex'Brad King2013-05-224-3/+29
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | a7ba452 Add the JOIN generator expression. 96ec314 Make it possible for any genex to have arbitrary content at the end. bd638ee Rename the method determining if a genex accepts arbitrary content. dc742fe Extract the ProcessArbitraryContent method.
| * | | Add the JOIN generator expression.Stephen Kelly2013-05-164-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | This generator expression joins a list with a separator. The separator may contain arbitrary content, such as commas, which is ordinarily a delimiter in the generator expression syntax.
* | | | Merge topic 'Memchecker-AIX-fix'Brad King2013-05-221-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1a2a6ba Tests: fix build of dummy memtester on AIX
| * | | | Tests: fix build of dummy memtester on AIXRolf Eike Beer2013-05-211-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | Both <string> and <cmSystemTools.h> include <stdio.h> one or the other way. It looks like the CMake header adds a define that will cause another part of the system header to be used, resulting in conflicting definitions.
* | | | Merge topic 'string-MAKE_C_IDENTIFIER-subcommand'Brad King2013-05-221-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 0ab50ae string: Add MAKE_C_IDENTIFIER subcommand
| * | | | string: Add MAKE_C_IDENTIFIER subcommandStephen Kelly2013-05-211-0/+6
| | | | |
* | | | | Merge topic 'add-EXPORT_NAME-property'Brad King2013-05-229-7/+65
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | b5d6f5d Add EXPORT_NAME property.
| * | | | Add EXPORT_NAME property.Stephen Kelly2013-05-189-7/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for example, the buildsystem to use names like 'boost_any' instead of the overly generic 'any', and still be able to generate IMPORTED targets called 'boost::any'.
* | | | | Merge topic 'fix-include_directories-whitespace-handling'Brad King2013-05-212-0/+12
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | 2f84dfe include_directories: Fix handling of empty or space-only entries
| * | | | include_directories: Fix handling of empty or space-only entriesStephen Kelly2013-05-212-0/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a regression introduced in commit 0d46e9a0 (Store includes from the same include_directories call together., 2013-01-20). Reported at http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/46695/focus=7847
* | | | Merge topic 'fix-genex-comma-parse'Brad King2013-05-212-0/+20
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | 05bf972 Fix handling of commas in arbitrary content in genexes.
| * | | Fix handling of commas in arbitrary content in genexes.Stephen Kelly2013-05-162-0/+20
| |/ / | | | | | | | | | | | | As the comma is the parameter separator, it needs to be re-added when evaluating to reconstruct arbitrary content.
* | | Merge topic 'implicit-link-sanitize-regex'Brad King2013-05-211-0/+1
|\ \ \ | | | | | | | | | | | | | | | | ffda082 Sanitize linker name to parse implicit link line (#14154)
| * | | Sanitize linker name to parse implicit link line (#14154)Brad King2013-05-171-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | Teach CMakeParseImplicitLinkInfo to convert the CMAKE_LINKER file name to a regular expression that matches only the original name. Escape special characters like '+' so they are not treated as regex syntax. Extend the ImplicitLinkInfoTest to test handling of a CMAKE_LINKER value with many special characters.
* | | Merge topic 'error-on-exported-missing-include-dir'Brad King2013-05-214-0/+15
|\ \ \ | | | | | | | | | | | | | | | | eabefa8 Error on relative path in INCLUDE_DIRECTORIES target property.
| * | | Error on relative path in INCLUDE_DIRECTORIES target property.Stephen Kelly2013-05-214-0/+15
| | |/ | |/| | | | | | | | | | Add policy CMP0021 to preserve existing behavior in projects expecting it from earlier CMake versions.
* | | Merge topic 'vs-windows-forms'Brad King2013-05-217-0/+193
|\ \ \ | | | | | | | | | | | | | | | | 79ec786 VS: Add Windows Forms Support
| * | | VS: Add Windows Forms SupportJohn Farrier2013-05-167-0/+193
| |/ / | | | | | | | | | | | | | | | | | | Add support to maintain designer functionality for Visual Studio C++ Windows Forms projects. Also add a test project showing how to use the CMakeLists.txt file and, when successfully configured, will allow use of the designer for the included form.
* | | Merge topic 'test-moc-with-empty-COMPILE_DEFINITIONS'Brad King2013-05-213-0/+47
|\ \ \ | | | | | | | | | | | | | | | | 5c0f2a1 Test the use of target transitive compile definitions with moc.
| * | | Test the use of target transitive compile definitions with moc.Stephen Kelly2013-05-153-0/+47
| | | |
* | | | Merge topic 'Automoc-Qt4-Qt5'Brad King2013-05-215-15/+55
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | 6489015 Remove an endif() followed by an if() for the same condition. e7813b1 Add a test for Qt5Automoc 27fb96b Make the QtAutomoc test compile with either Qt 4 or Qt 5
| * | Remove an endif() followed by an if() for the same condition.Stephen Kelly2013-03-161-2/+1
| | |
| * | Add a test for Qt5AutomocStephen Kelly2013-03-163-8/+42
| | | | | | | | | | | | The same source is used as for the Qt4Automoc test.
| * | Make the QtAutomoc test compile with either Qt 4 or Qt 5Stephen Kelly2013-03-162-6/+13
| | |
* | | Merge topic 'MemChecker-improvements'Brad King2013-05-1634-369/+199
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10bc50e Tests: ignore Guard Malloc messages in MemChecker tests 159c3e9 Tests: add a test with custom options passed to valgrind 61ddb93 CTest: fix comment documenting cmBoundsCheckerParser class cbdfcb0 Tests: add test for non-existent Valgrind suppression file 3b5b758 CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flags 7752253 Tests: verify that memory checker output files are always present abf1df4 Tests: remove code duplication in CTestTestMemCheck tests f499422 CTest: remove unreachable code and CTestTestMemcheckUnknown test dde6306 CTest: use an output file for Valgrind (#14110) bcc0f3f Tests: create output files for all memory checkers
| * | | Tests: ignore Guard Malloc messages in MemChecker testsRolf Eike Beer2013-05-141-1/+7
| | | |
| * | | Tests: add a test with custom options passed to valgrindRolf Eike Beer2013-05-092-0/+15
| | | |
| * | | Tests: add test for non-existent Valgrind suppression fileRolf Eike Beer2013-05-091-1/+7
| | | |
| * | | Tests: verify that memory checker output files are always presentRolf Eike Beer2013-05-092-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | All supported memory checkers now write their output to a file. Use a dummy checker that ignores the given filename and ensure that the missing file is reported as error.
| * | | Tests: remove code duplication in CTestTestMemCheck testsRolf Eike Beer2013-05-0929-319/+55
| | | | | | | | | | | | | | | | | | | | | | | | The code for the tests is basically the same for all those subtests, so have one template and configure that for as many tests as possible to make it easier maintainable.
| * | | CTest: remove unreachable code and CTestTestMemcheckUnknown testRolf Eike Beer2013-05-094-36/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The memory checker command can't be quoted at this point, because previously it has been tested that the given file exists, which will fail if the name is quoted. The CTestTestMemcheckUnknown test aimed to test this case, has always failed to do so and serves no useful purpose therefore.
| * | | Tests: create output files for all memory checkersRolf Eike Beer2013-05-092-14/+72
| | |/ | |/| | | | | | | | | | | | | | | | The dummy memory tester implementation now understands the command line switches for all memory checkers to redirect the output to a file. This avoids triggering the error cases for BoundsChecker and Purify because the output file does not exist.
* | | Merge topic 'doc-improvements'Brad King2013-05-164-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cc2805 Docs: Clarify wording "flag used" => "flag (to|will) be used" 2378a69 Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames 56ca34d Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) 2bab472 VS10: add detailed comment about MIDL processing e619111 Explain distribution of Win9x binary on all Windows versions. 5ca4336 FindwxWidgets: add DOC strings with usual style f57800d Fix spelling and typos (product names) bf019d7 Fix spelling and typos (non-binary) ddac8d3 Fix spelling and typos (affecting binary data / module messages) 86832ce Fix spelling and typos (affecting users)
| * | | Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-1/+1
| | | |
| * | | Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-074-6/+6
| |/ /
* | | Merge topic 'fix-per-config-tll-include-dirs'Brad King2013-05-163-0/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | 88308bc Test that linking using the debug keyword to tll works. 20104ab Test transitive includes from setting the LINK_LIBRARIES property.
| * | | Test that linking using the debug keyword to tll works.Stephen Kelly2013-05-161-0/+8
| | | |
| * | | Test transitive includes from setting the LINK_LIBRARIES property.Stephen Kelly2013-05-062-0/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | Commit b8259c3d (Centralize maintenance of usage requirement include directories, 2013-04-29) changed the handling of the property. Previously setting the property directly instead of via target_link_libraries would not result in transitive include directory handling.
* | | Merge topic 'improve-get_filename_component-names'Brad King2013-05-1613-206/+47
|\ \ \ | | | | | | | | | | | | | | | | | | | | 7d1590e get_filename_component: Add DIRECTORY option (#14091) ec1ba9b get_filename_component: Add explicit unit tests
| * | | get_filename_component: Add DIRECTORY option (#14091)Brad King2013-04-161-9/+10
| | | | | | | | | | | | | | | | | | | | The name "PATH" is not precise so add equivalent option "DIRECTORY". Document the latter as preferred and the former as a legacy alias.
| * | | get_filename_component: Add explicit unit testsBrad King2013-04-1613-206/+46
| | | | | | | | | | | | | | | | | | | | Add test RunCMake.get_filename_component to cover cases of the command. Remove redundant coverage of these cases from the "complex" tests.
* | | | Merge topic 'msbuild-targets-in-subdirs'Brad King2013-05-1623-0/+999
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac9a5f4 ctest_build: Pass projectDir to GenerateBuildCommand a6c0299 CTest: Simplify ctest_* command source/build dir lookup 1ca9318 VS: Add test for building MSBuild project in subdir 3cd4000 VS: Use .sln parser to build targets in subdirs with msbuild (#13623) df035e4 VS: Create parser for Visual Studio .sln files de8be9e Add projectDir parameter to GenerateBuildCommand
| * | | | ctest_build: Pass projectDir to GenerateBuildCommandPetr Kmoch2013-04-122-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the ctest_build command's TARGET option to name a target in a subdirectory and still build properly with msbuild. Add test case covering use of ctest_build() with such a TARGET.
| * | | | VS: Add test for building MSBuild project in subdirPetr Kmoch2013-04-123-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test covering cmGlobalGenerator::GenerateBuildCommand for VS solutions with MSBuild and building a target defined in a subdirectory and not part of ALL.