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
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
config.h.in
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
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