Commit Graph

63 Commits

Author SHA1 Message Date
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
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 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
Ken Martin ac2de4f5de modified code to match cmake mode 2003-06-30 10:12:24 -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