CMake/Tests/CustomCommand
Brad King 128605054a Normalize slashes of add_custom_(command|target) DEPENDS (#11973)
All commands accepting file paths should normalize the slashes so that
the string-represented names can be compared reliably.  The commands
add_library and add_executable have done this for years.  We taught
add_custom_command to normalize its OUTPUT names in commit a75a0a14
(Normalize add_custom_command OUTPUT names, 2010-12-15).  We handled a
special case of the DEPENDS option in commit 7befc007 (Handle trailing
slashes on add_custom_command DEPENDS, 2011-01-26).

Teach both add_custom_command and add_custom_target to normalize slashes
of DEPENDS files up front.  This approach subsumes the above-mentioned
special case so remove the one line added for it but keep its test.
Extend the CustomCommand test to check that slash count mismatches
between custom command OUTPUT and DEPENDS can still be linked correctly.
2011-03-30 09:52:07 -04:00
..
GeneratedHeader BUG: fix test to list generate dheader 2006-03-24 12:20:46 -05:00
GeneratorInExtraDir BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
CMakeLists.txt Normalize slashes of add_custom_(command|target) DEPENDS (#11973) 2011-03-30 09:52:07 -04:00
check_command_line.c.in ENH: Added quick means to turn on verbose output for debugging this test. 2007-05-18 09:18:09 -04:00
check_mark.cmake ENH: Added test to make sure custom commands are not built more than once in a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377. 2007-05-01 14:12:56 -04:00
config.h.in ENH: Added test for generation of files listed explicitly as sources but not used during the build of a target. 2006-06-01 13:01:31 -04:00
doc1.tex
foo.h.in
foo.in ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command() 2008-06-02 16:45:07 -04:00
gen_redirect_in.c BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
generator.cxx BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
main.cxx ENH: now target names can be used in add_custom_command() and 2007-05-09 08:25:45 -04:00
tcat.cxx BUG: Do not escape shell operators when generating command lines. 2008-04-29 15:34:49 -04:00
wrapped.h
wrapper.cxx BUG: Fix new custom command with make-var expansion test on VS6. The VS6 IDE adds some extra characters to the variable value during expansion. 2008-06-05 10:01:16 -04:00