Commit Graph

1192 Commits

Author SHA1 Message Date
Berk Geveci 0813149896 Better support for parallel builds. Subdirs depend on their parent. 2002-02-01 13:07:27 -05:00
Bill Hoffman 1bde29e9bd use CMake_SOURCE and not CMAKE_ROOT 2002-02-01 09:28:20 -05:00
Bill Hoffman 9bf31316e1 try to get this working for dec cxx default compiler options 2002-01-31 10:32:49 -05:00
Bill Hoffman 7d6eb54cf0 ENH: fix for dec compiler, they still do not have the correct ansi stream library 2002-01-30 11:23:07 -05:00
Brad King 0bdd309fe0 ERR: Corrected assertions of pointers to remove warnings. 2002-01-25 09:06:39 -05:00
Berk Geveci 31561a7848 BUG: fix for network paths 2002-01-24 14:15:49 -05:00
Sebastien Barre 8a4a39d568 ENH: run CMake a second time. The first time it is run, some cache values are computed. The second time it is run, some commands check if the value is already in the cache and return that value instead of re-computing it. Therefore this ENH: a) make sure that this specific code is tested, b) increase coverage. 2002-01-23 10:56:21 -05:00
Brad King 8ed3ce29bf ERR: Removed cmCacheManager::DefineCache method. It is no longer needed. 2002-01-22 10:17:37 -05:00
Will Schroeder 2adf9890f6 ENH:Updated copyright 2002-01-21 15:39:30 -05:00
Will Schroeder a6a43d5320 ENH:Updated copyright 2002-01-21 15:30:43 -05:00
Bill Hoffman 8efc43b7d5 BUG: remove warning from hpux make 2002-01-21 11:39:00 -05:00
Bill Hoffman 9fd92a28f7 ENH: check the return value of the test program to be run 2002-01-21 10:38:42 -05:00
Bill Hoffman 252f9fc1b1 BUG: fix generated files with no extension bug 2002-01-21 10:11:47 -05:00
Sebastien Barre cbd4c08fcf Typo 2002-01-20 00:06:48 -05:00
Sebastien Barre 30b3cc0755 Add 2 new tests 2002-01-19 21:23:19 -05:00
Sebastien Barre 4d0e5c0201 FIX: if the 'hostname' and 'nslookup' commands were not found from their HOSTNAME and NSLOOKUP cache definition, hard-coded values were used instead, thus causing pb if the corresponding progs were not in the PATH (RunCommand). Now use FindProgram() to be sure to find both, otherwise do nothing and set the site name to "unknown" (arbitrary. could be empty string ? or error ?). 2002-01-19 21:22:55 -05:00
Bill Hoffman d241158885 BUG: make sure regex match has a string to match 2002-01-18 23:38:48 -05:00
Sebastien Barre 5ab173b5ea Fix: "cd arg2 ; arg1" not working. OK with &&. Also should prevent from: "cd non_existing_dir_oops && rm -fr *" 2002-01-18 20:33:28 -05:00
Sebastien Barre 747457abb6 ENH: RemoveFile returns if the file was removed or not 2002-01-18 19:21:02 -05:00
Sebastien Barre 5ab916f64d Unused and deprecated class. Goodbye. 2002-01-18 17:01:59 -05:00
Bill Hoffman c0cd47a402 fix if logic for null defs 2002-01-18 16:45:42 -05:00
Andy Cedilnik 21224d0bf1 Add GENERATED to cmSourceFilesRemoveCommand 2002-01-18 15:39:24 -05:00
Sebastien Barre 8a599b3569 Fix: escaping spaces was preventing a value with space to be passed correctly 2002-01-18 14:07:17 -05:00
Ken Martin 475364ac48 some fixes to recent screwerd up changes 2002-01-18 13:30:51 -05:00
Sebastien Barre 6d1a312c7b Fix bug: was expanding second arg even if not passed. crashed 2002-01-18 11:48:16 -05:00
Sebastien Barre 1ccaa434ce Fix typo 2002-01-18 11:38:38 -05:00
Sebastien Barre 99c9d77f21 Fix: argument was not used. 2002-01-18 11:38:05 -05:00
Sebastien Barre b39f6afa45 Fix typo (second argument was not reported) 2002-01-18 11:36:47 -05:00
Sebastien Barre 802e2efd5d no message 2002-01-18 11:36:27 -05:00
Bill Hoffman e810171035 AIX compiler fix private to public 2002-01-18 10:28:41 -05:00
Bill Hoffman 71b36a7164 BUG: GetDefiniton can return null 2002-01-18 10:27:56 -05:00
Bill Hoffman 97f50b6e7a BUG: fix null pointer read if def is not defined 2002-01-18 07:04:51 -05:00
Sebastien Barre a2fe7601f0 FIX: need a 'make clean' before 'make all' otherwise the post-build custom-command are not run (since a lib might be up to date already for ex.). 2002-01-17 16:35:26 -05:00
Sebastien Barre 201764e166 Fix so that ADD_DEPENDENCIES work (the Utilities dependencies were not output) 2002-01-17 15:46:04 -05:00
Andy Cedilnik e77515c2da Add option of adding generated files to source list 2002-01-17 14:11:26 -05:00
Bill Hoffman 3df3d839cc ENH: only output each link path once 2002-01-17 12:54:56 -05:00
Brad King 4688198996 ERR: Missing forward declaration of cmMakeDepend added. 2002-01-17 10:48:37 -05:00
Bill Hoffman 26f5ac3b49 BUG: allow header files to be added to the dsp file 2002-01-17 09:28:39 -05:00
Sebastien Barre e0d02e10b5 Remove hack. 2002-01-16 17:29:24 -05:00
Andy Cedilnik 16977f33f2 Hack to make it work almost like before 2002-01-16 17:26:09 -05:00
Bill Hoffman cddba435b8 ENH: add silent and suffixes to check depend file 2002-01-16 15:53:29 -05:00
Bill Hoffman ce89556706 BUG: make sure non cmakedef lines are not skipped 2002-01-16 15:00:01 -05:00
Bill Hoffman eede7afb7e ENH: do not undef cmakedefine stuff, just comment out the line 2002-01-16 12:45:33 -05:00
Berk Geveci 67a5a82586 Improved performance by removing implicit rules. 2002-01-15 17:21:54 -05:00
Ken Martin 48f77f9de1 next release 2002-01-15 15:50:35 -05:00
Ken Martin d41b42a019 next release 2002-01-15 15:46:34 -05:00
Berk Geveci e452849640 FIX: Entry doc. should never be overwritten. This may cause cmake to be re-run very often. 2002-01-15 13:20:22 -05:00
Bill Hoffman cb796a7227 ENH: do not depend on the .dsp file but rather depend on .dsp.cmake and if the .dsp actually changes, then write it, so clean and rebuild will not cause many reloads 2002-01-14 19:08:38 -05:00
Bill Hoffman 1a31d4b314 ENH: try to keep the dsp files from changing between each write 2002-01-14 18:52:19 -05:00
Bill Hoffman 0358cc83d0 remove extra logic not needed anymore because of better depends 2002-01-14 16:28:38 -05:00
Berk Geveci c88408141b Quote echo 2002-01-14 16:02:05 -05:00
Berk Geveci 5adda3463a BUG: Curses was being used without initialization. 2002-01-14 14:49:05 -05:00
Bill Hoffman d0397266d2 BUG: use borland run time dll for shared builds to avoid crashes 2002-01-12 22:55:35 -05:00
Bill Hoffman 56252e1100 ENH: make the fltk build default to OFF, it fails on too many linux machines with the default build 2002-01-10 18:09:37 -05:00
Bill Hoffman 5e8f9427d1 BUG: fix build of library in other directory if it is not there 2002-01-10 18:09:01 -05:00
Andy Cedilnik 1793b70c56 Add space to output 2002-01-10 16:22:14 -05:00
Bill Hoffman c213a8bcd8 make it a modal dialog 2002-01-09 17:22:54 -05:00
Bill Hoffman ddc6117574 BUG: need a larger default page size 2002-01-08 17:18:51 -05:00
Bill Hoffman bc1742dd60 BUG: need spaces around linker options 2002-01-08 17:18:22 -05:00
Bill Hoffman 6dc78a2315 ENH: add CMAKE_EXTRA_LINK_FLAGS to dsp generator 2002-01-08 13:33:00 -05:00
Bill Hoffman e58632aed3 BUG: not all displayed messages are errors 2002-01-07 16:30:27 -05:00
Amitha Perera b2085d7e9d Rolling back symbolic path changes until it works on Windows. 2002-01-07 15:49:07 -05:00
Amitha Perera 2fa6a0eb44 ENH: Add an invocation that maintains symbolic paths to the source and binary trees, mainly for systems with automounted network drives.
ENH: CollapseFullPath() no longer adds a trailing "/" to directory paths.
2002-01-06 14:59:16 -05:00
Ken Martin 0e7e1c110c added release version 2002-01-04 09:23:27 -05:00
Andy Cedilnik 58ee855503 Fix add custom command so that it actually executes the code 2002-01-03 16:02:43 -05:00
Ken Martin 0333f15b96 minor fixes 2002-01-03 14:19:06 -05:00
Ken Martin a57202fcc4 minor fix 2002-01-03 14:05:32 -05:00
Ken Martin d8088655ff minor fix 2002-01-03 13:56:30 -05:00
Ken Martin d163cb7014 expand vars nwo for exists test 2002-01-03 09:34:40 -05:00
Ken Martin e07ea14e31 added exists option for if statement 2002-01-02 16:46:08 -05:00
Ken Martin b4e27e9795 prints the relese version 2002-01-02 16:45:30 -05:00
Ken Martin 79d9bd8a59 added release verison to cmMakefile 2002-01-02 16:44:44 -05:00
Bill Hoffman d253ef49bc BUG: put back recursive call to make for checking sources 2002-01-02 11:54:50 -05:00
Berk Geveci 0ac6b2d7a0 Type || should have been && 2001-12-31 12:02:23 -05:00
Bill Hoffman d1fb9d757f ENH: remove one call to make, and clean echo stuff a bit 2001-12-31 11:54:14 -05:00
Berk Geveci cff85a6386 BUG: fix long depend list because it gets cut on the hp: I may look like berk, but it is bill H. 2001-12-30 17:18:58 -05:00
Bill Hoffman 8cf867373d ENH: use the correct case 2001-12-28 17:01:00 -05:00
Bill Hoffman adb82258fb DO NOT USE INCREMENTAL 2001-12-28 17:00:41 -05:00
Bill Hoffman e4843d83a4 ENH: remove the rule to run make depend from the top with each change in any cmakelist file. Instead, run make depend in the current directory if a source file changes, or if a .h file changes or is removed 2001-12-28 17:00:05 -05:00
Amitha Perera a9cdcba660 BUG: Don't generate build rules for header files. 2001-12-28 15:58:21 -05:00
Amitha Perera 1859209282 BUG: .txx are not source files. They contain template code which can only
be compiled when included in a regular .cxx file. By themselves, they cause
do not cause code to be generated.
2001-12-28 15:56:15 -05:00
Amitha Perera 4ec2836634 ENH: Classify a file as source or header even when the extension is given
explicitly.
2001-12-28 15:54:05 -05:00
Bill Hoffman 869dc1a445 ERR: remove bad ADD_DEPENDENCIES commands 2001-12-28 12:40:43 -05:00
Bill Hoffman 240628c223 remove warning 2001-12-27 14:55:19 -05:00
Bill Hoffman 445f122a92 ENH: add error checking 2001-12-27 13:55:05 -05:00
Sebastien Barre 3d24bc75bd Fix: the generator choice value was hardcoded and overrode the value passed as a command-line param (desktop shortcuts) 2001-12-21 18:25:03 -05:00
Sebastien Barre 183bd9f9b3 Fix: vars that have just become ADVANCED should be removed from the GUI 2001-12-21 16:19:57 -05:00
Bill Hoffman 2c7bb2bf34 BUG: fix so you can remove a directory in the source tree, and clean up echo of commands 2001-12-21 15:39:43 -05:00
Luis Ibanez 3b9b80b14c ENH: No longer tries to create a directory for the output 2001-12-21 09:55:57 -05:00
Bill Hoffman 602d0ee102 ENH: add support for DESTDIR in install targets 2001-12-21 09:07:17 -05:00
Amitha Perera 9ad7f0905a ENH: Add option to disable use of -rpath. 2001-12-21 00:01:02 -05:00
Bill Hoffman 5291b7d025 ENH: fix for win98 check for directory existence 2001-12-20 17:00:52 -05:00
Bill Hoffman 9402460977 ENH: add make silent flag for nmake and move .SILENT: directive to top of makefile 2001-12-20 15:46:37 -05:00
Bill Hoffman d1f66133a2 ENH: use better command for creating static library 2001-12-20 15:45:37 -05:00
Bill Hoffman b67dc16be6 ENH: add silent mode for makefile builds and fix borland and nmake after the depend stuff 2001-12-19 18:45:22 -05:00
Bill Hoffman 384cf0c7f3 add example to tests 2001-12-19 15:26:21 -05:00
Bill Hoffman 12b286ea13 change ostrstream to strstream 2001-12-19 08:35:52 -05:00
Brad King aa49d94ce0 ENH: Added error reporting for missing arguments to ENDIF. 2001-12-18 14:55:11 -05:00
Berk Geveci 73fd2381b9 Fixed warning. 2001-12-18 13:35:45 -05:00
Brad King 1f68c1be85 ENH: Improved flexibility of command by allowing specificiation of separate input and outputs source lists. Multiple input source lists are now also allowed. 2001-12-18 11:35:51 -05:00
Brad King 633041837c ENH: Improved dependency generation. If any cmake.depends is out of date, all of them in the tree are re-generated. This is necessary in certain cases when CMakeLists.txt files change. 2001-12-18 10:21:59 -05:00
Brad King 16b0571d93 ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command). 2001-12-18 09:51:18 -05:00
Brad King fd37e46eb3 ENH: Added option to IF command to test if a command exists. Syntax is IF(COMMAND name-of-command). 2001-12-18 09:39:26 -05:00
Brad King dca0fd0859 BUG: Existing projects have cache entries with the same name as the command they adjust (VTK_WRAP_JAVA in VTK, for example). Setting the command name as a variable is too dangerous. 2001-12-18 09:16:48 -05:00
Andy Cedilnik e89d9d3378 Better handling of new lines when moving from dos to unix 2001-12-17 17:44:24 -05:00
Brad King fa53ab0807 ENH: Adding VTK_MAKE_INSTANTIATOR command. This command will be used by VTK kits to register their classes with vtkInstantiator. 2001-12-17 16:20:33 -05:00
Brad King 1b6ca3eba0 ENH: Each cmake command now adds a cmake variable of its own name, set
to ON.  This allows constructs in CMakeLists.txt files like:
IF(FOO_COMMAND)
  FOO_COMMAND()
ENDIF(FOO_COMMAND)
This provides the option to add CMake commands for extra functionality
without breaking compatability with earlier versions of CMake.
2001-12-17 16:19:27 -05:00
Bill Hoffman b451ff80f9 ENH: allow custom commands for files that msdev knows about 2001-12-17 11:15:23 -05:00
Sebastien Barre 75a24394ea Wrap abstract class too, as per David Gobbi's request (for the sake of the internal
documentation features of python").
2001-12-16 18:52:49 -05:00
Bill Hoffman 27522269ff use -i not -k for make 2001-12-14 22:41:17 -05:00
Berk Geveci 69cb66f7ff Updated toolbar. 2001-12-13 13:28:41 -05:00
Bill Hoffman 10085174b6 ENH: allow local changes 2001-12-12 18:27:28 -05:00
Brad King 4108b22486 BUG: cmake.depends files of zero size were not being re-written in some cases. Added a comment output to the top of the file so it will be re-written every time. 2001-12-11 15:59:33 -05:00
Bill Hoffman 03e7b6a67a remove warning 2001-12-11 12:29:23 -05:00
Bill Hoffman 2c0f4f6725 ENH: add flush 2001-12-11 10:39:19 -05:00
Luis Ibanez cdecad7a05 FIX: The command was modified it uses now a target and a source list
composed of .fl files. The names of the generated .cxx files are
     added internally to the Sources list of the target.
2001-12-11 02:21:18 -05:00
Luis Ibanez bf7470be7c FIX: GENERATED_CODE type is no longer needed: generated code is not a Target. 2001-12-11 02:17:53 -05:00
Luis Ibanez e3fa722b44 ENH: These files are now generated from the .fl file by FLTK_WRAP_UI command. 2001-12-11 02:15:51 -05:00
Luis Ibanez 6db0c7c5e6 FIX: FLTK_WRAP_UI command modified. 2001-12-11 02:14:37 -05:00
Amitha Perera e19a90ab20 BUG: LIBRARY_OUTPATH_PATH may be "set" to the null string, in which case it
should be ignored.
2001-12-10 12:02:10 -05:00
Brad King ee31c3e0a4 ENH: SUBDIR_DEPENDS command now does nothing. The parallel build functionality is now automatic. Dependencies are setup to force the same build order as a single threaded build, but multiple files in the same directory can be built simultaneously. Also fixed bug with inheriting CMakeLists.txt files when a directory level is skipped. 2001-12-10 11:03:44 -05:00
Bill Hoffman a946931f91 BUG: if LIBRARY_OUTPUT_PATH is set, then use the fullpath for a remote target 2001-12-08 21:10:37 -05:00
Bill Hoffman 14e25b614d WAR: remove warning 2001-12-08 20:49:25 -05:00
Bill Hoffman 29ef645272 BUG: executable extension wrong for ctest search, and was not looking in Debug and Release 2001-12-07 19:11:28 -05:00
Berk Geveci b0f3a17450 If an entry starts with // (network paths), double quote it. 2001-12-07 18:27:26 -05:00
Amitha Perera a4dc7f7b97 BUG: the rule for generating a library no longer has the full path, and so the
dependency targets shouldn't, either.
2001-12-07 18:15:18 -05:00
Berk Geveci 0daca0a5f3 Comments start with TWO leading slashes not _one_ 2001-12-07 18:12:17 -05:00
Ken Martin 95fa88b7bc version rev 2001-12-07 16:06:08 -05:00
Ken Martin ab3b0c04aa release 10 2001-12-07 16:01:32 -05:00
Bill Hoffman 8e5f3bb9e1 ENH: add mark as not advanced to mark as advanced 2001-12-07 15:47:39 -05:00
Bill Hoffman 5a488fc850 ENH: convert to windows paths 2001-12-07 14:31:28 -05:00
Bill Hoffman 06cc1cbf2f ENH: use windows paths to run commands and escape spaces 2001-12-07 13:10:50 -05:00
Bill Hoffman 30a56de4b7 ENH: add custom commands for targets 2001-12-07 10:58:06 -05:00
Sebastien Barre 0a5f763bbe Do not output library search path if the library path option/flag is empty + add CMAKE_LINKER_HIDE_PARAMETERS since some linkers just do not support the @<< syntax 2001-12-06 20:04:15 -05:00
Andy Cedilnik b689b4b5fa Fix bug with string 2001-12-06 17:40:25 -05:00
Bill Hoffman 26ecd7731d ENH: call convert to unix slashes for path and filepath entries 2001-12-06 17:09:06 -05:00
Berk Geveci 683c54b787 Added support for ~. 2001-12-06 17:07:18 -05:00
Ken Martin 82b3ed83d4 handle tildas 2001-12-06 16:50:54 -05:00
Sebastien Barre 4372a40922 Lib path should be converted to native path too. 2001-12-06 13:32:58 -05:00
Sebastien Barre dea1309e8d Fix the command quoting pb (remove m_QuoteNextCommand), move ConvertToNativePath to NMake gen 2001-12-06 13:32:28 -05:00
Ken Martin 3f013a2759 Cleaning last line at exit. 2001-12-06 11:49:16 -05:00
Sebastien Barre cec99b76a6 If Shift is pressed with 'OK', then don't quit 2001-12-05 16:05:26 -05:00
Sebastien Barre ecca17cfdd Add single quotes feature. 2001-12-05 15:29:36 -05:00
Ken Martin cf8003f03f up version 2001-12-05 12:07:34 -05:00
Ken Martin d4bb11cd8b up version 2001-12-05 11:59:18 -05:00
Bill Hoffman 11084af423 ENH: remove /tmp_mnt from all paths in convert to unix slashes 2001-12-04 17:28:35 -05:00
Berk Geveci 97c71d0ab1 Fixed outdated comment 2001-12-04 16:19:33 -05:00
Berk Geveci 0a33722a85 Fixed overflow problem. 2001-12-04 15:53:33 -05:00
Bill Hoffman a07808f816 crazy fix for putenv, and native path called on custom command paths 2001-12-04 12:03:58 -05:00
Berk Geveci de452f3fef replacing clear() 2001-12-04 11:20:24 -05:00