Commit Graph

1341 Commits

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