summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Re-arranged code to test adding a custom command to generate a source ↵Brad King2007-06-111-12/+9
| | | | file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works.
* BUG: Replace "with space" in custom command argument tests with "w s" to ↵Brad King2007-05-181-46/+46
| | | | still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
* ENH: Added quick means to turn on verbose output for debugging this test.Brad King2007-05-182-1/+5
|
* ENH: Add testing of * and / character arguments except on MinGW.Brad King2007-05-171-2/+5
|
* ENH: Added test for custom command lines with special single-character ↵Brad King2007-05-171-4/+8
| | | | arguments.
* BUG: Disable test of angle bracket escapes until it works everywhere.Brad King2007-05-171-6/+6
|
* ENH: Added testing for custom command line arguments containing all special ↵Brad King2007-05-171-2/+69
| | | | characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-093-0/+37
| | | | | | | | | | add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex
* ENH: Added test to make sure custom commands are not built more than once in ↵Brad King2007-05-012-0/+12
| | | | a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377.
* ENH: Re-enabling # escape test now that it is implemented everywhere.Brad King2006-10-251-4/+4
|
* BUG: Disable testing of # escapes until it can be implemented for Watcom WMake.Brad King2006-10-241-4/+4
|
* ENH: Added # character for shell escaping.Brad King2006-10-231-0/+4
|
* ENH: Adding test of special characters in custom command and custom target ↵Brad King2006-10-041-1/+2
| | | | comments.
* ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.Brad King2006-10-041-0/+1
|
* ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies ↵Brad King2006-10-041-1/+3
| | | | to be connected later. This is useful to create one rule and then have a macro add things to it later. This addresses bug#2151.
* BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722.Brad King2006-10-041-2/+2
|
* COMP: Fix command line check test implementation for Watcom.Brad King2006-10-022-0/+3
|
* ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET ↵Brad King2006-09-282-2/+35
| | | | commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
* BUG: Disable new shell escape code until backward compatibility can be ↵Brad King2006-09-251-1/+1
| | | | established in the new implementation.
* COMP: Need ANSI C flags to build check_command_line.c.Brad King2006-09-221-0/+1
|
* ENH: Adding test for non-trivial custom command line arguments. This is for ↵Brad King2006-09-212-0/+71
| | | | bug#3786.
* ENH: Added test for generation of files listed explicitly as sources but not ↵Brad King2006-06-013-11/+33
| | | | used during the build of a target.
* COMP: Do not use ANSI function prototypes to pacify HP.Brad King2006-04-131-3/+3
|
* ENH: Added support for multiple outputs generated by a single custom ↵Brad King2006-04-112-6/+10
| | | | command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
* BUG: fix test to list generate dheaderKen Martin2006-03-242-1/+2
|
* ENH: Automatic include directories should not be done by default as was just ↵Brad King2006-02-191-1/+4
| | | | implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory.
* COMP: Fixed form of function main.Brad King2006-02-141-2/+2
|
* ENH: add test for generated headerBill Hoffman2006-01-093-0/+16
|
* ENH: for all custom commands that can not be given to a target, add them to ↵Bill Hoffman2006-01-091-2/+9
| | | | all targets in the current makefile
* BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not ↵Bill Hoffman2006-01-021-2/+2
| | | | fail tests
* COMP: Avoid C++ comment in C translation unit.Brad King2005-08-181-1/+1
|
* BUG: It seems the auto-object-depends feature does not work in Visual ↵Brad King2005-08-171-7/+6
| | | | Studio. I'm restoring the explicit OBJECT_DEPENDS lines.
* ENH: Adding test for auto-object-depends feature. It has been tested with ↵Brad King2005-08-173-2/+20
| | | | the Makefile generator. Hopefully this will work for the Visual Studio and XCode generators.
* BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does ↵Brad King2005-04-271-1/+1
| | | | not like forward slashes on Win9x.
* ENH: Added pre-build and post-build test for custom targets.Brad King2005-04-261-1/+20
|
* ENH: Added test for multiple commands in a custom command.Brad King2005-02-221-8/+14
|
* ENH: Add LOCATION to GET_TARGET_PROPERTY. Closes Bug #34 - Add to ↵Andy Cedilnik2004-04-271-1/+4
| | | | GET_TARGET_PROPERTY location of target
* ERR: Remove warnings from testsAndy Cedilnik2004-04-272-0/+10
|
* modified code to match cmake modeKen Martin2003-06-301-39/+39
|
* minor fixesBill Hoffman2003-06-042-0/+2
|
* fixes for HPBill Hoffman2003-06-043-4/+4
|
* new testKen Martin2003-06-036-0/+140