Commit Graph

1526 Commits

Author SHA1 Message Date
Ken Martin 7b5a8762c6 modified how source files store properties 2002-08-16 11:20:18 -04:00
Brad King f7b1a90256 ERR: unsigned int -> size_t. 2002-08-16 09:45:34 -04:00
Brad King 7bd3a1e702 ENH: Changed check for which version of instantiators to generate to look for definition of VTK_USE_INSTANTIATOR_NEW instead of an extra argument to VTK_MAKE_INSTANTIATOR. 2002-08-16 09:31:10 -04:00
Brad King c1ad03bedb BUG: Added backward-compatability. The old instantiator style will be used unless the argument USE_INSTANTIATOR_NEW is given to tell the command to make use of the instantiator new functions exported from each class's implementation file. 2002-08-15 15:01:42 -04:00
Brad King 3200bfbf4c ENH: Improved generated instantiator to use extern declarations to wrappers around the New() methods. This avoids the need to include each class's header in an instantiator source. The instantiator class implementations can now fit in a single source file that compiles quickly. 2002-08-15 14:39:21 -04:00
Bill Hoffman 99a821d1c2 ENH: add -DWIN32 flag for builds 2002-08-15 09:34:14 -04:00
Ken Martin 216c985f72 added new command 2002-08-13 15:46:33 -04:00
Ken Martin 96a3b4d3fc compiler warning 2002-08-12 08:39:08 -04:00
Ken Martin 6deb5bbe70 better IF ELSE handling 2002-08-09 12:00:49 -04:00
Andy Cedilnik a898cfb17a Add return value support and add documentation 2002-08-08 15:29:19 -04:00
Andy Cedilnik c41c7a6a9a Add option of storing output to the variable 2002-08-08 15:13:20 -04:00
Bill Hoffman f23688659f BUG: handle .exe extension for cygwin 2002-08-08 12:30:39 -04:00
Ken Martin e1b6ba9f95 fixed some compiler warnings and leaks 2002-08-08 08:51:40 -04:00
Ken Martin 86709a4ccf fixed some compiler warnings and leaks 2002-08-07 11:01:06 -04:00
Ken Martin 3704cc268e fixed some compiler warnings and leaks 2002-08-07 10:30:38 -04:00
Ken Martin ab2dc5558b minor fix 2002-08-05 09:51:50 -04:00
Sebastien Barre 46a327c79d FIX: put ExpandRegistryValue() back (seems to have been removed accidentally I guess in 1.25) 2002-08-01 23:05:16 -04:00
Sebastien Barre eebc39d199 FIX: stupid pb fixed (close to being medieval'ed by The Ken) 2002-08-01 16:23:07 -04:00
Ken Martin be3a15d45f no longer need an argument 2002-08-01 15:58:25 -04:00
Bill Hoffman fc7e4169e1 BUG: fix jump to directory and build for nmake if library path is not set. combine OutputBuildExecutableInDir and OutputBuildLibraryInDir into OutputBuildTargetInDir 2002-07-31 13:45:07 -04:00
Ken Martin 1538956b7f fixed support for C test programs 2002-07-31 11:07:09 -04:00
Sebastien Barre b5cf03b5e7 FIX: ConvertToOutputPath puts "" around path. Not compatible with GUI use. 2002-07-31 10:34:06 -04:00
Sebastien Barre 843616ec7e FIX: <stdlib.h> is enough to get malloc()/free() 2002-07-31 09:29:58 -04:00
Ken Martin 0f6e022dca updated to handle extensions 2002-07-30 16:19:14 -04:00
Sebastien Barre c05e3613ce FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-30 10:33:02 -04:00
Sebastien Barre f87057813d FIX: la commande créait du code C++. Du code C devrait faire l'affaire. 2002-07-30 10:23:39 -04:00
Brad King da9d44f877 BUG: Only one generated Tcl wrapper source was getting added to the package's library. 2002-07-26 10:15:04 -04:00
Brad King 20b1d940a4 BUG: Generated call to Tcl_CreateCommand for vtkCommand should cast pointer to extern "C" version. 2002-07-26 09:54:47 -04:00
Brad King 6811b49d2b BUG: Generated vtkCommand prototype cannot be extern "C" because it may not match with the version in VTK. 2002-07-25 16:47:21 -04:00
Andy Cedilnik 23deae1040 Ok, now cd will work on windows 2002-07-25 16:41:36 -04:00
Will Schroeder 8dd1602574 fixed warning 2002-07-25 16:25:39 -04:00
Ken Martin 3c9206fdd8 makefile now does not ignore NOTFOUND libs and includes 2002-07-25 09:16:17 -04:00
Ken Martin 8a3b2ad92e makefile now ignores NOTFOUND libs and includes 2002-07-25 08:00:03 -04:00
Sebastien Barre cdd688a75c ENH: better Drag&Drop, and change source dir automatically when build dir is changed in the GUI 2002-07-22 10:57:16 -04:00
Ken Martin e8dbdcaf0c allows no arguments 2002-07-22 10:01:53 -04:00
Sebastien Barre 353050fb4e ENH: add Drag & Drop (directory, file, or CMakeCache), support for Shortcut too 2002-07-21 19:12:10 -04:00
Sebastien Barre 4a792ac1a4 ENH: add Drag & Drop (directory, file, or CMakeCache), support for Shortcut too 2002-07-21 15:56:08 -04:00
Ken Martin 4823f16ebb modified to accept no arguments 2002-07-20 08:55:55 -04:00
Ken Martin 8d8470c30e full variable replacement and removal or empty arguments 2002-07-19 14:42:34 -04:00
Ken Martin 6bbc8e9d45 does not need a second argument 2002-07-19 14:40:49 -04:00
Ken Martin 22ae78d92f fixe for files with paths 2002-07-17 15:57:51 -04:00
Andy Cedilnik 42a00c96c1 Fix changing of directories using cmSystemTools RunCommand feature 2002-07-17 11:53:07 -04:00
Ken Martin fcc410de44 fixed if statements inside a foreach 2002-07-17 10:48:39 -04:00
Brad King df29ea087f BUG: Only the last extension should be removed. 2002-07-15 09:46:09 -04:00
Brad King c5574e096b ENH: Added GetFilenameWithoutLastExtension. 2002-07-15 09:45:47 -04:00
Ken Martin b59f5ddb7f fix install target 2002-07-15 08:44:58 -04:00
Ken Martin 8b2a797b57 fix warning 2002-07-11 14:58:26 -04:00
Bill Hoffman ed7a32ebe4 BUG: fix for compile with hp 2002-07-11 14:20:39 -04:00
Ken Martin 694cff3cf9 fix warning on Sun 2002-07-10 16:07:51 -04:00
Andy Cedilnik 120b2523f5 Add command that runs program in given directory 2002-07-10 14:34:38 -04:00
Ken Martin 32ad30e883 better error handling with if statements 2002-07-10 11:38:38 -04:00
Andy Cedilnik 9f6ebe4eb7 Fix problem when using NMake. This generated lines without space so nmake got all confused 2002-07-10 09:33:17 -04:00
Ken Martin 2a7e4539e6 fixed warning 2002-07-02 08:24:36 -04:00
Ken Martin a43a65bf34 consolidated IF handling and added checks for bad arguments 2002-07-01 08:49:36 -04:00
Ken Martin e0c3d1e959 fixed commands that were setting definitions in final pass to set definitions in initial pass 2002-06-30 13:53:08 -04:00
Ken Martin 0b88e57e54 fixed commands that were setting definitions in final pass to set definitions in initial pass 2002-06-29 20:04:28 -04:00
Andy Cedilnik 3cfca938da Remove another warning in the python wrapping 2002-06-28 10:29:33 -04:00
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