Commit Graph

71 Commits

Author SHA1 Message Date
Brad King
09f2be12b8 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
Brad King
58d0c5e176 COMP: Do not use ANSI function prototypes to pacify HP. 2006-04-13 15:28:57 -04:00
Brad King
d5719f22c1 ENH: Added support for multiple outputs generated by a single custom 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. 2006-04-11 11:06:19 -04:00
Ken Martin
6ccc18bc26 BUG: fix test to list generate dheader 2006-03-24 12:20:46 -05:00
Brad King
98a187a8d4 ENH: Automatic include directories should not be done by default as was just 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. 2006-02-19 13:10:25 -05:00
Brad King
9762573aa9 COMP: Fixed form of function main. 2006-02-14 15:15:48 -05:00
Bill Hoffman
c3a7680dc6 ENH: add test for generated header 2006-01-09 14:56:29 -05:00
Bill Hoffman
a91947039a ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile 2006-01-09 14:40:31 -05:00
Bill Hoffman
9d0f86d7d0 BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not fail tests 2006-01-02 15:01:43 -05:00
Brad King
861719c054 COMP: Avoid C++ comment in C translation unit. 2005-08-18 09:21:45 -04:00
Brad King
af5d324574 BUG: It seems the auto-object-depends feature does not work in Visual Studio. I'm restoring the explicit OBJECT_DEPENDS lines. 2005-08-17 17:56:14 -04:00
Brad King
1774d306ee ENH: Adding test for auto-object-depends feature. It has been tested with the Makefile generator. Hopefully this will work for the Visual Studio and XCode generators. 2005-08-17 11:48:05 -04:00
Brad King
b5aafa7ef1 BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x. 2005-04-27 09:12:41 -04:00
Brad King
0af2597bd8 ENH: Added pre-build and post-build test for custom targets. 2005-04-26 11:55:20 -04:00
Brad King
7da6124416 ENH: Added test for multiple commands in a custom command. 2005-02-22 12:04:02 -05:00
Andy Cedilnik
b2bddc9f0d ENH: Add LOCATION to GET_TARGET_PROPERTY. Closes Bug #34 - Add to GET_TARGET_PROPERTY location of target 2004-04-27 12:03:17 -04:00
Andy Cedilnik
e76b103df7 ERR: Remove warnings from tests 2004-04-27 11:08:58 -04:00
Ken Martin
ac2de4f5de modified code to match cmake mode 2003-06-30 10:12:24 -04:00
Bill Hoffman
003a6a7260 minor fixes 2003-06-04 14:25:53 -04:00
Bill Hoffman
48cd349c81 fixes for HP 2003-06-04 09:02:50 -04:00
Ken Martin
7b3f2d4420 new test 2003-06-03 10:34:15 -04:00