Ken Martin
876645af51
better warning message
2002-10-15 14:33:11 -04:00
Ken Martin
e4e920ef6c
better warning message
2002-10-15 11:45:04 -04:00
Andy Cedilnik
f70a759446
Remove std::hex as it does not seems to work on SGI, attempt to fix ftime problem on borland
2002-10-15 07:20:02 -04:00
Andy Cedilnik
5a1fccd34d
Fix namespace, typo, and make ftime work on windows
2002-10-14 18:33:10 -04:00
Andy Cedilnik
f4859295eb
Even more cleanups, fix time on certain platforms such as windows, cygwin, and linux. Hopefully we can add entries for other platforms until try_compile works. Also escape certain characters for xml.
2002-10-14 15:11:21 -04:00
Andy Cedilnik
066cea228b
More cleanups, fix prexontext and log number
2002-10-14 09:30:10 -04:00
Andy Cedilnik
461a3d2089
Add LastBuild.log file, fix some minor problems in output, modify output a bit...
2002-10-13 23:07:54 -04:00
Ken Martin
d8167fb7fd
compiler warning
2002-10-11 13:17:52 -04:00
Brad King
a8d038dbd0
ENH: Added Split method to cmSystemTools to split a string into lines on its newlines.
2002-10-11 10:16:01 -04:00
Brad King
98ae74ce74
ERR: istrstream and istringstream need to be pulled into namespace std on the SGI.
2002-10-11 08:36:20 -04:00
Andy Cedilnik
5b9feb6fdc
Fix network build
2002-10-10 11:08:52 -04:00
Brad King
281f7519e1
ENH: Renamed cmStringStream to cmOStringStream and added cmIStringStream. Removed cmInputStringStream.
2002-10-10 10:43:59 -04:00
Andy Cedilnik
65cc289047
Remove compile error and remove some warnings
2002-10-10 09:41:58 -04:00
Ken Martin
1ca67f200a
fixed some compiler warnings
2002-10-10 08:25:11 -04:00
Andy Cedilnik
1dcfcc809e
Remove warning
2002-10-10 08:23:29 -04:00
Andy Cedilnik
f6a1218e10
Remove warning
2002-10-10 08:11:37 -04:00
Andy Cedilnik
089429fee9
Try to use platform independent input string stream
2002-10-10 08:11:05 -04:00
Ken Martin
cceb68f2a0
Remove memory leak caused by cmDynamicLoader not being deleted properly
2002-10-09 17:47:24 -04:00
Andy Cedilnik
b431046277
Try to add enter support
2002-10-09 16:26:02 -04:00
Ken Martin
f990777a60
added FORCE option
2002-10-09 15:48:59 -04:00
Sebastien Barre
cb5763a410
ENH: update the progress when generating is "done".
2002-10-09 15:24:20 -04:00
Ken Martin
6ee07d2c10
changed name
2002-10-09 13:49:56 -04:00
Ken Martin
e55a05a6f6
added Code Warrior dev
2002-10-09 13:37:27 -04:00
Ken Martin
4e3d4e712c
added build for Code Warrior
2002-10-09 13:32:01 -04:00
Ken Martin
5cef592bb1
some updates
2002-10-09 13:30:54 -04:00
Andy Cedilnik
ea87271c4a
Reorganization, cleanup and some improvement in dart emulation
2002-10-08 22:54:24 -04:00
Andy Cedilnik
8f63293056
Add parsing of warnings and errors
2002-10-08 22:00:11 -04:00
Andy Cedilnik
350eeeab4e
Add configure option and fix potential bug in other targets. Now the run command is actually run with directory, so eventually we should be able to run this from a subdirectory
2002-10-08 20:02:01 -04:00
Ken Martin
abf3337888
some mods to the plugin API
2002-10-08 15:55:04 -04:00
Bill Hoffman
8cdb9a316f
BUG: get all the output including the last character
2002-10-08 10:53:32 -04:00
Ken Martin
2cf6730def
minor fix to allow if with no arguments
2002-10-07 09:16:31 -04:00
Andy Cedilnik
d5296aa85a
Suppress output of trycompile
2002-10-07 08:23:19 -04:00
Andy Cedilnik
fba1ca0b68
Fix update so that it actually updates the source directory,
2002-10-06 21:25:30 -04:00
Andy Cedilnik
51f399ca29
Fix for run command on windows. If you specify command in quotes but not full path, it should still work
2002-10-06 21:24:37 -04:00
Andy Cedilnik
088709e99f
Add missing namespace
2002-10-06 20:44:29 -04:00
Andy Cedilnik
a8bd7f1ff6
Revert back. Does not seems to work on Windows
2002-10-06 20:44:16 -04:00
Andy Cedilnik
da70a950de
Add some minimal Dart capability to ctest. For example now you can actually use ctest to build projects, do cvs update on all platforms. This is especially cool for Visual Studio where you do not want to load the whole development environment just to build your project.
2002-10-06 20:36:52 -04:00
Andy Cedilnik
8fd2ec6e91
Check if directory was actually created
2002-10-06 18:56:09 -04:00
Andy Cedilnik
9ed93397fb
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
2002-10-06 12:12:59 -04:00
Andy Cedilnik
1ba0a05039
Fix borland build. Borland Run command should be static, since it is called with no object...
2002-10-05 10:24:45 -04:00
Andy Cedilnik
a518fed4e3
Try to improve source group interface
2002-10-04 18:16:13 -04:00
Andy Cedilnik
77616437d1
Remove tabs
2002-10-04 14:01:22 -04:00
Sebastien Barre
091f53f539
FIX: re-enable the OK button in RunCmake() when everything is done.
2002-10-04 12:56:22 -04:00
Andy Cedilnik
f68f7c2550
Fix reading of advanced values from CMakeCache
2002-10-04 12:30:29 -04:00
Ken Martin
bdfa41a4a6
updates
2002-10-04 11:42:16 -04:00
Andy Cedilnik
54ac432b27
Add missing argument
2002-10-04 10:47:57 -04:00
Andy Cedilnik
0f3661562c
Cleanup RunCOmmand code and move borland one to vtkWin32ProcessExecution, so that it is all in one place... Add timeout option whihc does not work yet, but it should not produce warning any more
2002-10-04 10:38:14 -04:00
Ken Martin
38d1ea9b4c
always set PROJECT_SOURCE_DIR etc
2002-10-04 08:59:02 -04:00
Ken Martin
d27cd931ae
some fixes
2002-10-03 16:40:23 -04:00
Ken Martin
599114fc70
under development
2002-10-03 15:14:32 -04:00
Ken Martin
9f5cf38290
Revert to fix win 9x
2002-10-02 17:46:21 -04:00
Brad King
5ce73bdd14
ENH: Added explicit declarations of some C functions that are hard to get from standard headers in como (www.comeaucomputing.com) strict mode.
2002-10-02 17:31:59 -04:00
Brad King
cd8e26f14c
BUG: Must return false after an error of incorrect arguments.
2002-10-02 17:23:26 -04:00
Brad King
6c2944b6fe
BUG: STRLESS and STRGREATER need to treat non-existent definitions as strings.
2002-10-02 17:22:56 -04:00
Andy Cedilnik
f549a2bac8
Cleanup and try to unify with the other code
2002-10-02 17:16:56 -04:00
Andy Cedilnik
4435bb091b
Cleanup
2002-10-02 17:14:17 -04:00
Ken Martin
25b5897ffa
Remove unnecessary new line
2002-10-02 11:35:29 -04:00
Ken Martin
8cac76825f
Fix bug in borland run command
2002-10-02 11:15:07 -04:00
Ken Martin
047acd0c6f
Produce only one output
2002-10-02 11:14:19 -04:00
Brad King
3997fdeec3
ENH: Added support to pass the gccxml program location to cable if ITK_GCCXML_EXECUTABLE is set on m_Makefile.
2002-10-01 18:37:08 -04:00
Ken Martin
4045066f01
Fix grouping of arguments on Windows 98
2002-10-01 13:04:48 -04:00
Ken Martin
789cc71855
Fix a bug in generator. This one is good: This bug is only present on Windows 98, but since RunCommand did not work, it never showed on the dashboard... In any case commands in Visual studio 6 should be in windows style slashes
2002-10-01 13:04:19 -04:00
Ken Martin
ffe1132407
Put quotes around arguments if they have spaces and no quotes
2002-10-01 13:00:30 -04:00
Andy Cedilnik
a2eccb4203
Remove dependency to dynamic loader during bootstrap
2002-10-01 07:28:34 -04:00
Brad King
9d32676b70
ERR: Fixed bad sentence in error message.
2002-09-30 21:34:05 -04:00
Andy Cedilnik
779810f132
Fix bug in chdir; Who did this anyway...
2002-09-30 16:46:19 -04:00
Bill Hoffman
a63f7ba43c
BUG: fix load command stuff for cygwin and cleanup at exit
2002-09-30 16:25:02 -04:00
Ken Martin
04d8ba688c
Add some more comments
2002-09-30 15:05:35 -04:00
Ken Martin
a7692d84f0
Cleanups and hopefully now it works on all windows platforms
2002-09-30 15:00:42 -04:00
Ken Martin
6672c295c7
Set comspec substitute the right way
2002-09-30 14:01:51 -04:00
Ken Martin
5b6d899bc6
Set comspec substitute
2002-09-30 14:00:28 -04:00
Ken Martin
67be746027
Add spaces
2002-09-30 13:59:01 -04:00
Andy Cedilnik
9619ee3aa1
Another attempt on Windows 98
2002-09-30 11:41:53 -04:00
Andy Cedilnik
ef2af05140
Attempt to unify the code
2002-09-30 11:00:53 -04:00
Andy Cedilnik
a38b917162
Fix bug in printing
2002-09-30 10:47:06 -04:00
Andy Cedilnik
b7789388d3
Remove warnings and fix potential bug
2002-09-30 07:55:31 -04:00
Andy Cedilnik
be6a5696ba
Make borland pass all the tests on XP (and 2000?)
2002-09-30 07:09:31 -04:00
Andy Cedilnik
d789b13502
Remove debug
2002-09-29 22:10:45 -04:00
Andy Cedilnik
aad36568ea
It is late and it at least seems to work better than before...
2002-09-29 21:57:48 -04:00
Andy Cedilnik
375c695ba1
Fix for it to compile on "all" windows platforms...
2002-09-29 21:55:10 -04:00
Andy Cedilnik
4fe98d8068
Simplify debugging by resetting error code
2002-09-29 21:48:16 -04:00
Ken Martin
dbd13144a3
possible fix for warnings
2002-09-29 14:09:38 -04:00
Ken Martin
595c15c84a
compiler warnings
2002-09-29 14:09:16 -04:00
Andy Cedilnik
780a9bbda7
Add two cmake commands -E echo for echoing strings and -E comspec for workaround of bug of windows 9x; add another implementation of run command on windows which should work...
2002-09-27 17:28:15 -04:00
Andy Cedilnik
c310600df5
Add class for process execution on Windows
2002-09-27 17:26:37 -04:00
Ken Martin
7ddb408621
removed some includes
2002-09-27 16:24:10 -04:00
Bill Hoffman
eb6bba34cd
BUG: fix doc string and allow a variable to be promoted from non-cache to cache
2002-09-27 16:19:37 -04:00
Bill Hoffman
cc6d56182d
remove unused stuff
2002-09-27 16:18:55 -04:00
Ken Martin
c751d2ebff
added progress
2002-09-26 15:14:20 -04:00
Ken Martin
85896b3460
minor memory fix
2002-09-26 13:52:12 -04:00
Andy Cedilnik
561a3da204
Several changes: COMPILE_DEFINITIONS is now depricated. If you want to specify some, use CMAKE_FLAGS -DCMAKE_DEFINITIONS:STRING=...; same goes for libraries, include path, ... It now detects wether the file is C or C++ and uses the apropriate project command, it also does the right thing when doing try_compile, so it does not execute configure for every single try_compile
2002-09-25 10:07:45 -04:00
Andy Cedilnik
6ff1579ba7
Use file format detection
2002-09-25 09:31:13 -04:00
Andy Cedilnik
6736678ca3
Add detection of file format from extension
2002-09-25 09:30:49 -04:00
Andy Cedilnik
c6384c19b4
Remove warnings
2002-09-25 07:47:02 -04:00
Andy Cedilnik
66d04692a0
Attempt to make NMake quiet during TRY_COMPILE
2002-09-25 07:46:45 -04:00
Andy Cedilnik
80f20047af
Add verbose flag -V, which makes the output of tests to be displayed; also add help to ctest
2002-09-24 18:34:16 -04:00
Andy Cedilnik
b5de000f26
Improve backward compatibility, so that all backward compatibility stuff is in two modules; fix invoking of try_compile; add checking for header files and sizes of types
2002-09-24 17:58:38 -04:00
Andy Cedilnik
cabe849c03
Add support for mac dylib
2002-09-24 17:37:47 -04:00
Andy Cedilnik
8d14221f7e
Some GUI improvements and fix the way dirty is being set, so that if there are no cache values, dirty is not set
2002-09-24 16:20:44 -04:00
Brad King
94ff97ceed
*** empty log message ***
2002-09-24 14:49:34 -04:00
Ken Martin
9878f49dfc
fixed memory leak
2002-09-24 13:24:10 -04:00
Ken Martin
72054b95fd
always convert to output path
2002-09-24 13:17:39 -04:00
Andy Cedilnik
d86d95cf2b
Cleanup
2002-09-24 10:30:57 -04:00
Andy Cedilnik
e00b56dd57
Add accessor for Flushing cache
2002-09-24 10:24:56 -04:00
Bill Hoffman
cc0e0d5660
one rule per line so borland make does not die
2002-09-24 09:51:42 -04:00
Bill Hoffman
dd0dc9e6bd
handle long commands
2002-09-24 09:50:58 -04:00
Bill Hoffman
94f1e8f5c5
fix for cygwin and nmake that does not define WIN32
2002-09-24 09:24:39 -04:00
Andy Cedilnik
7fb39f7e3b
Fix cache for non void* types
2002-09-23 16:57:51 -04:00
Andy Cedilnik
1b4171c5e4
Keep track of libraries so that you can load them as many times as you want...
2002-09-23 16:24:59 -04:00
Andy Cedilnik
576a490daa
Cleanup
2002-09-23 15:57:05 -04:00
Andy Cedilnik
32fcc2464f
Fix generation of C only modules
2002-09-23 15:54:25 -04:00
Andy Cedilnik
2a21a66b13
Fix extension and suffix for modules on mac
2002-09-23 15:53:40 -04:00
Ken Martin
bafeb69742
cleaned up API
2002-09-23 14:57:24 -04:00
Andy Cedilnik
565adb8115
Fix HP build
2002-09-23 14:04:02 -04:00
Andy Cedilnik
48fe81acdd
Try to remove some warnings
2002-09-23 13:32:14 -04:00
Andy Cedilnik
5843ae455e
Fix loading of module for borland
2002-09-23 13:11:39 -04:00
Andy Cedilnik
6a096be924
Try to fix borland and nmake try compile
2002-09-23 12:23:06 -04:00
Andy Cedilnik
e6406f681d
Abstract cleaning of files and add code that deletes files from Debug subdirectory
2002-09-23 11:06:01 -04:00
Andy Cedilnik
9cf39703dc
Remove debug stuff
2002-09-23 11:05:25 -04:00
Andy Cedilnik
242347c52e
Try to fix quoted definitions
2002-09-23 09:58:34 -04:00
Ken Martin
4852c21b6f
hopefull another fix to if statements
2002-09-23 09:41:01 -04:00
Andy Cedilnik
38baabc665
Attempt to fix Visual studio 6 comiling
2002-09-23 09:07:41 -04:00
Ken Martin
cb4299e9fb
defines cannot have quotes in them
2002-09-22 10:08:28 -04:00
Ken Martin
c9d16defb0
some try compile fixes
2002-09-22 09:53:26 -04:00
Ken Martin
f7ec3c2a76
compiler warning
2002-09-22 07:53:55 -04:00
Andy Cedilnik
a77f9f0715
Fix namespace problem
2002-09-21 07:29:39 -04:00
Andy Cedilnik
a76773f48f
Add missing include
2002-09-20 15:45:33 -04:00
Andy Cedilnik
28159ebd71
Fix tests for new trycompile and tryrun
2002-09-20 15:01:27 -04:00
Andy Cedilnik
202600f95a
Add GetLocal on cmMakefile and on local builds do not perform tests
2002-09-20 15:01:00 -04:00
Andy Cedilnik
157e2b4ac3
Add option of TRY_COMPILE to store the output of compilation so that if the output fails you can display it or store it in the file
2002-09-20 13:15:56 -04:00
Andy Cedilnik
92714311c9
Add WRITE_FILE command, which writes string to a file
2002-09-20 13:14:47 -04:00
Andy Cedilnik
b380a37418
Fix includes
2002-09-20 09:53:13 -04:00
Ken Martin
a7589c3a32
compiler warnings
2002-09-20 08:09:03 -04:00
Andy Cedilnik
0415b0db75
Add test for gui
2002-09-19 17:35:59 -04:00
Andy Cedilnik
3001a9ae80
Fix arguments
2002-09-19 17:35:27 -04:00
Andy Cedilnik
ceb63bedaf
Allow argument Q
2002-09-19 17:35:06 -04:00
Andy Cedilnik
b7fa92c9e1
Add support for exiting after loading
2002-09-19 17:23:59 -04:00
Andy Cedilnik
8f3d8e7470
Add option -Q for existing after loading
2002-09-19 17:20:40 -04:00
Andy Cedilnik
c91629109b
Remove unnecessary disabling of output
2002-09-19 16:09:57 -04:00
Andy Cedilnik
5d0716439f
Fix tryrun to work on Linux
2002-09-19 16:07:23 -04:00
Andy Cedilnik
4027cfbb2d
Supress standard error when running command
2002-09-19 14:40:03 -04:00
Andy Cedilnik
b17cfc7584
Fix try compile with second signature, remove cmake lists from cache so that multiple tests work
2002-09-19 14:36:46 -04:00
Andy Cedilnik
dd6122c6f5
Add a way to check if run command output is disabled
2002-09-19 14:35:53 -04:00
Andy Cedilnik
f5c6dfcb1c
When doing try compile disable output
2002-09-19 14:35:20 -04:00
Andy Cedilnik
0301b8366b
Add a way to remove files from cache
2002-09-19 14:34:15 -04:00
Andy Cedilnik
7dbff46638
Fix compile problem
2002-09-19 11:06:22 -04:00
Ken Martin
8f74db57a5
minor cleanup
2002-09-19 11:01:21 -04:00
Andy Cedilnik
5eeb0793ae
Fix all defines on Windows
2002-09-19 11:00:48 -04:00
Andy Cedilnik
1cce2ed6e7
Fix executable to be WIN32 on windows
2002-09-19 10:56:24 -04:00
Ken Martin
d4f5545007
updated to try compile
2002-09-19 09:49:14 -04:00
Ken Martin
3eaf054d6a
new command
2002-09-19 09:48:39 -04:00
Andy Cedilnik
e756d20811
Remove unnecessary message
2002-09-19 09:48:31 -04:00
Andy Cedilnik
192dfbaaab
Add option for building wxWindows GUI for CMake
2002-09-19 09:47:49 -04:00
Andy Cedilnik
f1d40eef93
Initial import of wxWindows dialog
2002-09-19 09:47:18 -04:00
Andy Cedilnik
b13e120d92
Fix callback for the new API
2002-09-18 14:30:54 -04:00
Andy Cedilnik
6769e84472
Improve message handler to include client data.
2002-09-18 14:18:43 -04:00
Ken Martin
610ff11cf3
now Try compile can include CMAKE_FLAGS
2002-09-18 11:37:40 -04:00
Ken Martin
f835a83b8d
better error reporting
2002-09-18 11:36:58 -04:00
Brad King
bd7ffbc258
ENH: If SET(VAR) is called with no other arguments, remove the definition of VAR.
2002-09-18 10:40:07 -04:00
Brad King
aa29bbc326
ENH: Added RemoveDefinition method.
2002-09-18 10:39:41 -04:00
Sebastien Barre
24e0518122
FIX: better support for the Tcl/Tk 8.4 pre-release
2002-09-18 09:53:11 -04:00
Andy Cedilnik
56b69e5fcc
Remove unnecessary variable
2002-09-18 08:13:53 -04:00
Brad King
d631e114f9
BUG: Generated CMakeLists.txt file needs to take CMAKE_ANSI_CXXFLAGS into account.
2002-09-17 15:41:21 -04:00
Brad King
67e13e9798
ERR: Fixed typo: INSTALL_PROGRAMS -> INSTALL_PROGRAM.
2002-09-17 14:40:22 -04:00
Ken Martin
4267a1b4c1
some cmake api changees
2002-09-17 14:20:07 -04:00
Andy Cedilnik
8491551d6a
Strip the string that user answers
2002-09-17 14:19:50 -04:00
Sebastien Barre
a4b076811c
ENH: add support for Tcl/Tk 8.4.0
2002-09-17 14:18:11 -04:00
Ken Martin
973cf550cb
updated comments
2002-09-17 14:12:03 -04:00
Brad King
5376acd6a9
BUG: INSTALL_DATA should be INSTALL_PROGRAMS for program install targets.
2002-09-17 14:09:39 -04:00
Ken Martin
6844dfd7ca
some cmake api changees
2002-09-17 14:04:33 -04:00
Ken Martin
2a68d21e85
cleaned up some of the cmake interface
2002-09-17 13:59:58 -04:00
Ken Martin
e68e917d9f
new test
2002-09-17 13:59:13 -04:00
Andy Cedilnik
d1fbb556eb
Replace getline with fgets since getline does not seems to work properly on Mac OSX
2002-09-17 13:48:30 -04:00
Andy Cedilnik
577cf91945
Fix problems with advanced not being marked.
2002-09-17 11:48:52 -04:00
Brad King
e5e0132203
ENH: Improved implementation of INSTALL_FILES and INSTALL_PROGRAMS commands. Source paths can now be relative or full paths, and don't need to be in the same directory as the CMakeLists.txt file.
2002-09-17 10:56:18 -04:00
Ken Martin
0a2f6c876c
added destructor to loaded commands
2002-09-17 10:38:00 -04:00
Ken Martin
83f61619a3
slight change in signature
2002-09-17 09:16:53 -04:00
Ken Martin
4dec2a174a
remove unused variables
2002-09-15 09:54:08 -04:00
Ken Martin
2d9fbbd94c
updated to use ConfigureFinalPass
2002-09-15 09:42:29 -04:00
Ken Martin
d2c4432bbe
changed handling of FinalPass
2002-09-15 08:54:16 -04:00
Ken Martin
44e4c7cd77
changed when final pass is done
2002-09-15 08:53:02 -04:00
Ken Martin
a4ca3229ff
renamed GenerateMakefile to ConfigureFinalPass
2002-09-15 08:52:24 -04:00
Ken Martin
b67f7451fd
removed extra Generate that was screwing things up
2002-09-14 10:59:06 -04:00
Ken Martin
021a1c3071
fixed warning
2002-09-14 08:47:56 -04:00
Ken Martin
99a1749712
made less verbose
2002-09-13 19:23:38 -04:00
Brad King
0815091e26
ENH: Added FileIsFullPath test method.
2002-09-13 16:38:35 -04:00
Ken Martin
ee592e9b98
some fixes for try compile
2002-09-13 13:48:14 -04:00
Ken Martin
9e64895812
minor fix inEnableLanguages
2002-09-13 11:05:49 -04:00
Ken Martin
7e6f9fff2b
fix to the cleanup code
2002-09-13 11:02:15 -04:00
Ken Martin
b3b0eeba05
fix to the cleanup code
2002-09-13 11:01:29 -04:00
Ken Martin
6132184cc3
better trycompile and enable langiages
2002-09-13 10:42:50 -04:00
Ken Martin
c1da4c9570
better try compile
2002-09-13 10:41:20 -04:00
Ken Martin
c1b92d2ea0
compiler warning
2002-09-13 08:18:13 -04:00
Ken Martin
6c3aaa42b7
duh
2002-09-13 08:12:23 -04:00
Ken Martin
c6c579f35a
uninitialized var
2002-09-12 14:37:27 -04:00
Andy Cedilnik
e88e3d3cb5
Remove unnecessary include
2002-09-12 13:55:42 -04:00
Andy Cedilnik
4c21ba27c9
Remove unnecessary include
2002-09-12 13:42:31 -04:00
Franck Bettinger
5e6b29717e
added include of FindQT.cmake
2002-09-12 13:20:05 -04:00
Ken Martin
c8c89b653f
new arch
2002-09-12 11:49:10 -04:00
Franck Bettinger
271e6ec374
added test for QTWrapUI called qtwrapping
2002-09-12 11:38:00 -04:00
Andy Cedilnik
cf272c76ad
Oops, too fast commit; add missing ;
2002-09-12 11:13:22 -04:00
Andy Cedilnik
6a2174ff9d
Add more error checking
2002-09-12 11:12:31 -04:00
Ken Martin
31f714fc2a
another signature for Try_Compile
2002-09-12 11:08:35 -04:00
Ken Martin
2aea6d528e
added a flag if a cmake is in try compile
2002-09-12 11:08:06 -04:00
Andy Cedilnik
895f8c42c0
Fix mark as advanced. Now it should work properly
2002-09-12 09:56:48 -04:00
Andy Cedilnik
628625af72
Simplify code. Since we access cache entry through the iterator, we do not need the cache manager any more
2002-09-12 09:00:30 -04:00
Andy Cedilnik
c478520cab
Fix build problem on Sun
2002-09-12 08:56:32 -04:00
Franck Bettinger
3507ef55c6
corrected the generated lists .h in header list and .cxx in sources list
2002-09-11 16:44:52 -04:00
Franck Bettinger
dffde0c4fa
added generation of the GENERATED_QT_FILES list for make clean
2002-09-11 16:43:35 -04:00
Brad King
1eb3dd19fc
BUG: GetCacheValue must check if value is UNINITIALIZED. If so, pretend it doesn't exist.
2002-09-11 16:12:49 -04:00
Andy Cedilnik
9ec133d428
Fix bug in ccmake which made it crash when all cache values were deleted
2002-09-11 15:13:32 -04:00
Andy Cedilnik
2ca71beb2a
Fix problem with ccmake crashing on empty caches
2002-09-11 15:04:50 -04:00
Andy Cedilnik
c41fe4f179
Fix MFC GUI
2002-09-11 14:38:45 -04:00
Andy Cedilnik
62d654abae
Fix find and remove check for uninitialized entries
2002-09-11 14:38:29 -04:00
Andy Cedilnik
b2f845feee
Function strcasecmp is not portable
2002-09-11 14:08:39 -04:00
Andy Cedilnik
bef93dc5c1
Couple of changes: cache variables now have a map of properties. ADVANCED and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard
2002-09-11 14:05:45 -04:00
Ken Martin
19323b6bac
minor fix in try compile code
2002-09-11 12:52:11 -04:00
Brad King
b9db890ebc
ENH: Pointer-to-function to pointer-to-data casts are not even allowed in strict C. Re-implemented this conversion in pure C++ using a casting trick with an extra level of indirection.
2002-09-11 09:54:03 -04:00
Brad King
994e300914
ERR: Removed C++-style comments, used C-style instead.
2002-09-11 08:52:31 -04:00
Brad King
d9326ed78d
ERR: Added missing include of stdio.h for sprintf.
2002-09-10 17:24:25 -04:00
Ken Martin
5608a9a129
updated signature
2002-09-10 16:52:56 -04:00
Ken Martin
bea21587cf
updated makefile moved commands into cmake and fixed try compile
2002-09-10 16:52:39 -04:00
Ken Martin
74e13ad2fc
moved dump docs into cmake
2002-09-10 16:51:59 -04:00
Ken Martin
9149cdd078
moved commands into cmake
2002-09-10 16:51:29 -04:00
Ken Martin
38e412626b
modified TryCompile
2002-09-10 16:49:40 -04:00
Brad King
820088cefc
ERR: Cast from pointer-to-data to pointer-to-function is not allowed in C++. The cast needed by cmDynamicLoader::GetSymbolAddress is now hidden in a C file.
2002-09-10 15:46:49 -04:00
Brad King
de48dbbf7c
ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead. Also changed putenv to setenv for comeau on linux.
2002-09-10 15:40:41 -04:00
Brad King
14f0211858
ENH: Added definition of _BSD_SOURCE to enable proper use of POSIX functions on comeau in linux.
2002-09-10 15:40:11 -04:00
Brad King
ce65c54d7a
ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead.
2002-09-10 15:39:18 -04:00
Brad King
807b4ac47f
ERR: Fix for borland on linux. We cannot directly compare the st_dev and st_ino members of struct stat. Use memcmp instead.
2002-09-10 15:38:26 -04:00
Brad King
1bad75e8a2
ERR: Removed stray semi-colon.
2002-09-10 15:37:52 -04:00
Brad King
eb1ff5f968
ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot be compared directly with other pointer types. We use 0 instead.
2002-09-10 15:37:28 -04:00
Brad King
929a2b18f6
ERR: Fix for borland on linux.
2002-09-10 15:36:11 -04:00
Ken Martin
3c3ea267b8
removed extra ENDIF
2002-09-10 12:49:09 -04:00
Ken Martin
d7a1063b20
better error checking on If statements
2002-09-10 10:16:50 -04:00
Brad King
e500dd4b77
ERR: Removed accidental commit.
2002-09-10 09:51:14 -04:00
Brad King
722f923a9e
BUG: Missing AC_SUBST commands added.
2002-09-10 09:50:39 -04:00
Ken Martin
3abb9e240d
compiler warnings
2002-09-08 10:17:03 -04:00
Ken Martin
f229c1c46e
compiler warnings
2002-09-07 21:26:08 -04:00
Ken Martin
b7455e404f
compiler warning
2002-09-07 21:22:03 -04:00
Ken Martin
386c19ff6a
fix for borland compilers
2002-09-07 21:18:09 -04:00
Brad King
a4eebcb5b1
ERR: Fix for borland in generated code. vtkCommand is ambiguously both a function and a class.
2002-09-06 18:05:06 -04:00
Ken Martin
41628d2602
updated to fix the long depend line issue on Borland
2002-09-06 16:30:24 -04:00
Ken Martin
25ff4552b3
new arch
2002-09-06 13:06:23 -04:00
Ken Martin
2c7e9b3b59
new architecture
2002-09-06 13:00:12 -04:00
Bill Hoffman
27bc5789b9
ENH: use :: rule and not a long line extension
2002-09-06 10:47:50 -04:00
Ken Martin
709517bcf0
minor fix
2002-09-06 09:24:30 -04:00
Ken Martin
50a1f8a5e4
minor fixes
2002-09-06 08:33:21 -04:00
Ken Martin
12054916d4
made destructor virtual
2002-09-05 09:04:55 -04:00
Ken Martin
7e0655f290
removed some couts
2002-09-05 08:22:47 -04:00
Ken Martin
7f76762c07
made method public
2002-09-04 15:46:25 -04:00
Ken Martin
ae34a490bb
fixes
2002-09-04 15:28:11 -04:00
Ken Martin
5b0611d709
updates
2002-09-04 15:24:49 -04:00
Ken Martin
49aebe6c99
new arch
2002-09-04 15:23:56 -04:00
Ken Martin
d28e483f4e
first cut a new arch
2002-09-04 15:22:11 -04:00
Bill Hoffman
1fc3bb4377
BUG: use windows paths for utility depends
2002-09-03 10:41:58 -04:00
Bill Hoffman
231c9dad5a
BUG: bug for more than one custom commands
2002-09-03 10:41:04 -04:00
Ian Scott
95a506e6de
FLTK_FLUID_EXE -> FLTK_FLUID_EXECUTABLE
...
because Module files are moving to consistent scheme
2002-09-02 17:29:52 -04:00
Ian Scott
63d64d5780
Define a single expected format for the values defined in every FindXXX.cmake file.
...
Upgrade all the QT functionality to use the new FindXXX.cmake format
Add a module for AVIFile.
2002-09-02 07:03:43 -04:00
Ken Martin
a888ba53fa
in progress
2002-08-30 16:01:48 -04:00
Ken Martin
3ffc4b2ee1
in progress checkin
2002-08-30 16:00:35 -04:00
Ken Martin
b64c6bba11
extern C fixes
2002-08-29 09:45:34 -04:00
Ken Martin
e8d0e8088f
some changes in cachemanager and singletons
2002-08-28 16:35:54 -04:00
Ken Martin
7ebbc4399c
no more singletons
2002-08-28 16:34:02 -04:00
Ken Martin
d0be2896d7
changed cache manager and registered generators to no longer be singletons
2002-08-28 14:51:10 -04:00
Ken Martin
4855fe5c10
an early checking not complete
2002-08-28 14:49:25 -04:00
Bill Hoffman
6046060714
ENH: add include paths to rc program for resource generation
2002-08-28 14:33:12 -04:00
Andy Cedilnik
5897d078c6
Fix bug in trying to set stding with null
2002-08-27 14:45:25 -04:00
Bill Hoffman
37b73a908a
ENH: fix warnings
2002-08-27 09:43:54 -04:00
Ken Martin
716eb19819
fixed bootstrap build to not use LoadCOmmandCOmmand
2002-08-27 08:36:03 -04:00
Ken Martin
b8be208408
updated to match the SET
2002-08-26 15:22:31 -04:00
Ken Martin
d99454cba4
now uses stubs
2002-08-26 10:52:04 -04:00
Ken Martin
c728b6c963
fixed bug maybe
2002-08-26 08:53:16 -04:00
Ken Martin
499bd45d4d
removed shared lib support
2002-08-23 16:13:34 -04:00
Ken Martin
d7f1a49006
memory issue
2002-08-23 16:12:08 -04:00
Ken Martin
13d4f89dfe
compiler warnings
2002-08-23 15:13:49 -04:00
Bill Hoffman
3f36d23421
BUG: add explicit clean up of the cachemanager at exit of programs, so dll destruction is not a problem.
2002-08-23 13:46:32 -04:00
Bill Hoffman
0fdfab32d1
BUG: borland needs to have BUILD_SHARED_LIBS on for executables to work with c++
2002-08-22 16:16:05 -04:00
Ken Martin
2fc458ecce
minor warning fix
2002-08-22 14:41:38 -04:00
Ken Martin
0401303263
fixed some warnings
2002-08-22 09:17:02 -04:00
Ken Martin
470e057e55
fixed some warnings
2002-08-22 09:11:18 -04:00
Ken Martin
4a398a9ca6
fixed nested comment
2002-08-22 09:10:24 -04:00
Ken Martin
184e7053d3
added lib
2002-08-22 08:25:58 -04:00
Ken Martin
2353f5e787
minor fixes for new cache api
2002-08-21 15:37:49 -04:00
Ken Martin
9f870d3efb
minor bug
2002-08-21 13:16:07 -04:00
Ken Martin
96f8d18f8d
support for dll
2002-08-21 12:02:32 -04:00
Ken Martin
6158aa7fd6
dll support
2002-08-21 12:01:55 -04:00
Ken Martin
c0b293f21b
made into dll
2002-08-21 12:00:17 -04:00
Ken Martin
15b2d2f2a6
support for plugins
2002-08-21 11:59:52 -04:00
Ken Martin
a21140658c
adding plugin support
2002-08-21 11:58:48 -04:00
Ken Martin
9184cac1ff
added plugin support
2002-08-21 11:58:01 -04:00
Ken Martin
34c7c1b78d
made CMakeLib shared on windows
2002-08-21 11:57:12 -04:00
Ken Martin
38dfd36fda
added C Plugin API first cut
2002-08-21 11:54:06 -04:00
Bill Hoffman
5be8fa451a
BUG: use c compiler for link of c programs, and use temp file nmake syntax for linking c and c++ programs
2002-08-21 09:45:13 -04:00
Ken Martin
4380c3b0f1
minor fix
2002-08-16 11:20:48 -04:00
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
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