Commit Graph

1413 Commits

Author SHA1 Message Date
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