summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CTest: drop suppression for gcc 2.9.6 errors from default Valgrind flagsRolf Eike Beer2013-05-091-1/+0
| | | | | | | | | | | The --workaround-gcc296-bugs has been part of the default Valgrind flags since Valgrind support was added in commit 5b232ded151fc22144978b74cdaf7031d466e527 (ENH: Add initial memory check support which works for Valgrind, 2003-12-15). The Valgrind manpage says that this option should be avoided if not really needed as it may cause real errors to get ignored. If someone uses a compiler that really needs the flag this flag should be set by the user explicitely. Most users will never set any flags and probably never notice that they use a flag they shouldn't.
* 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-095-43/+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.
* CTest: use an output file for Valgrind (#14110)Rolf Eike Beer2013-05-093-6/+36
| | | | | This makes sure Valgrind output will not screw up tests that match on the output.
* 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.
* CMake Nightly Date StampKitware Robot2013-05-091-1/+1
|
* CMake Nightly Date StampKitware Robot2013-05-081-1/+1
|
* CMake Nightly Date StampKitware Robot2013-05-071-1/+1
|
* Merge topic 'doc-tll-usage-requirements'Brad King2013-05-061-8/+11
|\ | | | | | | | | 2618e02 target_link_libraries: Update usage requirements documentation
| * target_link_libraries: Update usage requirements documentationBrad King2013-04-301-8/+11
| | | | | | | | | | | | Re-word the documentation to make clear that CMake integrates usage requirements during generation and not synchronously during configuration or execution of target_link_libraries.
* | Merge topic 'fix-per-config-tll-include-dirs'Brad King2013-05-063-23/+54
|\ \ | | | | | | | | | | | | | | | | | | dea1df4 Memoize usage requirement include directories in a config-specific map 26dba6a Fix include dir propagation from conditionally linked targets b8259c3 Centralize maintenance of usage requirement include directories
| * | Memoize usage requirement include directories in a config-specific mapStephen Kelly2013-05-061-4/+18
| | | | | | | | | | | | | | | | | | | | | Commit 42ebb188 (Memoize includes and defines from interface libraries., 2013-02-22) introduced caching of the includes. Fix the memoization to be configuration-specific so that we do not accumulate entries across multiple evaluations in a multi-config generator.
| * | Fix include dir propagation from conditionally linked targetsStephen Kelly2013-05-061-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generator expressions, including configuration-specific expressions may be used as link libraries of targets. The old-style keywords of target_link_libraries are handled in terms of new generator expressions. However, the generator expressions expect target names to be valid against a regular expression, whereas target_link_libraries does not require validation. In generator expression constructed without any action from the user we need to ensure that only valid expressions are generated. Ensure that strings which are not valid target names are not used in generator expressions which validate the argument. Code like target_link_libraries(B debug A) generates usage requirement references such as "$<$<CONFIG:DEBUG>:A>". When cmTarget::GetIncludeDirectories uses such references it generates expressions like: $<TARGET_PROPERTY:$<$<CONFIG:DEBUG>:A>,INTERFACE_INCLUDE_DIRECTORIES> When the conditions are false such references evaluate as an empty string and the expression fails with an error such as: $<TARGET_PROPERTY:tgt,prop> expression requires a non-empty target name. Fix this by teaching cmTarget::GetIncludeDirectories to wrap the above expression inside a conditional: $<$<BOOL:$<$<CONFIG:DEBUG>:A>>:...> so that $<TARGET_PROPERTY:...> will not be evaluated with an empty target.
| * | Centralize maintenance of usage requirement include directoriesStephen Kelly2013-05-063-15/+17
| |/ | | | | | | | | | | Maintain a target's internal list of usage requirement include directories whenever the LINK_LIBRARIES property is set by either target_link_libraries or set_property.
* | CMake Nightly Date StampKitware Robot2013-05-061-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-05-051-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-05-041-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-05-031-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-05-021-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-05-011-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-301-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-291-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-281-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-271-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-261-1/+1
|/
* CMake Nightly Date StampKitware Robot2013-04-251-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-241-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-231-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-221-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-211-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-201-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-191-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-181-1/+1
|
* Merge topic 'doc-get_filename_component'Brad King2013-04-171-9/+10
|\ | | | | | | | | df71f96 get_filename_component: Document path components more clearly (#14091)
| * get_filename_component: Document path components more clearly (#14091)Brad King2013-04-161-9/+10
| | | | | | | | | | Organize component names in a table to explain each in more detail. Clearly state that PATH is the directory name.
* | Merge topic 'missing-fclose-in-trycompile'Brad King2013-04-171-0/+1
|\ \ | | | | | | | | | | | | ce441fa try_compile: add missing fclose() to recently added error case
| * | try_compile: add missing fclose() to recently added error caseRolf Eike Beer2013-04-161-0/+1
| |/ | | | | | | | | | | | | | | In commit 236133e7 (Handle targets in the LINK_LIBRARIES of try_compile, 2013-02-09) an error return case was added without closing the file in progress. Add the missing fclose() call. Spotted by sevenhill.
* | Merge topic 'fix-clear-INCLUDE_DIRECTORIES-prop'Brad King2013-04-172-0/+15
|\ \ | | | | | | | | | | | | 5a5e0fa Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.
| * | Fix clearing of the INCLUDE_DIRECTORIES DIRECTORY property.Stephen Kelly2013-04-102-0/+15
| | | | | | | | | | | | | | | This was broken by commit 18a3195a (Keep track of INCLUDE_DIRECTORIES as a vector of structs., 2012-11-19).
* | | CMake Nightly Date StampKitware Robot2013-04-171-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2013-04-161-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-151-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-141-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-131-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-121-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-111-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-04-101-1/+1
|/
* CMake Nightly Date StampKitware Robot2013-04-091-1/+1
|
* CMake Nightly Date StampKitware Robot2013-04-081-1/+1
|