Commit Graph

1605 Commits

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