Commit Graph

106 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
Bill Hoffman 8c06f8e294 ENH: add support for re-running cmake if the cmakefiles change 2006-04-10 13:53:00 -04:00
Brad King eb31755eb2 ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060. 2006-03-30 15:39:03 -05:00
Ken Martin 3d96e52261 STYLE: some m_ to this-> cleanup 2006-03-15 11:02:08 -05:00
Brad King 8d9a997beb ENH: Cleaned up generation of directory-level rules and their support structure. The directorystart rule has been removed in favor of checking the build system in the subdirectory makefile first. The "directory" rule has been renamed "all" since it corresponds to the "all" pass anyway (as against "clean"). Also fixed directory-level rule for preinstall. 2006-03-01 18:54:17 -05:00
Andy Cedilnik c4156b4531 COMP: Even more global target fixes 2006-02-24 17:35:35 -05:00
Brad King f09778c4a5 BUG: Work-around borland make bug that drops a rule completely if it has no dependencies or commands. 2006-02-16 18:50:16 -05:00
Brad King 537e2b4ed5 ENH: Implemented RPATH specification support. It is documented by the command SET_TARGET_PROPERTIES. 2006-02-16 15:19:00 -05:00
Brad King 60cd72d01c ENH: Cleaned up generation of symbolic rules. Removed generation of rebuild_cache and similar rules from internal makefiles. 2006-02-15 16:35:16 -05:00
Ken Martin 141ad7645e ENH: some reorg of the unix makefile generator 2006-02-15 10:34:11 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Bill Hoffman 1c289b52f4 BUG: fix build problem on gcc 2006-01-02 13:34:03 -05:00
Bill Hoffman 61e056e2dc BUG: fix for bug 2533, make foo/foo.o now works and .o files are in the help 2006-01-02 12:36:54 -05:00
Bill Hoffman f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Ken Martin 929553a02e ENH: big cleanup and fix for jump commands 2005-10-20 13:40:28 -04:00
Ken Martin 345fb993aa ENH: some fixes for better backwards compatibility 2005-10-10 11:49:17 -04:00
Bill Hoffman 52923844f5 ENH: fix NONE 2005-09-01 17:14:56 -04:00
Ken Martin dce07caf0b ENH: fix warning 2005-08-05 17:07:07 -04:00
Bill Hoffman 3b0632ae75 FIX: fix bad depend info and COMPILE_FLAGS problem and remove extra cerr calls 2005-08-02 11:06:16 -04:00
Ken Martin c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Ken Martin 6cc7bca222 ENH: fix some warnings and cleanup some 2005-07-27 11:31:17 -04:00
Ken Martin f85f919dbc ENH: reduce the number of files produced still needs a bit more cleanup 2005-07-27 09:49:37 -04:00
Bill Hoffman fe9714e2f0 ENH: fix static build of vtk with cmake by having custom targets chain depend information 2005-07-15 11:38:19 -04:00
Ken Martin ababb68820 BUG: fix for bootstrap problem 2005-07-06 16:16:12 -04:00
Ken Martin 369308ca76 ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk 2005-06-22 09:06:46 -04:00
Ken Martin dd2e2807cb ENH: fix for BSD makes no longer use dir name as a target 2005-06-21 16:29:47 -04:00
Ken Martin e559aa11ac ENH: added support for forcing recomputation of depends 2005-06-10 10:45:08 -04:00
Ken Martin 708828dc37 ENH: removed old convert calls 2005-06-10 08:41:47 -04:00
Andy Cedilnik 2d4b06c8e5 ENH: some better error reporting and more robust handlign of bad targets 2005-06-09 09:48:44 -04:00
Ken Martin 0f8282fab1 BUG: do not add help target if there is a real target named help 2005-06-01 13:24:37 -04:00
Ken Martin 8cd3eabee2 COMP: fix warning 2005-06-01 11:18:23 -04:00
Andy Cedilnik cd97dc5f79 BUG: Remove duplicate targets when in different generators 2005-06-01 09:25:10 -04:00
Ken Martin 35fcd2715e COMP: fix warning 2005-06-01 08:59:18 -04:00
Ken Martin 492b16b19d COMP: fix warning 2005-06-01 08:54:34 -04:00
Ken Martin e26293f3ab COMP: fix a waring 2005-05-31 14:09:16 -04:00
Ken Martin 6999000852 ENH: now uses Makefile2 to cleanup zsh issues and provided some more documentation 2005-05-31 11:46:49 -04:00
Ken Martin f79376c1d1 STYLE: add some better comments and remove some unused code 2005-05-31 10:16:28 -04:00
Ken Martin a2f148936b ENH: added clean target for subdirs 2005-05-25 15:09:06 -04:00
Ken Martin baeeb40823 ENH: some more cleanup and changes to how custom commands are stored 2005-05-24 14:42:23 -04:00
Ken Martin ef6c5ae23e ENH: optimization to not use requires step unless a language requires it 2005-05-24 11:17:30 -04:00
Ken Martin 60bcce7fa2 ENH: added help target and made custom commands execute in start output directory 2005-05-20 11:01:21 -04:00
Ken Martin db3d203893 ENH: fix warning and also add back in build.make 2005-05-20 08:45:52 -04:00
Ken Martin 9d8d6c14c1 ENH: fix warning and also add back in build.make 2005-05-20 08:45:33 -04:00
Ken Martin 39f0eadad3 COMP: fix warning 2005-05-19 15:55:31 -04:00
Ken Martin 463c8e07a8 ENH: fixes for subdir build Makefiles 2005-05-19 15:00:35 -04:00
Ken Martin 1e78125a7b ENH: some performance improvements 2005-05-19 10:52:59 -04:00
Ken Martin 78b5cca6e3 ENH: another step to the next generator still not optimized yet 2005-05-18 13:46:00 -04:00
Ken Martin 61358ac75c ENH: some more reorg 2005-05-17 11:15:09 -04:00
Ken Martin 27ab533963 BUG: minor cleanup and fix for convenience rules 2005-05-13 14:13:00 -04:00
Ken Martin 8c65179339 ENH: warning fixes and some first steps in cleaning up the convert code 2005-05-13 09:54:30 -04:00
Ken Martin caf17c123b ENH: added new generator 2005-05-12 10:49:56 -04:00
Ken Martin 25d6c04add ENH: another snapshot 2005-05-11 12:44:01 -04:00
Ken Martin 4b1c392c9c ENH: snapshot 2005-05-11 08:45:16 -04:00
Ken Martin 52d9753f80 ENH: some more fixes 2005-05-09 15:11:51 -04:00
Ken Martin 0cb20474d8 ENH: updates 2005-05-06 14:49:38 -04:00
Ken Martin c2cd47b32c ENH: backup of work in progress 2005-05-05 12:45:53 -04:00