Commit Graph

1869 Commits

Author SHA1 Message Date
Ken Martin cdace2fcd2 performance fix 2002-06-28 10:18:28 -04:00
Andy Cedilnik c6017182bf Add removing of warnings and add comment about the file being generated in CMake 2002-06-28 09:43:46 -04:00
Ken Martin 5ba65d0aa1 bug fix for aux src dirs 2002-06-28 09:21:30 -04:00
Ken Martin c24d201c39 minor cleanup 2002-06-28 08:57:25 -04:00
Ken Martin ca2fdeb640 performance inprovements 2002-06-27 21:17:25 -04:00
Ken Martin 6eb671097d bug fix 2002-06-27 16:47:38 -04:00
Ken Martin 4b12e5a306 bug fix 2002-06-27 16:42:57 -04:00
Ken Martin 4d6433bdf6 bug fix 2002-06-27 16:25:19 -04:00
Ken Martin 44a7cd55ff removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 15:57:09 -04:00
Brad King a1a05a5fbc BUG: CMake crashed if it failed to find its own executable. Also added better error messages when this occurs. 2002-06-27 09:35:21 -04:00
Bill Hoffman 32353c55e5 BUG: try to tell the difference between variables with sources and other variables 2002-06-25 09:59:08 -04:00
Brad King dae99c659d BUG: Result from ostrstream::str() can be a null pointer. 2002-06-25 09:18:43 -04:00
Brad King eb5b8e3d24 BUG: Attempt to fix ostrstream::str() wrapper for broken platforms. 2002-06-24 18:19:26 -04:00
Ken Martin d1879a77e8 modified to handle src list vectors without proper dollar signs 2002-06-24 16:42:34 -04:00
Ken Martin 7df776057b BUG: make sure windows paths are used for the command or it will not work for win 98 2002-06-24 14:07:46 -04:00
Brad King e328ee73c8 ERR: using declaration to move streams into std namespace needs to bring up ostrstream and ostringstream, not strstream and stringstream. 2002-06-21 10:31:37 -04:00
Brad King 953e01a604 ERR: Removed most of the repeated curses declarations. The cause errors on other platforms. Grrrr.. 2002-06-21 10:26:50 -04:00
Brad King 5bed7ca691 ERR: Added function declarations from curses.h. They are not present on some platforms. Fixes warnings about implicit declarations. 2002-06-21 09:25:32 -04:00
Bill Hoffman 20d9083455 modified MATCHES to handle non variables 2002-06-20 10:39:58 -04:00
Brad King 159338bcf8 ERR: cmStringStream is taking the functionality of ostringstream and ostrstream, not stringstream and strstream. 2002-06-20 10:20:44 -04:00
Brad King 07d35e662d ENH: Added cmStringStream class to wrap std::stringstream or std::strstream depending on the platform. The interface is that of std::stringstream, so no "ends" or "rdbuf()->freeze(0)" lines are needed. 2002-06-19 15:21:49 -04:00
Sebastien Barre 03a8c9795c ENH: FindLibrary supports .Net specific lib dirs 2002-06-19 14:35:08 -04:00
Ken Martin 089bea359e modified create test source to create a vector 2002-06-19 13:28:39 -04:00
Ken Martin 38145ad5a4 modified create test source to create a vector 2002-06-19 12:52:16 -04:00
Brad King b15808caff ERR: Fixed unused parameter warning. 2002-06-19 08:57:14 -04:00
Brad King 28895b0f9f ERR: Fixed compiler warnings. 2002-06-18 17:20:27 -04:00
Brad King 55f3a3817e ERR: Fixed compiler warnings about unused parameters. 2002-06-18 17:20:07 -04:00
Brad King 05e162f00a ERR: Fixed compiler warnings when using strict ansi. 2002-06-18 17:19:38 -04:00
Brad King 3d7a869b39 ERR: Fix for fprintf format warning. 2002-06-18 16:32:36 -04:00
Brad King 50be646b79 ERR: Attempt to fix warning on OSF about implicit declaration of winnstr. 2002-06-18 16:30:00 -04:00
Sebastien Barre ab9c677232 ENH: FindLibrary can now use the makefile to add some compiler-specific lib search path (depending on the generator). 2002-06-14 10:37:59 -04:00
Bill Hoffman e57d209bdc fix warning 2002-06-12 09:46:02 -04:00
Bill Hoffman 344a7cff8d use lower case and not short path for uniq paths on window 2002-06-11 14:25:44 -04:00
Bill Hoffman 9ed9bffa6f only allow unique configurations 2002-06-11 14:25:11 -04:00
Bill Hoffman 5484a691ef BUG: fix dot net for paths with spaces 2002-06-11 14:15:02 -04:00
Bill Hoffman f3cfbce074 BUG: RelativePath should not be quoted in output files even if it has spaces 2002-06-11 12:16:46 -04:00
Bill Hoffman 06047d14bb ENH: don't use short paths in the output 2002-06-11 11:01:16 -04:00
Bill Hoffman 8f89fe11c7 use short path to get unique path names for depend path output 2002-06-11 10:43:40 -04:00
Bill Hoffman 20308ac96a ERR: Fixed sun CC warnings. 2002-06-11 09:14:19 -04:00
Ken Martin fd26d44f5f now includes current include files directory when searching for files it includes 2002-06-10 14:19:09 -04:00
Bill Hoffman 781fac21f0 BUG: cmake needs it's own directory for includes, so depends work 2002-06-10 11:33:49 -04:00
Bill Hoffman 8f8b4375bd ENH: remove borland bootstrap makefile 2002-06-06 11:53:34 -04:00
Ken Martin 11cff6ef6a updated rev 2002-06-05 13:30:54 -04:00
Ken Martin 8cf291110f now uses bootstrap 2002-06-05 13:24:54 -04:00
Ken Martin e2925bc001 merged ccommand into cmake 2002-06-05 13:22:01 -04:00
Ken Martin 78ce57ae5b uses executabke bootstrap 2002-06-05 09:11:06 -04:00
Ken Martin 350f09ae6d removed ccommand use cmake now 2002-06-03 13:08:52 -04:00
Bill Hoffman e5668ea656 ENH: only add _LIB_DEPEND information for libraries and modules 2002-06-03 10:25:55 -04:00
Ken Martin 993aebb748 fixed bug in get short path for quoted paths 2002-05-31 08:39:49 -04:00
Amitha Perera c24c2cca18 BUG: never make a target depend on itself. This was causing unnecessary library duplication, resulting in link errors on some platforms. 2002-05-29 15:00:37 -04:00
Brad King 8f60b06037 BUG: MAKEFLAGS does not need to be passed on command line. It is automatically set by make in environment for recursive call. 2002-05-29 09:56:33 -04:00
Ken Martin ccbc8a3c8a remobed bootstrap 2002-05-28 08:56:39 -04:00
Bill Hoffman 2d9e5edb27 ENH: increase coverage 2002-05-23 13:23:35 -04:00
Ken Martin 9ebfec08a0 only add test target if testing is enabled and ctest is found 2002-05-23 10:34:36 -04:00
Ken Martin 92c5ff5b40 minor bootstap fixes 2002-05-23 10:33:37 -04:00
Ken Martin 843da92405 adde less greater 2002-05-23 10:32:28 -04:00
Bill Hoffman 0a3d0d24fd ENH: add list expansion back 2002-05-22 13:20:54 -04:00
Bill Hoffman fd98b0cca0 ENH: enable cxx by default if no languages have been enabled 2002-05-22 09:48:33 -04:00
Bill Hoffman 2489a3583d ENH: better comment processing 2002-05-22 09:48:06 -04:00
Bill Hoffman ceb365813f ENH: fix depend problem 2002-05-22 09:47:41 -04:00
Ken Martin 1052a6700f added initial attempt to support win32 bootstrapping 2002-05-15 17:23:09 -04:00
Berk Geveci e10cea0da4 RunCommand now checks whether the process died abnormally (on Unix) 2002-05-15 11:11:16 -04:00
Sebastien Barre ebebe660df ENH: add no_system_path option to FindProgram so that the PATH is ignored 2002-05-12 11:32:29 -04:00
Sebastien Barre 1ad05f9e6d ENH/FIX: add NO_SYSTEM_PATH option + fix command usage 2002-05-12 11:31:45 -04:00
Sebastien Barre ce31498637 FIX: command usage 2002-05-12 11:31:12 -04:00
Amitha Perera 1c9981eb1d FIX: Remove assert since it was breaking IRIX builds. 2002-05-11 22:28:59 -04:00
Jim Miller de44f1faac FIX: Const reference to a set needs a const_iterator. (.NET build error) 2002-05-10 14:06:34 -04:00
Amitha Perera 0e6b39e52f BUG: Correct some of the dependency analysis code.
- Make sure the original link line is untouched
- Avoid duplicating the link line when supporting version < 1.4
- Make sure the cyclic dependencies and such are output correctly in
  complicated cases.
- Avoid outputing dependencies that are already satisfied on the original
  link line when possible.
2002-05-10 13:35:42 -04:00
Brad King 6b08b83d89 ERR: Added variable initializer. 2002-05-10 08:54:49 -04:00
Bill Hoffman 6734d3bb88 ENH: change set<string> to set<cmStdString> to avoid long symbols that crash ar on solaris 2002-05-09 09:33:52 -04:00
Brad King b272f6455f ENH: Added dependency hack to support wrapping test. 2002-05-08 17:45:31 -04:00
Brad King 8e69c98615 BUG: Need to use CMAKE_CXX_COMPILER, not CXX, to get the C++ compiler name. 2002-05-08 17:37:03 -04:00
Brad King a83e8170e9 ENH: Added ITK Tcl wrapping command. 2002-05-08 13:11:53 -04:00
Ken Martin 347b0af9cc ENH: add clean command 2002-05-08 10:27:31 -04:00
Bill Hoffman 6e472fdbb0 ENH: take cmake style command line options so edit_cache works 2002-05-08 09:43:45 -04:00
Bill Hoffman 0caf44cb5d ENH: fix cmake to work without ccommand. 2002-05-08 09:05:40 -04:00
Bill Hoffman b076138e7d BUG: short path does not work on bcc32 2002-05-08 08:46:55 -04:00
Bill Hoffman 2caeffcb20 ENH: add -B option to specify the build directory, so make edit_cache will work 2002-05-07 11:03:56 -04:00
Bill Hoffman db859464f2 WNG: remove a warning 2002-05-07 09:11:39 -04:00
Bill Hoffman 3bc9830686 ENH: add an edit_cache target that runs ccmake or CMakeSetup 2002-05-07 09:02:45 -04:00
Bill Hoffman cdf550de13 ENH: rework library depend stuff 2002-05-03 16:34:05 -04:00
Andy Cedilnik 399e1c0f3e Improve bootstrape for unix 2002-05-03 13:46:34 -04:00
Amitha Perera 4bff970413 - bug fix where paths weren't being output when LIB_OUT_PATH *isn't* used
- test case for above mentioned bug
- more comments. Comments are good.
2002-05-03 00:27:34 -04:00
Bill Hoffman 0838265fdc check for optimized or debug library adds 2002-05-02 19:09:12 -04:00
Bill Hoffman 46e9d970e9 remove canonical conversion for lib names 2002-05-02 16:13:18 -04:00
Bill Hoffman a80153b5cb make it backwards compatible with old cmake 2002-05-02 15:56:13 -04:00
Bill Hoffman 2242006ca1 Debug optimized cache fixes 2002-05-02 15:10:19 -04:00
Amitha Perera 4fe8947bcc BUG: The library paths should stay with the libraries during dependency analysis. 2002-05-02 13:41:40 -04:00
Bill Hoffman 27fe57b716 ENH: change LINK_LIBRARY to add to targets 2002-05-02 13:17:10 -04:00
Andy Cedilnik a8d3805ef3 Improve bootstrap on UNIX. Now it bootstraps into a separate directory. 2002-05-02 08:46:20 -04:00
Amitha Perera 3d4230033a BUG: if a_LIBS_DEPENDS exists but is empty, there are no explicit dependencies. 2002-05-02 02:27:26 -04:00
Jim Miller 386f4391b2 FIX: If current selection was "NOTFOUND", then selecting the browser
would crash since a "/" could not be found in the current selection.
2002-05-01 22:03:23 -04:00
Amitha Perera 099436db26 ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 16:33:27 -04:00
Amitha Perera 1f8df8585e ENH: Add library dependency analysis. 2002-05-01 14:00:21 -04:00
Berk Geveci d53458de9a The entry widgets are now created with what is initially available on the terminal. 2002-05-01 11:34:27 -04:00
Berk Geveci d0d25bb989 Reformatted the error printed by cmMakefile. 2002-05-01 10:12:48 -04:00
Bill Hoffman a7664e8e01 ENH: allow cmake tests to be run without dart. 2002-04-30 21:48:26 -04:00
Bill Hoffman 0d8f4d2dcc create tests without Dart 2002-04-30 17:49:52 -04:00
Bill Hoffman ffbdca2b84 ENH: replace freeze with delete 2002-04-30 17:45:15 -04:00
Bill Hoffman 8a144d0c40 ENH: fix relwithdebinfo 2002-04-30 15:33:05 -04:00
Bill Hoffman 2d37e6d1a8 ENH: add new command to separate space separated arguments 2002-04-30 14:00:35 -04:00
Bill Hoffman ec4331d273 ENH: do not use count, find for map lookup 2002-04-30 14:00:14 -04:00
Bill Hoffman fd22157e55 ENH: improve speed of GetSource function 2002-04-30 12:58:57 -04:00
Bill Hoffman 42b7d859ad BUG: look for -l anywhere in link library entry not just the begining of the line 2002-04-30 08:09:41 -04:00
Bill Hoffman ecbc720829 BUG: make sure link directories are not duplicated 2002-04-29 10:23:29 -04:00
Bill Hoffman b0dd81e665 BUG: remove warning about changing generators 2002-04-29 09:20:42 -04:00
Amitha Perera 5e1d9ed39e ENH: Make it unnecessary to ever specify LINK_DIRECTORIES for any library
generated in this project, even when LIBRARY_OUTPUT_PATH is set.
2002-04-28 16:14:21 -04:00
Bill Hoffman 2ba1ee8672 ENH: remove redirections for output of make commands as some things are lost 2002-04-26 21:45:49 -04:00
Bill Hoffman 1a92507da0 COM: just fix up a comment 2002-04-26 12:43:08 -04:00
Bill Hoffman 73c7caa774 BUG: fix shared links for cc on hp 2002-04-26 12:21:13 -04:00
Bill Hoffman 991b551595 ENH: fix build name 2002-04-26 09:55:32 -04:00
Bill Hoffman 4879c6cffa ENH: look for nslookup and hostname in the right places 2002-04-26 09:35:03 -04:00
Ken Martin 614ba45234 dprecated 2002-04-26 09:11:53 -04:00
Ken Martin 94d407d9ed fixed up again duh 2002-04-26 08:59:18 -04:00
Ken Martin de491d9e5c updated to build ccommand 2002-04-25 16:29:17 -04:00
Bill Hoffman 9b0a90fa9e fix up hostname for windows 2002-04-25 15:40:04 -04:00
Bill Hoffman 303b77ad4c ENH: give a warning when switching generators to match the cache 2002-04-25 13:11:12 -04:00
Bill Hoffman 059a14a3a6 ENH: check for mismatched generators 2002-04-25 13:09:17 -04:00
Bill Hoffman 945c4a8b5b WAR: remove warnings for .NET compiler 2002-04-25 07:59:57 -04:00
Andy Cedilnik 0c948312ed Add cvsignore so that you do not see visual stufio files when you do cvs update 2002-04-24 10:08:24 -04:00
Berk Geveci 77bb62e00c Exit ccmake on fatal errors. 2002-04-23 16:16:48 -04:00
Bill Hoffman b3b3281b7f ENH: clean up depend output 2002-04-23 12:18:51 -04:00
Bill Hoffman 361f17802f ENH: add depends for utility targets 2002-04-23 11:33:28 -04:00
Sebastien Barre 6083e3c127 ENH: make CMake less verbose/precious 2002-04-22 15:16:54 -04:00
Amitha Perera 64beaa8b9c BUG: Changed from SOURCE_FILES to SET 2002-04-22 15:05:22 -04:00
Sebastien Barre 1ce7085e63 ENH: need CMAKE_LINKER_FLAGS 2002-04-22 14:29:21 -04:00
Sebastien Barre d774cd7c2b ENH: make CMake less verbose/precious 2002-04-22 14:22:46 -04:00
Ken Martin 9c69be42de updated for 1.4 2002-04-22 11:50:43 -04:00
Ken Martin 6d58f21a35 updated 2002-04-22 11:49:40 -04:00
Bill Hoffman 4591e41a62 BUG: add link directories for target link libraries and add a test for it 2002-04-19 15:28:43 -04:00
Ken Martin e8e42bde66 added deprecated warnings for version 1.4 or later 2002-04-19 14:03:47 -04:00
Bill Hoffman 077f81d359 ENH: fix doc line 2002-04-19 13:05:24 -04:00
Ken Martin 55821b2867 renamed unix to unixPath for compile error 2002-04-19 12:49:11 -04:00
Bill Hoffman 89a697a3b9 BUG: fix short path on files that do not exist 2002-04-19 11:49:12 -04:00
Bill Hoffman 719a334f84 BUG: try to make sure a depend file only has one rule 2002-04-19 09:00:35 -04:00
Bill Hoffman 75f9434374 BUG: fix SameFile function for windows, and compare source directories 2002-04-19 08:27:50 -04:00
Ken Martin dd7ab1f577 BUG: work with spaces in the path 2002-04-18 16:13:15 -04:00
Andy Cedilnik aa0ac1642b Make quotes and echos to work on unix (hopefully) 2002-04-18 15:58:35 -04:00
Bill Hoffman 06922e1ac6 ENH: use home not start 2002-04-18 14:51:33 -04:00
Bill Hoffman 5ba411dd64 ENH: check for mis-matched source directories 2002-04-18 14:19:39 -04:00
Bill Hoffman fe4eb49014 BUG: quote the echo commands 2002-04-18 13:44:50 -04:00
Bill Hoffman dc15248b40 BUG: do escaped semi-colon better 2002-04-18 13:12:36 -04:00
Bill Hoffman 72022ac27b ENH: add ability to escape semi-colons 2002-04-18 12:02:00 -04:00
Bill Hoffman da63a7574d BUG: add missing include 2002-04-18 07:58:08 -04:00
Bill Hoffman 67d2c29050 BUG: fix bootstrap build makefiles 2002-04-18 07:57:49 -04:00
Bill Hoffman 0415b58573 ENH: backwards compatible for VTK 4.0, add cmake version requires 2002-04-17 16:16:06 -04:00
Brad King 5a418b0e00 ENH: Removed out-of-date commands CABLE_WRAP_TCL CABLE_CLASS_SET and CONFIGURE_GCCXML 2002-04-17 14:54:48 -04:00
Bill Hoffman 29f7c0ff03 ENH: use convert to output path for depend files 2002-04-17 14:39:32 -04:00
Sebastien Barre 41bd8eff90 Syntax seemed to be confusing according to the Bill 2002-04-16 13:48:35 -04:00
Sebastien Barre ebbcc3c97d FIX: warning 2002-04-16 09:28:34 -04:00
Bill Hoffman a07cdc75e1 use stream not sprintf 2002-04-15 09:09:39 -04:00
Sebastien Barre a89dd1fbaf ENH: FilesDiffer checks for 0 byte files 2002-04-15 08:48:39 -04:00
Sebastien Barre 36189ce2a8 ENH: more paranoid checkings 2002-04-14 15:32:16 -04:00
Sebastien Barre c3c4e415bb ENH: make GUI slighlty larger to accomodate long paths 2002-04-12 13:28:49 -04:00
Sebastien Barre f3a280d7d5 FIX: iostream binary flag should be used for cygwin too 2002-04-12 12:05:01 -04:00
Sebastien Barre 4307df12ac FIX: fix UMR 2002-04-12 09:57:17 -04:00
Sebastien Barre ea7888c11b ENH: also displays command output 2002-04-11 18:59:34 -04:00
Sebastien Barre 23e1a28276 can be used to time commands (time() & clock()) 2002-04-11 18:17:33 -04:00
Bill Hoffman 789267c949 ENH: speed improvements 2002-04-11 17:02:10 -04:00
Yves Starreveld cdc65cfebf Allow modules to build properly again. (broken when Cxx testing was added) 2002-04-11 16:58:43 -04:00
Bill Hoffman ea4a3d5e7b ENH: clean up utility rule generation 2002-04-11 10:29:51 -04:00
Sebastien Barre 9b8926925b ENH: use target as source if source is empty 2002-04-11 10:05:47 -04:00
Sebastien Barre e455a83969 FIX: echo pb, make Nmake gen use Unix gen, factorize stuff in Unix gen 2002-04-11 09:53:41 -04:00
Andy Cedilnik b26be30740 Fix problem with custom commands on unix 2002-04-10 16:45:06 -04:00
Brad King 7fc1bd1281 ERR: UseIt() missing return type. 2002-04-10 12:13:44 -04:00
Bill Hoffman 384937a420 fix warning 2002-04-10 08:38:51 -04:00
Bill Hoffman de93907bdd ENH: check for compile flags and add back c flag to unix generator 2002-04-09 12:15:32 -04:00
John Biddiscombe 7d8d326d93 ERR: ReplaceString didn't work properly if replace was longer than with as
length added to start pos on next search was replaceLength  instead
of withLength
2002-04-08 19:31:21 -04:00
Bill Hoffman 65e3edea04 ENH: use separate vars for creating c++ and c shared libraries and add a test for c libraries 2002-04-08 13:36:18 -04:00
Bill Hoffman 7883b6c7dc expand ; args 2002-04-05 12:08:12 -05:00
Bill Hoffman 290c509e11 ENH: make sure the test tests the right cmake, and not the cmake used to bootstrap this cmake 2002-04-05 09:39:13 -05:00
Bill Hoffman e4dce08591 ENH: add the ability to process command line arguments in the test driver before the test driver gets them 2002-04-04 16:53:37 -05:00
Bill Hoffman 04d53a3865 ENH: separate the ar program for cxx and c 2002-04-04 11:01:41 -05:00
Bill Hoffman d42055b283 ENH: fix more space problems, you can add args to the ExecProgram command separatly now 2002-04-03 16:14:06 -05:00
Bill Hoffman 4ea0f6b949 ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler 2002-04-02 15:43:23 -05:00
Bill Hoffman 2b4e802a94 ENH: fix for regkey and ; separation 2002-04-01 14:50:00 -05:00
Sebastien Barre 92897bf3a8 ENH: add functions to API (read, write, delete registry key value) 2002-04-01 13:34:38 -05:00
Sebastien Barre 7e2a78b499 FIX: get rid of warnings 2002-03-30 17:17:59 -05:00
Sebastien Barre dbe20d8d3b FIX: should compare to 0, not NULL 2002-03-29 16:25:39 -05:00
Sebastien Barre 31413a216b ENH: if -R or -E was used, displays also the name of the tests that passed. 2002-03-29 16:03:19 -05:00
Bill Hoffman 2d5ddb07fd output list bug 2002-03-29 14:31:15 -05:00
Bill Hoffman 7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Bill Hoffman fc6b8e8bf7 fix const problem 2002-03-29 11:11:03 -05:00
Bill Hoffman dbdb0adce8 ENH: add ability to use ; separated lists in SET and expand them for addexecutable and addlibrary 2002-03-29 11:04:19 -05:00
Bill Hoffman 7359c6bd16 fix docs 2002-03-29 11:03:44 -05:00
Sebastien Barre b6ebd7b7fa ENH: Add SEND_ERROR flag to MESSAGE so that an error can be raised within a CMakeList file 2002-03-29 10:56:07 -05:00
Bill Hoffman 8b3b49a010 ENH: major change, the cmMakefile now contains a master list of cmSourceFile objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc. 2002-03-29 10:06:30 -05:00
Sebastien Barre 627ab62ce0 FIX: tolower is in <ctype.h> !, frenchy 2002-03-29 08:42:48 -05:00
Sebastien Barre e081345595 ENH: perform case insensitive comparison on test names 2002-03-28 11:43:53 -05:00
Sebastien Barre b63d6ee7dd FIX: cmSourceFile::SetName was not called correctly for the test source files 2002-03-27 16:19:44 -05:00
Sebastien Barre b0eb1031b7 ENH: small formatting enh 2002-03-27 15:52:52 -05:00
Sebastien Barre 1623dc2183 ENH: add testdriver test with source file in subdir 2002-03-27 13:47:05 -05:00
Sebastien Barre 0fd3ae7ba5 ENH: keep the name of the test as close to the source file (only the function name is cleaned up) 2002-03-26 18:06:36 -05:00
Sebastien Barre 95519ef1b7 ENH: add -R (similar to ctest but use substr instead of regexp). indent. 2002-03-26 17:53:07 -05:00
Sebastien Barre 437a8c9816 FIX: foreach function-blockers were using expanded args. Add virtual func to specify if function blocker needs them expanded or not. 2002-03-26 16:45:52 -05:00
Sebastien Barre ccbdc30a8c ENH: ExpandListArguments(): empty elements in semi-colon-separated string-list can now be ignored. 2002-03-26 16:44:49 -05:00
Sebastien Barre a5b833119d ENH: now supports tests inside sub-dirs 2002-03-26 16:42:43 -05:00
Bill Hoffman d198c5e072 ENH: add error checking for mmesa 2002-03-26 12:55:14 -05:00
Bill Hoffman 7fc14a9cb4 ENH: use ccommand for del on windows 2002-03-26 12:38:52 -05:00
Bill Hoffman 60d604ae4e ENH: show output when running tests 2002-03-26 12:38:18 -05:00
Bill Hoffman f4bf694bae ENH: if no arguments are given and there is only one test, then run it 2002-03-26 12:37:25 -05:00
Ken Martin 8d594bdcce removed quotes from cmake and ccommand executable to be consistant 2002-03-25 17:03:54 -05:00
Sebastien Barre c617091d13 ENH: support semi-colon format (list of args as string) 2002-03-25 16:24:13 -05:00
Sebastien Barre 32fb77fff2 ENH: cmCopyFile ; the path to the destination file will be created ; second arg can be a directory. 2002-03-25 15:59:47 -05:00
Bill Hoffman 2f639d37b5 ENH: add new command to create a test driver 2002-03-20 16:19:00 -05:00
Bill Hoffman 49bcc1ad51 ENH: remove fltk dialog as it is no longer supported 2002-03-20 13:16:16 -05:00
Andy Cedilnik 2990c3db57 Return error on copy 2002-03-19 12:25:15 -05:00
Andy Cedilnik f15cce92f4 Remove warning about sign and unsigned 2002-03-18 11:59:23 -05:00
Andy Cedilnik 5bbae88569 Add ccommand for executing commands on the system, so by using ADD_CUSTOM_COMMAND, you can make rules to do some system commands during build. Currently supported commands are copy and remove. Others will follow. 2002-03-15 15:42:59 -05:00
Amitha Perera c8924864fd BUG: The source file may be specified with an extension. 2002-03-15 13:20:28 -05:00
Ken Martin 543b4ca1b9 less noisy about changing directories 2002-03-15 10:43:24 -05:00
Bill Hoffman 93474efd8b ENH: add .in as a header file type, as it can not be compiled 2002-03-14 16:04:02 -05:00
Bill Hoffman b59987eed9 BUG: .h not two .cxx files 2002-03-14 16:03:33 -05:00
Bill Hoffman 6fc3080458 BUG: fix RunCommand again... back to system, but with GetShortPath 2002-03-14 14:59:29 -05:00
Bill Hoffman d981347866 BUG: fix for paths with spaces 2002-03-14 14:59:00 -05:00
Bill Hoffman 15d365cddd BUG: fix for files with dashes in them 2002-03-14 14:58:28 -05:00
Bill Hoffman 567edf0e9a ENH: overhaul of RunCommand on windows, if only win32 had popen... 2002-03-14 11:11:39 -05:00
Bill Hoffman 7c73456401 Remove warnings 2002-03-13 15:29:26 -05:00
Ken Martin 6349735590 ENH: closer to working with spaces in the path 2002-03-13 14:23:58 -05:00
Bill Hoffman 809b32fe59 ENH: remove several compiler warnings 2002-03-13 10:25:11 -05:00
Bill Hoffman 433e1128ab ENH: add error checking for option commands with too many arguments 2002-03-11 16:04:22 -05:00
Bill Hoffman fc933df1fc ENH: add support for .def files 2002-03-11 12:11:20 -05:00
Bill Hoffman 938e6e487b BUG: make sure libraries do not depend on themselves 2002-03-11 08:11:26 -05:00
Sebastien Barre 9097446e90 Build cmaketest even if testing if OFF (so that it can be used externally) 2002-03-07 10:41:31 -05:00
Sebastien Barre e64c63cc90 ENH: add -E option (exclude tests matching a regexp) 2002-03-06 17:58:44 -05:00
Sebastien Barre 3ed2e6d02b ENH: add cmaketest to install targets (so that it can be used in other projects) and pass the rest of its command-line args to cmake 2002-03-06 16:30:55 -05:00
Bill Hoffman 8aa3c35dad ENH: add suport for semi-colon separated list variables 2002-03-06 10:10:46 -05:00
Bill Hoffman 4651dbcfc6 ENH: expand variables in arguments before the commands get them 2002-03-05 18:41:24 -05:00
Bill Hoffman 2b9140f6b5 BUG: get the correct return value from pclose 2002-03-05 18:25:13 -05:00
Bill Hoffman 076aafe79a ENH: add file specific compile flags 2002-03-04 14:14:41 -05:00
Brad King ac74d51382 ENH: Added support for including extra files in generated header to get access to export macros of derived projects. 2002-03-01 15:49:10 -05:00
Bill Hoffman d14a2314e5 check bool values and prefere off 2002-02-28 15:57:45 -05:00
Bill Hoffman 96db798627 use xml output quotes for paths 2002-02-28 15:42:13 -05:00
Bill Hoffman dcf821ad4d BUG: look for exe path as well. 2002-02-28 11:15:10 -05:00
Bill Hoffman e179ddde12 ENH: look for .com files before .exe 2002-02-28 10:41:27 -05:00
Bill Hoffman 6c1e38abb4 clean up in dot net 2002-02-27 18:11:12 -05:00
Bill Hoffman 0b6f8be725 add command line option -D for config directory to run 2002-02-26 15:15:16 -05:00
Bill Hoffman 800db3a063 ENH: add RUN_TESTS 2002-02-26 15:14:40 -05:00
Sebastien Barre ffb875f862 FIX: command now expands args during the first pass (found through FOREACH example) 2002-02-26 11:46:01 -05:00
Bill Hoffman 0552c4025d BUG: fix type problem size_type is unsigned 2002-02-26 08:56:42 -05:00
Bill Hoffman 6ad590aad6 ENH: dot net almost working 2002-02-25 18:14:01 -05:00
Sebastien Barre b253a0644d FIX: command now expands *all* args (found through FOREACH example) 2002-02-25 16:57:09 -05:00
Sebastien Barre 2649962d65 FIX: although a CMakeLists.txt file could be searched up 'n' level in the directory tree, ReadListFile() always implied a CMakeLists.txt file was up *one* level. 2002-02-25 15:06:18 -05:00
Bill Hoffman 9bab6591d0 ENH: fix warning 2002-02-25 12:47:20 -05:00
Sebastien Barre b194f66677 ENH: Expand vars in SUBDIRS 2002-02-25 11:58:13 -05:00
Bill Hoffman cd9157d9ea BUG: fix remove of cygdrive path stuff 2002-02-25 10:47:56 -05:00
Brad King a6333bfca3 ERR: std::ios::binary is only needed for Windows platforms, and isn't supported for all UNIX platforms. 2002-02-23 10:00:54 -05:00
Bill Hoffman b8d2413156 ENH: fix for spaces in paths on unix 2002-02-22 15:40:44 -05:00
Bill Hoffman 8c3400dc6b ENH: big change in the path handling, one function CreateOutputPath is used to escape spaces and convert to the native path type 2002-02-22 13:38:33 -05:00
Brad King bfcf4b02bf ENH: Another attempt at getting cmCopyFile to work correctly. The previous implementation was correct, but didn't work on HPUX due to stream library bugs. This implementation will hopefully work everywhere. 2002-02-22 10:08:04 -05:00
Bill Hoffman 5cd08d0563 BUG: fix copy file for HP 2002-02-21 17:32:55 -05:00
Sebastien Barre 513d48c5ea ENH: Since each test can send a lot of text to stderr/stdout, ctest now displays the list of tests that failed at the end of the process. 2002-02-21 16:06:54 -05:00
Bill Hoffman 3c748ec5ad ENH: add a virtual CreateMakeVariable to shorten makefile variables for borland make 2002-02-21 15:55:20 -05:00
Berk Geveci 49fa9d8b61 Argh 2002-02-21 08:53:26 -05:00
Bill Hoffman 59714406cc add ifdef for windows function 2002-02-21 08:43:19 -05:00
Bill Hoffman 7cf06be12e dot net port 2002-02-20 15:27:04 -05:00
Bill Hoffman 27617df8b0 close to dot net working 2002-02-20 15:26:51 -05:00
Berk Geveci 6108756fbc Bill forgot to add a library to the release target. 2002-02-20 09:16:00 -05:00
Bill Hoffman f5e672fed1 ENH: getting closer 2002-02-19 17:56:14 -05:00
Bill Hoffman b730794058 ENH: add dotnet stuff 2002-02-19 11:54:34 -05:00
Luis Ibanez 73ea7c710f FIX: FLTK includes should use ".H" instead of ".h" 2002-02-19 10:23:23 -05:00
Bill Hoffman f95d76c736 fix spacing on text 2002-02-19 09:43:40 -05:00
Bill Hoffman 96898bed3e add dot net stuff to cmakelists file and dsp file 2002-02-19 09:43:26 -05:00
Bill Hoffman 8d8528db82 getting closer but still not working dot net support 2002-02-18 17:41:02 -05:00
Bill Hoffman 531900c941 *** empty log message *** 2002-02-18 14:50:09 -05:00
Bill Hoffman 60b9a2c14b ENH: first pass at dot net support 2002-02-18 14:36:04 -05:00
Bill Hoffman 12c5f0fa26 ENH: fix for borland tlib files with dash in them problem. 2002-02-18 14:09:03 -05:00
Bill Hoffman 142119be95 ENH: only depend subdir builds on TARGETS, not all sub dir operations, we do not want to build when doing a make depend 2002-02-14 10:03:19 -05:00
Sebastien Barre 6d6546ea7e This dir should not be covered (form distrib) 2002-02-13 16:17:26 -05:00
Bill Hoffman 7d70285c86 ENH: add IGNORE option for cache values 2002-02-11 09:20:11 -05:00
Bill Hoffman 8e15a1ede7 BUG: fix CollapseFullPath so a trailing slash is not added to directories 2002-02-08 15:52:36 -05:00
Bill Hoffman 4d119dd7d6 ENH: add ends at end of string 2002-02-06 12:14:03 -05:00
Bill Hoffman 80f716941e add bool return value so diagnostics are easier 2002-02-06 10:50:17 -05:00
Bill Hoffman caa49f2a1e BUG: remove depend on directory because it is not supported by all makes 2002-02-06 10:42:15 -05:00
Bill Hoffman 84f6fdd69f ENH: use target link libraries and add the link directory for cmform 2002-02-04 22:00:33 -05:00
Ian Scott 626251ddf0 the generated makefiles/DSPfiles now depend on the aux source directory's
last modified date.
2002-02-04 08:28:54 -05:00
Berk Geveci 11ff0db01f Using cmSystemTools::Error() instead of cerr. 2002-02-01 13:08:50 -05:00
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
Berk Geveci d42ded5b16 Added debugging. 2001-12-04 11:16:04 -05:00
Bill Hoffman f693910602 no c++ comments in c code, duhhhh 2001-12-04 10:11:54 -05:00
Bill Hoffman 7bcea94b9a ENH: AIX seems to define lines and columns as macros, I undefed them 2001-12-03 19:58:56 -05:00
Bill Hoffman 2c853716ce ENH: let people know the variable is advanced 2001-12-03 17:47:30 -05:00
Bill Hoffman 2bdcc9ae7e ENH: fix debugging with borland 2001-12-03 17:01:40 -05:00
Bill Hoffman b545988c0b ENH: add -C load cache file option 2001-12-03 17:00:43 -05:00
Sebastien Barre 906f0a3339 Add /A and /G command-line param to carry the value of "Show Advanced" and generator name in desktop shortcuts 2001-12-03 15:59:17 -05:00
Ken Martin 9214ad0ec6 minor fix for not found executables 2001-12-03 15:55:28 -05:00
Berk Geveci b8573c65ec Fixed help. 2001-12-03 15:11:59 -05:00
Berk Geveci a987b6bf47 Fixed help. 2001-12-03 15:11:03 -05:00
Bill Hoffman 07363b8318 add wizard 2001-12-03 13:05:29 -05:00
Luis Ibanez 83eb4b20c0 ENH: AddCustomCommand register now multiple outputs. Auxiliary variable manage
the output directory where FLTK generated code is going to be writen.
2001-12-02 18:22:19 -05:00
Sebastien Barre b180bf609b fix warning for Borland build 2001-11-30 17:20:43 -05:00
Bill Hoffman ab46fd164a *** empty log message *** 2001-11-30 16:51:08 -05:00
Bill Hoffman 0d3eefb1f1 new borland generator moved into place 2001-11-30 16:48:52 -05:00
Bill Hoffman e9d0ad180f Replace with nmake subclassed generator 2001-11-30 16:27:14 -05:00
Sebastien Barre 5b251bde7e Add options for library manager (lib). 2001-11-30 16:05:55 -05:00
Berk Geveci 5b6e7bcf70 Improving interface. 2001-11-30 15:04:25 -05:00
Bill Hoffman e32fc72f48 print cmake running message to cerr 2001-11-30 14:50:57 -05:00
Sebastien Barre a7c293a99e Add linker flags for each build type 2001-11-30 14:33:37 -05:00
Berk Geveci 81d74f638a Better documentation. 2001-11-30 14:24:37 -05:00
Berk Geveci ca518a593e Better documentation. 2001-11-30 14:16:28 -05:00
Berk Geveci e9d4096713 Improved help. 2001-11-30 13:59:36 -05:00
Bill Hoffman cb23279833 fix library suffix 2001-11-30 13:09:53 -05:00
Bill Hoffman 47ae31d307 remove suffix rules 2001-11-30 12:41:19 -05:00
Bill Hoffman daf890359c add new suffix rules 2001-11-30 12:05:38 -05:00
Berk Geveci b64e2b83b0 Can non use clear because it is undef'ed. 2001-11-30 11:34:13 -05:00
Berk Geveci 1499a4268d Fixed warning. 2001-11-30 10:58:23 -05:00
Berk Geveci 86e75e0d39 Fixed warning. 2001-11-30 10:54:04 -05:00
Berk Geveci d6e0f7da0c Since it is being used as an array size in another file, it is not possible to initialize MAX_WIDTH in a .cxx file. 2001-11-30 10:51:30 -05:00
Bill Hoffman 906ebb5547 fix warning 2001-11-30 10:41:08 -05:00
Berk Geveci 195e2c6449 Missed std:: 2001-11-30 10:40:41 -05:00
Berk Geveci 46c5d3355a Missed std:: 2001-11-30 10:28:40 -05:00
Berk Geveci 8a59c205bd opps I forgot to add these 2001-11-29 23:45:01 -05:00
Bill Hoffman c80c5d245d ENH: fix various problems caused by the generalization of nmake generator 2001-11-29 23:24:37 -05:00
Sebastien Barre f670003d24 Nmake build: move most of hard-coded values to config parameters 2001-11-29 20:59:53 -05:00
Berk Geveci 521d8d9410 Improvements to the curses interface. 2001-11-29 16:44:22 -05:00
Bill Hoffman e57a982136 ENH: fix memory leaks 2001-11-29 15:14:07 -05:00
Sebastien Barre e8dade9420 Fix space pb (embended, then escaped) 2001-11-29 14:51:35 -05:00
Bill Hoffman 765934fea9 add bootstrap makefile for borland compiler 2001-11-29 09:22:21 -05:00
Bill Hoffman 15805d260e fix for shared libs and borland 2001-11-29 09:09:11 -05:00
Luis Ibanez 1be3b0fd99 ENH: GENERATED_CODE case added to switch. 2001-11-29 01:51:14 -05:00
Luis Ibanez f86418e99f ENH: A type of target was added for representing GENERATED_CODE 2001-11-29 01:48:23 -05:00
Luis Ibanez e11df32931 ENH: Custom commands are now builded. 2001-11-29 01:46:29 -05:00
Bill Hoffman e7bb895afd ENH: borland generator 2 is working more or less 2001-11-28 18:07:27 -05:00
Luis Ibanez b29e3f11cb ENH: Command simplified in order to construct a Source list of .cxx from
a source list of .fl GUI files.
2001-11-28 14:45:20 -05:00
Luis Ibanez ecd4b2b1ee ENH: The command was simplified to generate a source list of cxx from a
source list of .fl GUI files.
2001-11-28 14:44:10 -05:00
Bill Hoffman fd516c022d add new borland generator 2001-11-28 11:12:15 -05:00
Bill Hoffman af9bc3fa9f *** empty log message *** 2001-11-28 10:51:28 -05:00
Bill Hoffman ed50410ae7 bug: fix same path comparison when short paths are used 2001-11-28 07:15:04 -05:00
Bill Hoffman f901b9c340 fix warning 2001-11-28 07:14:25 -05:00
Luis Ibanez 10097d7685 FIX: When switching from one project to another the CacheGUI wasn't being
cleared. Values from one project were mixed into the other.
2001-11-27 19:38:05 -05:00
Berk Geveci 0180d3156f ENH: nmake generator much closer to working with spaces 2001-11-27 17:53:05 -05:00
Berk Geveci 1944e1887d ENH: expand variables in a command before escaping spaces in the command 2001-11-27 17:32:33 -05:00
Berk Geveci 3173249761 ENH: do not write over existing cache values even doc strings to avoid changing the cache file 2001-11-27 17:31:45 -05:00
Berk Geveci b51230a565 remove unused include 2001-11-27 16:12:00 -05:00
Ken Martin 97ec90bf85 adjusted spacing 2001-11-27 15:34:27 -05:00
Ken Martin a99f293e3a removed extra lib paths to avoid finding old libs 2001-11-27 15:33:43 -05:00
Luis Ibanez 1bb3fada7a ENH: Command for running FLTK's UI tool "Fluid" was added. 2001-11-27 00:03:45 -05:00
Luis Ibanez 42e2874d75 ENH: Support for FLTK Fluid tool added. 2001-11-27 00:02:27 -05:00
Luis Ibanez 0eb838643e Command for invoking FLTK's code generator "Fluid" during the building process 2001-11-26 22:40:31 -05:00
Bill Hoffman eecf4b9cbf ENH: add advanced variable types and command line wizard gui 2001-11-26 18:28:27 -05:00
Bill Hoffman 3e24edcd04 ENH: add possibility to add doc strings to varibles created by find type commands 2001-11-26 18:24:47 -05:00
Berk Geveci b170d21c98 Oops. The wrong version of the duplicate code was kept. Loaded cache values were not made internal. 2001-11-26 16:32:10 -05:00
Ken Martin 7850f7b319 removed warning messages 2001-11-26 11:32:20 -05:00
Ken Martin 03e7f324f0 better error messages 2001-11-26 11:31:50 -05:00
Bill Hoffman 12551a33c3 NMake with spaces in directories 2001-11-21 17:45:01 -05:00
Andy Cedilnik 66135bee42 Fix the current directory check for NMake 2001-11-21 11:35:01 -05:00
Bill Hoffman 94c828bd1f ENH: clean up command line arguments 2001-11-21 08:47:37 -05:00
Bill Hoffman 6156928549 WAR: fix warning 2001-11-21 08:47:10 -05:00
Bill Hoffman f7fae15d39 ENH: add command line arguments to set cache entries 2001-11-20 17:51:03 -05:00
Berk Geveci f3d63c1932 ENH: closer to working with spaces in source directory 2001-11-20 17:27:41 -05:00
Berk Geveci a43f3c99c7 BUG: fix memory leak 2001-11-20 17:27:04 -05:00
Berk Geveci 46568242fa BUG: fix for spaces in path to CMakeList.txt file 2001-11-20 17:26:45 -05:00
Bill Hoffman 572e5146f8 define hacks and such for the dec compiler 2001-11-20 08:28:54 -05:00
Bill Hoffman da17f30cb5 ENH: add new command VARIABLE_REQUIRES for better debugging of list files 2001-11-19 17:52:08 -05:00
Bill Hoffman 4d5f9deb00 *** empty log message *** 2001-11-19 09:34:29 -05:00
Bill Hoffman 2614e62314 ENH: remove unused source files 2001-11-19 09:20:07 -05:00
Bill Hoffman bf1840a52d ENH: look for cmake test with .exe if nmake 2001-11-16 16:42:27 -05:00
Bill Hoffman 65222add02 face lift for GUI and some more help 2001-11-16 16:29:25 -05:00
Bill Hoffman 25ac768763 ENH: fix for dll builds 2001-11-16 16:28:42 -05:00
Franck Bettinger 3e16ec5eda Added a make depend in the clean rule to refresh the dependencies 2001-11-16 13:08:03 -05:00
Franck Bettinger d66eb731a9 undo the last change because of problem with some versions of make 2001-11-16 10:14:28 -05:00
Franck Bettinger dad526aad6 added the deletion of cmake.depends in the cleaning so that it is recomputed even source files (i.e. .cxx or .h) are generated 2001-11-16 09:04:49 -05:00
Franck Bettinger 8c7b9cbf10 Now adds dependency if the file doesn't exist but will be created during the compilation 2001-11-16 09:03:31 -05:00
Franck Bettinger 9f9db7dad5 corrected path problem and added moc compilation too 2001-11-16 09:01:57 -05:00
Bill Hoffman 0d2f8e65c5 remove depend on star dot h as it is not really needed and breaks some versions of gmake 2001-11-15 22:10:45 -05:00
Bill Hoffman 54f5d7994c ENH: use crazy temp files for long command lines 2001-11-15 18:18:45 -05:00
Bill Hoffman d2b84627de ENH: remove debug prints 2001-11-15 17:45:33 -05:00
Bill Hoffman 407afb906c closer to nmake working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND used by Dart, nmake makefiles work with borland make and nmake 2001-11-15 17:11:26 -05:00
Bill Hoffman 2df56cf21b ENH: fix library builds with nmake 2001-11-15 09:55:50 -05:00
Bill Hoffman 4b34ffa669 BUG: wrong shortname used 2001-11-15 09:00:44 -05:00
Bill Hoffman ba62b9d94d BUG: fix build for cygwin 2001-11-15 08:43:02 -05:00
Bill Hoffman 1406eae1ba BUG: avoid .cxx.o names... 2001-11-15 08:42:34 -05:00
Bill Hoffman 94f82edd07 Closer to nmake build 2001-11-14 18:12:22 -05:00
Bill Hoffman a8d47b7221 closer to nmake build 2001-11-14 18:11:04 -05:00
Sebastien Barre 669f7e7f07 Quick addition: "Create shortcut" menu entry. 2001-11-14 14:39:26 -05:00
Bill Hoffman f978b6f7ea nmake support 2001-11-14 10:21:59 -05:00
Brad King 7ac4e78316 ERR: Re-ordered includes to fix macro conflict for gcc 3.0. 2001-11-14 09:56:33 -05:00
Brad King 17591cd515 ERR: Fixed compiler warning for gcc 3.0. 2001-11-14 09:55:24 -05:00
Bill Hoffman e7ac38077a ENH: remove debug statements 2001-11-14 09:22:08 -05:00
Bill Hoffman 4bbdfc0315 ENH: remove warning 2001-11-14 08:49:37 -05:00
Bill Hoffman dc839f80f0 start work on nmake generator 2001-11-13 18:23:45 -05:00
Bill Hoffman 6220a187ba clean up object file build rule, and do not attempt to remove link_directories that are in the build tree 2001-11-13 15:54:41 -05:00
Ken Martin 274099f7ec fixes to curses stuff 2001-11-13 14:22:29 -05:00
Bill Hoffman 83d7df09c4 warnings 2001-11-13 12:42:45 -05:00
Bill Hoffman 41017cbc88 ENH: clean up warnings 2001-11-13 12:38:53 -05:00
Bill Hoffman f3ebd438c7 WAR: fix compile warnings 2001-11-13 12:25:34 -05:00
Bill Hoffman a244cb242c ENH: fix spelling error 2001-11-13 12:21:42 -05:00
Bill Hoffman 4ee923a33c ENH: remove warnings 2001-11-13 12:21:15 -05:00
Brad King 5231ad0c7e ENH: cmMakeDepend::GenerateDependInformation will now use hints regardless of whether the actual file exists. This can be used to add dependencies to .h files which are generated but included in hand-written .cxx files. If the .cxx does exist, though, it will be used first, and the hints will be used afterward. 2001-11-12 15:37:38 -05:00
Ken Martin 668974b01c minor fix 2001-11-12 09:21:36 -05:00
Berk Geveci 1efcd4d035 Renaming ccurses to ccmake. 2001-11-09 16:16:56 -05:00
Berk Geveci 23f0b7760f Trying to fix curses. 2001-11-09 16:05:33 -05:00
Ken Martin 722283804b support for custom targets on exe and lib 2001-11-09 13:00:53 -05:00
Franck Bettinger 53d0de2a9f cleanups 2001-11-09 12:07:37 -05:00
Franck Bettinger becce939a2 support for compilation of .ui files into .h and .cxx files 2001-11-09 12:03:41 -05:00
Sebastien Barre 61a66c2645 SOURCE, COMMAND, TARGET are required now 2001-11-09 10:42:16 -05:00
Sebastien Barre bdf0241d2e SOURCE, COMMAND, TARGET are required now 2001-11-09 10:37:22 -05:00
Sebastien Barre 6b5e54744c Reimplement code. Since a custom command is very flexible and might be extended in the future, make all arguments prefixed with arg type, make ordering irrelevant and potentially all args optional. 2001-11-09 10:33:22 -05:00
Berk Geveci 438676de38 Trying to fix curses problems. 2001-11-08 17:30:18 -05:00
Berk Geveci 3482e716c3 Fixing problems with curses headers. 2001-11-08 17:25:36 -05:00
Berk Geveci 217081a72b Trying to fix curses problems. 2001-11-08 17:17:44 -05:00