Commit Graph

785 Commits

Author SHA1 Message Date
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Andy Cedilnik 0270b60b8f ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it 2003-08-21 13:26:56 -04:00
Brad King 5e21538ebd ENH: Improved default choice of -64 compiler/linker flags based on how cmake was built. 2003-08-19 10:50:08 -04:00
Andy Cedilnik af721186a1 BUG: Fix Bug #156 - ps2pdf is not found on linux 2003-08-19 08:53:14 -04:00
Brad King a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 2003-08-11 17:34:12 -04:00
Andy Cedilnik 0b0a732f26 ENH: Take Purify out because it is not implemented yet 2003-08-11 12:17:34 -04:00
Andy Cedilnik 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 2003-08-08 11:59:07 -04:00
Andy Cedilnik 8cd7dcced7 ENH: Add PDFLaTeX and LaTeX2HTML. Closes Bug #132 - Add pdflatex and html2latex to FindLATEX.cmake 2003-08-07 16:32:20 -04:00
Bill Hoffman c2d52d74a1 BUG: fix for main in a library on windows with nmake 2003-08-07 14:10:16 -04:00
Bill Hoffman 4a1412b0cb BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &amp, but after double quote was replaced with &quot causing it to be &quot. Also add more search paths for mpi 2003-08-07 09:19:39 -04:00
Andy Cedilnik 51301d8cc6 ENH: On apple use -lpthreads 2003-08-06 17:32:50 -04:00
Ken Martin dfcd4f2154 added test for whether pdbtype should be used for nmake 2003-08-05 09:55:20 -04:00
Brad King c17220091c ERR: Fixed typeo tests->test. 2003-08-04 17:08:41 -04:00
Andy Cedilnik 8a0e3c103b ENH: Make it work for QT 2.3 non commercial on windows 2003-08-01 19:13:38 -04:00
Andy Cedilnik 7d1cbf26d9 ENH: MAke it work on FreeBSD 2003-08-01 17:11:46 -04:00
Andy Cedilnik ff5f0312de ENH: Do better test for pthreads 2003-08-01 16:48:41 -04:00
Andy Cedilnik cb4e99f712 ENH: Fix indentation 2003-08-01 16:48:07 -04:00
Andy Cedilnik 388d274290 made a minor bugfix on my FindwxWindows.cmake.
I capsulated the regular expression matching for the libdrs with another
IF (line 355).
By: Jan Woetzel
2003-07-31 13:15:42 -04:00
Andy Cedilnik 7762431bb0 ENH: when linking in QT, we should also link DL, since QT uses them 2003-07-30 15:38:58 -04:00
Andy Cedilnik 9549a5f1dd ENH: QT if it is multi threaded should link in threads 2003-07-30 13:39:08 -04:00
Andy Cedilnik f0a9aa814e ENH: Use FindX11 when doing Qt on unix 2003-07-29 17:15:19 -04:00
Andy Cedilnik 4faaf7c877 ENH: Add Use file for wxWindows. Thanks Jan Woetzel 2003-07-29 13:36:50 -04:00
Andy Cedilnik 2f58c28e6d ENH: Improved find module. Thank you Jan Woetzel 2003-07-29 07:41:28 -04:00
Brad King e450309ca3 ENH: Improved error message for VTK_DIR not found to refer to it as a cache entry. Some users thought this was supposed to be an environment variable. 2003-07-24 11:06:18 -04:00
Brad King a1bb1a4712 ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers. 2003-07-21 16:38:53 -04:00
Andy Cedilnik d6ebc123f7 ENH: Extra new line after output 2003-07-17 14:55:45 -04:00
Bill Hoffman 79c298e12c ENH: set CMAKE_SYSTEM_VERSION for windows 2003-07-16 15:38:31 -04:00
Andy Cedilnik a17587c244 ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things 2003-07-11 14:14:03 -04:00
Brad King 2d411398fd BUG: Stack size in generated programs should be 10 meg, not 256. 2003-06-12 16:43:09 -04:00
Bill Hoffman 43e5e88042 ENH: add processor type of win32 2003-06-11 10:11:53 -04:00
Bill Hoffman 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 2003-06-11 10:07:57 -04:00
Andy Cedilnik 3ce9496a74 BUG: When VTK is not found, it should be fatal error 2003-06-06 09:58:02 -04:00
Bill Hoffman 12d99416c1 ENH: add all targets for dashboard build types 2003-06-03 14:45:16 -04:00
Andy Cedilnik 64db4e2cd8 ENH: More locations 2003-05-28 07:53:50 -04:00
Bill Hoffman 44e3bbce96 ENH: add LDFLAGS as an initial value for all linker flags, good for -64 2003-05-23 09:35:04 -04:00
Brad King a696dbc815 ERR: Removed warning for unused variable. 2003-05-16 16:33:11 -04:00
Brad King 9c3a6eb410 BUG: Need -brtl when creating shared libraries. Also added -bexpall (AIX equivalent to Linux's -rdynamic) when building executables. 2003-05-16 15:21:03 -04:00
Bill Hoffman 395fae7642 add find make program for 71 2003-05-09 15:47:21 -04:00
Bill Hoffman 8e6c05cbae BUG: remove typo from file 2003-05-09 09:32:04 -04:00
Bill Hoffman 6292558f36 BUG: fix for borland win32 exe builds 2003-05-08 09:55:59 -04:00
Ken Martin 5394ecef82 BUG: remove -H flags as they cause crashes on oldwww 2003-05-08 09:44:51 -04:00
Ken Martin 1b572eb946 BUG: remove -H flags as they cause crashes on oldwww 2003-05-08 09:43:15 -04:00
Bill Hoffman c70beb4bee ENH: change the default borland stack size 2003-05-05 10:24:01 -04:00
Andy Cedilnik eb5fe7990a ERR: Remove warning for main returning void. 2003-05-05 09:54:55 -04:00
Ken Martin b3b69f9564 fixed andy sloppy code again 2003-05-02 14:05:37 -04:00
Andy Cedilnik bec9b174f5 ENH: Fix some dart issues. Now it works fine without dart. 2003-05-02 13:57:25 -04:00
Brad King 2ad267cff3 ENH: Updated search paths to newest values from Cable. 2003-04-22 16:10:18 -04:00
Brad King f6e87dc2f6 ENH: Added /usr/local/lib/fltk 2003-04-04 10:05:20 -05:00
Andy Cedilnik ded93e30e6 Add QT on debian 2003-04-02 08:45:20 -05:00
Andy Cedilnik 4e66ef8fe1 New design of CheckSymbolExists pretty much replaces all other ones.
For example:

CHECK_HEADER_EXISTS("type.h" HAVE_TYPE_H)
is:
CHECK_SYMBOL_EXISTS(main "type.h" HAVE_TYPE_H)

CHECK_LIBRARY_EXISTS("nsl"    gethostname  HAVE_LIBNSL)
would be
SET(CMAKE_REQUIRED_LIBRARIES "nsl")
CHECK_SYMBOL_EXISTS(gethostname "netdb.h" HAVE_LIBNSL)

...
2003-03-28 13:42:34 -05:00
Bill Hoffman f4ebc1f15f Fix gnu c and Sun CC mix 2003-03-27 13:03:30 -05:00
Andy Cedilnik 4a2d04f42a Prevent CMake from putting ; in the file 2003-03-16 20:33:51 -05:00
Andy Cedilnik e727d34b48 More variables advanced 2003-03-16 20:25:14 -05:00
Andy Cedilnik b23b592ca6 Add gthread library 2003-03-16 20:23:55 -05:00
Bill Hoffman 858056bbc3 BUG: bad if statement order 2003-03-14 15:44:20 -05:00
Bill Hoffman 0f89043568 force c++ for c++ files 2003-03-14 12:00:50 -05:00
Brad King 284071e3fa BUG: Don't use -nostdlib option to link shared libraries. Just use gcc -shared, even for C++ libraries. 2003-03-13 15:46:19 -05:00
Bill Hoffman 229355764b BUG: fix test not to run every time 2003-03-11 17:35:23 -05:00
Andy Cedilnik 2c676d0587 On borland and cygwin remove .EXE 2003-03-06 15:32:40 -05:00
Brad King 98d10a42d3 BUG: Should test HAVE_<VARIABLE> before repeating test, not just whether <VARIABLE> is set. 2003-03-06 10:32:43 -05:00
Andy Cedilnik 66dfe6f83a Add Update and configure steps where missing 2003-03-03 13:58:14 -05:00
Andy Cedilnik ac4361b8d9 Start cleaning global namespace 2003-03-03 09:32:45 -05:00
Andy Cedilnik e71b03cbf0 Fix update date and cleanup 2003-02-28 12:42:50 -05:00
Andy Cedilnik d2faa22732 On windows but not on borland, look at cmake_build_tool instead of compiler to determine build name. Otherwise they will all be cl 2003-02-27 14:48:33 -05:00
Andy Cedilnik e68b4b9bc7 Use more condense buildname. If this works fine we can make cmBuildName command deprecated 2003-02-27 11:54:03 -05:00
Andy Cedilnik 99fd8062c4 Use simple defaults if DartConfig does not exist. This way you can use dart to build any project 2003-02-20 17:38:16 -05:00
Bill Hoffman 02be31b860 BUG: look for msdev in the right place 2003-02-20 10:44:58 -05:00
Bill Hoffman e427844722 remove commented code 2003-02-20 08:41:33 -05:00
Brad King d78a4bab8c BUG: Removed use of cmake 1.4 compatability variable. 2003-02-19 17:10:08 -05:00
Andy Cedilnik 9ca8035fc6 Fix return value problem 2003-02-17 10:30:13 -05:00
Bill Hoffman d9a74e1b1e ENH: move full path compiler to internal and not just advanced 2003-02-14 10:40:00 -05:00
Bill Hoffman ae5a80c795 spelling errors 2003-02-14 09:54:15 -05:00
Andy Cedilnik fd89ebbbaf Ok, now it finds JNI on Mac OSX 10.2 2003-02-11 14:49:11 -05:00
Andy Cedilnik 5a31a94f84 Fix typo 2003-02-11 13:56:35 -05:00
Andy Cedilnik a6c2c80757 Add missing location 2003-02-11 13:53:30 -05:00
Andy Cedilnik 8e105e0a9f Improve searching for java files on OSX 2003-02-11 13:37:19 -05:00
Brad King d2ef193a31 Moving this very specific module to VTK. 2003-02-11 09:50:22 -05:00
Bill Hoffman c07e94867f clean up check for for scope test 2003-02-10 21:56:32 -05:00
Brad King 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 2003-02-07 16:29:13 -05:00
Bill Hoffman e0d166ec72 fix default release flags for hp 2003-02-05 14:55:51 -05:00
Bill Hoffman bec6a7076a move cmake install out of advanced 2003-02-04 15:37:47 -05:00
Berk Geveci c8daa038c2 Created modules for Mesa headers and libraries. 2003-02-04 14:37:33 -05:00
Bill Hoffman 15fc30ae40 ENH: add checking for NOTFOUND 2003-01-31 15:01:37 -05:00
Bill Hoffman 81aee11c21 ENH: add checking for NOTFOUND 2003-01-31 14:39:49 -05:00
Andy Cedilnik c4bf103772 Remove extra quote 2003-01-30 14:34:16 -05:00
Andy Cedilnik d530fbe731 Attempt to fix build problem on some platforms 2003-01-29 09:06:46 -05:00
Bill Hoffman e44be57f6d ENH: change FIND_FILE to FIND_PROGRAM 2003-01-28 15:44:45 -05:00
Andy Cedilnik a3c282ebbd Make things work on unix and add DVIPDF 2003-01-28 08:53:27 -05:00
Brad King 415eca1fbb BUG: Added missing link flag to export symbols from an executable. 2003-01-24 13:53:21 -05:00
Sebastien Barre 9111244018 no message 2003-01-23 10:42:06 -05:00
Sebastien Barre 4220725f64 FIX:
- rename some entries (COMPILE -> COMPILER, and the converters -> _CONVERTER)
- make sure that Window system are given a chance to find Latex and the converters if MikTex and GhostScript are installed (but not in the PATH)
2003-01-23 10:37:46 -05:00
Sebastien Barre 37f7074269 FIX: the current version of Perl is 5.8 2003-01-23 10:36:35 -05:00
Ken Martin b05c5e89ed minor change to default compile flags 2003-01-22 14:59:46 -05:00
Ken Martin fde48d14fd merge from branch 2003-01-22 14:49:45 -05:00
Bill Hoffman ac888a15c8 moved to c++ command 2003-01-22 14:13:40 -05:00
Bill Hoffman 950399ec9d ENH: only run test for working c and cxx compiler once 2003-01-22 12:29:37 -05:00
Ken Martin 56acc4bf2e merge from branch 2003-01-22 11:21:28 -05:00
Ken Martin afa71d1e53 removed since no longer used 2003-01-22 11:16:35 -05:00
Ken Martin 7f336be820 merge branch change into main tree 2003-01-22 11:11:41 -05:00
Brad King 0b324df1bb ENH: Updated documentation. 2003-01-21 15:03:56 -05:00
Andy Cedilnik 6c9d1983d7 This list can be really long. Only display the variable name 2003-01-21 14:01:41 -05:00
Bill Hoffman 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them 2003-01-21 12:50:48 -05:00
Bill Hoffman 110bc04bd0 use export all symbols on cygwin 2003-01-21 12:41:22 -05:00
Sebastien Barre 5e366c361d IMPORTANT FIX: be extra-careful here on WIN32, we do NOT want CMake to look in the system's PATH env var to search for ImageMagick's convert.exe, otherwise it is going to pick Microsoft Window's own convert.exe, which is used to convert FAT partitions to NTFS format ! Depending on the options passed to convert.exe, there is a good chance you would kiss your hard-disk good-bye. 2003-01-21 10:59:48 -05:00
Will Schroeder ece369eaf3 BUG: fix missed CMAKE to X11 variable name 2003-01-20 14:39:03 -05:00
Brad King f18e47c40a BUG: Fix for application of expand-list-variables. 2003-01-17 18:14:40 -05:00
Brad King 94a8d00199 ENH: Adding FIND_AND_IMPORT_CMAKE_PROJECT macro. 2003-01-17 17:19:23 -05:00
Luis Ibanez b20d232855 FIX: Quotes added around the list of libs to be added in Apple. 2003-01-16 13:31:35 -05:00
Luis Ibanez e3f681937f ENH: Platform dependent libraries added for APPLE. 2003-01-16 13:24:49 -05:00
Bill Hoffman f519f14972 ENH: fix for borland and cygwin 2003-01-16 12:38:53 -05:00
Luis Ibanez 81c9994343 ENH: Libraries are not marked as ADVANCED now. 2003-01-15 18:28:14 -05:00
Bill Hoffman 724c74122f BUG: fix for OSX with x11 gl stuff 2003-01-15 15:02:21 -05:00
Bill Hoffman c01253a58f BUG: fix flags for borland link shared and module 2003-01-15 13:22:50 -05:00
Bill Hoffman 4cd69a3a2f quote the variable 2003-01-15 13:12:56 -05:00
Bill Hoffman 7f91fc35a2 look for cygtcl83 2003-01-15 11:59:50 -05:00
Ken Martin 6c61762b0f merge from branch 2003-01-13 10:11:23 -05:00
Ken Martin c6323d154b fixed typo 2003-01-13 09:24:37 -05:00
Andy Cedilnik d87595ede3 Add macro for checking if symbol exists 2003-01-12 22:28:32 -05:00
Ken Martin 382d0d4474 better fix for win32 2003-01-09 15:54:29 -05:00
Ken Martin 75856e1762 update to not put PROJECT_SOURCE_DIR as OPENGL_PATH 2003-01-09 14:00:44 -05:00
Ken Martin dfa4cbd19e minor fix to backw compat 2003-01-09 11:34:45 -05:00
Ken Martin 6593700f09 added big endian stuff 2003-01-09 08:50:00 -05:00
Bill Hoffman 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode 2003-01-08 12:12:15 -05:00
Andy Cedilnik 69762f4d99 Fix FindX11 to match convention 2003-01-08 11:45:48 -05:00
Brad King 4ad8af53ab ENH: Added shared library settings. 2003-01-06 09:32:27 -05:00
Bill Hoffman 3da465e24f ENH: look for AIX compiler as well 2003-01-06 09:04:18 -05:00
Bill Hoffman 578883ce64 add shared path for OSF 2003-01-06 08:39:21 -05:00
Bill Hoffman b36d6b89f1 BUG: revert back to rpath, 2003-01-05 11:24:36 -05:00
Andy Cedilnik cf81ec9a39 Remove debug 2003-01-03 20:26:20 -05:00
Andy Cedilnik 668b3f3cea Fix problems with required flags 2003-01-03 20:03:35 -05:00
Andy Cedilnik e720b84d6b Add required flags 2003-01-03 19:23:19 -05:00
Brad King 624a222df3 ENH: Find python framework on Mac OSX. 2003-01-03 17:36:34 -05:00
Bill Hoffman ad6fb55653 try to fix rpath on OSF 2003-01-03 16:23:47 -05:00
Bill Hoffman 39e43360ea BUG: bad rpath flag for suns 2003-01-03 08:12:58 -05:00
Brad King 0a14f69755 BUG: Don't add -I/usr/include as an X_CFLAGS setting. 2003-01-02 09:57:59 -05:00
Brad King 204308132f BUG: Fixed ordering of X11 search. 2003-01-02 09:57:42 -05:00
Bill Hoffman bdaf74b561 clean up some c/cxx issues 2003-01-02 08:52:39 -05:00
Bill Hoffman 7773f9ed22 clean up some c/cxx issues 2003-01-02 08:51:23 -05:00
Andy Cedilnik de00883c41 Add macro for checking if a swequence of includes can be includes 2003-01-01 18:00:49 -05:00
Andy Cedilnik c8e546a353 To prevent cmake from breaking up arguments, put quotes around them 2003-01-01 16:25:26 -05:00
Andy Cedilnik 5e48ccac35 Add a way to add custom libraries to the mix. Also add status reporting 2003-01-01 15:02:47 -05:00
Andy Cedilnik 6d5c437045 Add a way to add custom libraries to the mix 2003-01-01 15:02:20 -05:00
Brad King 61cd9298cd ENH: Added <LINK_FLAGS> to link rules. 2002-12-31 13:08:44 -05:00
Bill Hoffman bf6730b03a ENH: fix shared libraries on AIX 2002-12-30 11:48:33 -05:00
Brad King ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 11:02:31 -05:00
Yves Starreveld 1bf59ded66 ENH: find python framework and include files on OSX 2002-12-27 11:14:52 -05:00
Andy Cedilnik fc52954023 If there is no java compiler report error on ADD_JAVA_LIBRARY 2002-12-26 19:59:21 -05:00
Andy Cedilnik c073a094ed Add missing closing bracket 2002-12-26 13:58:04 -05:00
Bill Hoffman e74377dcd8 ENH: fixes for borland with spaces in the path 2002-12-22 15:19:48 -05:00
Sebastien Barre 03bfa86394 ENH: it's time to create a real Microsoft HTML Help Workshop CMake module 2002-12-22 10:09:51 -05:00
Brad King 4e6ad941e9 ENH: Visual Studio 6 and 7 generators now set CMAKE_CONFIGURATION_TYPES to be a semicolon-separated list of configurations that will be built. 2002-12-20 12:59:18 -05:00
Sebastien Barre 309748ff79 FIX: make CMAKE_X_LIBS and CMAKE_X_CFLAGS advanced 2002-12-20 11:56:08 -05:00
Brad King a086d08311 ENH: Use the Mac -framework for Tk if it is available. 2002-12-20 09:43:28 -05:00
Brad King 1d0569e79d ENH: Use the Mac -framework for Tcl if it is available. 2002-12-20 09:42:19 -05:00
Bill Hoffman 99f115d1fd better docs 2002-12-19 12:51:50 -05:00
Bill Hoffman b489540f83 ENH: make linker flags use init values so users can set them from the cache 2002-12-19 12:51:31 -05:00
Brad King f958a7dc85 ENH: Adding build type flags for C. 2002-12-18 10:52:38 -05:00
Bill Hoffman bd74882d3e ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages 2002-12-17 14:54:25 -05:00
Brad King f433028b78 ENH: FindX11.cmake module now almost fully duplicates old configure functionality. 2002-12-17 11:55:54 -05:00
Brad King 7e824e83a9 ENH: Don't repeat check even if answer was no. 2002-12-13 14:58:55 -05:00
Brad King fe26cf51f5 ERR: Fixed syntax errors for picky preprocessors. 2002-12-12 10:25:43 -05:00
Brad King 38b2667de2 ERR: Need double-quotes around expression to be mached in IF command. 2002-12-12 10:25:18 -05:00
Andy Cedilnik 1c6203b406 Add java support 2002-12-11 10:34:35 -05:00
Andy Cedilnik c720d473b3 Better search for python 2002-12-09 16:22:44 -05:00
Brad King f9eb32fc6e ENH: Using only filename without path or extension for comparing build tools. 2002-12-09 14:33:48 -05:00
Bill Hoffman b472d792be use win32 threads for win32 2002-12-09 08:27:52 -05:00
Bill Hoffman b6cb67eaa9 BUG: fix C compiler init 2002-12-06 10:16:21 -05:00
Bill Hoffman b3ca217a23 clean up compiler picking code 2002-12-06 10:09:41 -05:00
Bill Hoffman 35fb6f22ba fix for generator picked compilers 2002-12-06 10:02:19 -05:00
Bill Hoffman 96189f79d5 ENH: unify EnableLanguage across all generators 2002-12-05 13:44:11 -05:00
Brad King 14771cf5f6 ENH: Added support for finding/using VTK 4.0 without using its UseVTK.cmake file that does a LOAD_CACHE. 2002-12-05 10:47:18 -05:00
Brad King f3eca1ef6b BUG: Fix for string comparison when one string is empty. 2002-12-05 10:34:50 -05:00
Brad King ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 2002-12-05 09:46:30 -05:00
Brad King 9992fe5103 BUG: Removed stray debugging message. 2002-12-04 16:59:05 -05:00
Bill Hoffman 1e8914ada8 BUG: fix get make command problems. 2002-12-04 10:57:22 -05:00
Bill Hoffman e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 2002-12-03 16:19:16 -05:00
Luis Ibanez c40401f05b Module to find tools from the ImageMagick package.
These tools are useful for converting image formats.
2002-12-03 14:15:51 -05:00
Luis Ibanez ec1b07015e ENH: description of variables now follows other style in other .cmake files. 2002-12-03 13:46:45 -05:00
Luis Ibanez 93d38e24cc ENH: Description of variables now specifies that the full path is required. 2002-12-03 13:44:50 -05:00
Bill Hoffman 3873bd6257 correctly place both LINK_FLAGS and CXX_LINK_FLAGS and C_LINK_FLAGS into all the rules 2002-12-03 10:47:07 -05:00
Bill Hoffman 30a3d18fe8 use LINK_FLAGS not C and CXX LINK_FLAGS 2002-12-03 09:59:24 -05:00
Luis Ibanez 01efac63e2 ENH: FLTK 1.1.1 under Windows links now with the comctl32 library. 2002-11-28 23:45:27 -05:00
Andy Cedilnik 5e84aca2f1 Change priorities 2002-11-25 17:57:30 -05:00
Bill Hoffman 69806d705a change flags for borland 2002-11-22 16:18:31 -05:00
Bill Hoffman 77888e67f8 remove debug stuff 2002-11-21 15:36:33 -05:00
Bill Hoffman 1e3ddfeecf try to fix check for ansi stream 2002-11-21 14:45:21 -05:00
Bill Hoffman 02d423b250 fix order 2002-11-21 14:32:20 -05:00
Bill Hoffman ddc3c70641 fix order 2002-11-21 14:24:58 -05:00
Bill Hoffman a7098d1433 move ansi cxx flags stuff out of try compile and into cmake files 2002-11-21 14:11:53 -05:00
Bill Hoffman c54a86edd6 have to cache ansi_cxxflags 2002-11-21 13:28:03 -05:00
Bill Hoffman 369d5f631c spelling error 2002-11-21 13:00:51 -05:00
Bill Hoffman 9a6c95fcea add checks for ansi flags and not hard code them 2002-11-21 12:52:54 -05:00
Sebastien Barre 209d00ccfc FUX: those vars need to be ADVANCED 2002-11-21 11:46:13 -05:00
Brad King 9a98c16803 ENH: Added CHECK_VARIABLE_EXISTS macro. 2002-11-21 10:11:46 -05:00
Bill Hoffman e9687d931a fix for create shared library 2002-11-21 08:45:45 -05:00
Bill Hoffman 70eaf19326 ENH: fix for module run time flag 2002-11-21 08:12:19 -05:00
Brad King c2addf1630 ENH: Added support to find VTK 4.0. 2002-11-20 16:23:20 -05:00
Bill Hoffman ee42cf3c06 BUG: use CMAKE_COMPILER_IS_GNUCC not CMAKE_COMPILER_IS_GNUGCC 2002-11-20 15:23:14 -05:00
Luis Ibanez 9686a9034c ENH: Now also locates the "makeindex" program. 2002-11-20 14:40:51 -05:00
Brad King 9f7d94a1c4 ENH: Only search VTK_INSTALL_PATH if USE_INSTALLED_VTK is on. Only search VTK_BINARY_PATH if USE_BUILT_VTK is on. 2002-11-20 14:11:07 -05:00
Brad King e3f76e9367 ENH: New implementation of FindVTK to take advantage of VTKConfig.cmake. Also provides more powerful search path mechanism, and requires only one cache entry in user project. 2002-11-20 13:37:52 -05:00
Bill Hoffman 5a75e03037 allow flags to be in the CC and CXX environment variables 2002-11-19 18:17:17 -05:00
Bill Hoffman 7140c6f364 fixes to better honor env CC and CXX 2002-11-19 15:55:19 -05:00
Bill Hoffman 0cb9343e83 BUG: fix CFLAGS 2002-11-19 12:20:21 -05:00
Bill Hoffman 9b14032ab4 BUG: fix handling of CXX 2002-11-19 12:18:12 -05:00
Bill Hoffman d05716c498 BUG: fix for thread and cache override 2002-11-18 15:14:44 -05:00
Andy Cedilnik 5b17658c91 Add more messages, make messages look the same, add checks if test was already successfull 2002-11-18 10:52:09 -05:00
Andy Cedilnik ebb6477dbb If system detection fails, make copy of CMakeCache 2002-11-18 10:51:21 -05:00
Bill Hoffman dad83f4d3c BUG: fix for borland run time dll 2002-11-15 17:45:03 -05:00
Bill Hoffman c164ba1ba1 fix for sun 2002-11-15 16:00:22 -05:00
Bill Hoffman a2ec93371b ENH: add back install prefix 2002-11-15 10:07:38 -05:00
Bill Hoffman 7a8928eefc fix thread logic 2002-11-15 09:30:46 -05:00
Bill Hoffman c652215ca8 ENH: add CFLAGS and CXXFLAGS 2002-11-15 09:16:34 -05:00
Berk Geveci 435282e538 temp fix for hp 2002-11-14 16:29:15 -05:00
Berk Geveci 3118795db0 fix flags for hp 2002-11-14 16:12:46 -05:00
Andy Cedilnik 115ea25dab BUG: fix flags for c compiler on windows 2002-11-14 11:33:25 -05:00
Andy Cedilnik 2281726935 Clean find for Python, add find for python 2.2 on windows, cleanup java on windows and add java 1.4 support 2002-11-14 09:38:45 -05:00
Bill Hoffman 388c4ad207 BUG: fix for missing temp file variable 2002-11-14 08:59:42 -05:00
Bill Hoffman a79b16a67f reorder tWR so that it does not crash with shared 2002-11-13 23:37:20 -05:00
Bill Hoffman 26e05fc060 fix shared builds on borland and add debug stuff for makefiles 2002-11-13 20:11:26 -05:00
Bill Hoffman fe8428a3ee ENH: add status messages 2002-11-13 16:31:12 -05:00
Ken Martin 19b144bdbf ENH: move -P flag from cxxflags to the compile line for cxx files 2002-11-13 15:32:27 -05:00
Bill Hoffman 46ede79d58 ENH: use correct run time library for borland 2002-11-13 14:51:20 -05:00
Bill Hoffman fce9bf48c5 fix for nsl library and X11 2002-11-13 11:49:33 -05:00
Bill Hoffman 09b9a38ff3 fix for nsl library and X11 2002-11-13 11:36:04 -05:00
Bill Hoffman e0671aba94 BUG: fix order of link line for creating shared libraries 2002-11-13 11:25:10 -05:00
Brad King ccb9b9cda8 BUG: Fixed doc string on generated variable. 2002-11-12 19:39:08 -05:00
Bill Hoffman 83d273334a BUG: fix path problems 2002-11-12 16:58:38 -05:00
Will Schroeder 4b7b9ab2ec Backwards compatibility. Andy and Bill made me add socket library. 2002-11-12 16:27:24 -05:00
Bill Hoffman e020a6d171 ENH: add .def file support 2002-11-12 15:24:31 -05:00
Bill Hoffman 5031b41ea5 add find threads check 2002-11-12 14:20:54 -05:00
Bill Hoffman 0b04a61366 add find threads check 2002-11-12 14:19:13 -05:00
Sebastien Barre 1d7c2eaf90 FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times 2002-11-12 10:47:43 -05:00
Bill Hoffman 98ef89bf77 Set CMAKE_BUILD_TOOL 2002-11-12 09:12:13 -05:00
Bill Hoffman 36db45082e ENH: fix up several problems with new stuff 2002-11-11 18:10:30 -05:00
Bill Hoffman 38781fd84d Fix for OSF 2002-11-11 17:00:53 -05:00
Bill Hoffman d1051bb575 clean up flags with _init flags 2002-11-11 12:31:46 -05:00
Bill Hoffman 5b9a880bfb add install stuff for platform directory 2002-11-11 11:43:23 -05:00
Bill Hoffman b133abe423 ENH: fix for darwin modules 2002-11-11 09:11:31 -05:00
Bill Hoffman 538f38596f BUG: fix setting of c flags 2002-11-10 10:02:52 -05:00
Bill Hoffman ac481e0ee9 fix for cxxflags 2002-11-09 13:43:16 -05:00
Brad King 1ccd1efe3e ENH: Adding support for comeau C++ compiler. 2002-11-08 18:07:41 -05:00
Brad King 3a6d52f4c5 ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end. 2002-11-08 18:06:53 -05:00
Bill Hoffman f54bfe467c store the compiler in the cache 2002-11-08 17:24:45 -05:00
Bill Hoffman f5d95fb078 Complete rework of makefile generators expect trouble 2002-11-08 15:46:08 -05:00
Brad King c79abbd99c ENH: Enhanced FindITK supporting use of ITK from an install tree or a build tree. Only one cache entry is brought into user's project, called "ITK_DIR". This is the location of an ITKConfig.cmake file from which other settings are loaded. 2002-11-06 18:40:13 -05:00
Andy Cedilnik 37b8509310 Make things advanced 2002-11-05 17:20:45 -05:00
Andy Cedilnik 8ac50c4aad Try to fix FindX11 2002-11-05 07:15:42 -05:00
Andy Cedilnik 2d9330fa1d Now it should work 2002-10-29 15:47:07 -05:00
Andy Cedilnik ccafaa6bce Add append to write_file 2002-10-29 13:34:12 -05:00
Andy Cedilnik 74eeb49d4c Do this the right way 2002-10-29 13:30:42 -05:00
Andy Cedilnik b933ad875b This should substitute configure part that finds X11 2002-10-29 13:30:13 -05:00
Bill Hoffman 56f2d45191 *** empty log message *** 2002-10-25 16:13:03 -04:00
Bill Hoffman 319c3adf2a *** empty log message *** 2002-10-25 14:08:17 -04:00
Andy Cedilnik 5b9b793dde Add check for big endian in backward compatibility scripts 2002-10-24 13:39:23 -04:00
Bill Hoffman fa782867b3 closer to removing autoconf 2002-10-23 16:53:53 -04:00
Bill Hoffman da460f9008 test for gnu compiler 2002-10-22 18:17:07 -04:00
Bill Hoffman 0692323fe0 *** empty log message *** 2002-10-22 15:04:52 -04:00
Bill Hoffman b1114a344f new cmake based configuration 2002-10-22 10:34:07 -04:00
Ian Scott 7d907a9a61 Add option to control number of errors sent to dashbaord 2002-10-11 11:22:16 -04:00
Brad King 3d3d7a9146 BUG: Should not load CMAKE_INSTALL_PREFIX from the cache. 2002-10-11 10:14:19 -04:00
Sebastien Barre fe100ef263 ENH: mark some vars as advanced (and resort the list) 2002-10-10 10:45:34 -04:00
Andy Cedilnik 0ccba5a056 Add some search paths 2002-10-09 13:47:49 -04:00
Luis Ibanez b051815555 ENH: Adding install of .in and .c modules. 2002-10-02 16:42:17 -04:00
Andy Cedilnik dfb25dd982 Add test for big endian 2002-10-01 15:56:18 -04:00
Luis Ibanez b013813f15 ENH: removed "USE_FLTK_VERSION_1.1" in favor of "FLTK_VERSION_1.1" to avoid
confusions.
2002-10-01 10:12:49 -04:00
Luis Ibanez af207d3166 ENH: Version 1.1 is considered to be the default. 2002-09-30 22:26:47 -04:00
Luis Ibanez 1f80ecf5a5 Configuratiion for finding LaTeX related executables. 2002-09-30 12:24:41 -04:00
Andy Cedilnik 1bd6766643 Set variable to either 1 or empty string instead of TRUE and FALSE 2002-09-25 17:25:02 -04:00
Andy Cedilnik 8d604d3421 Cleanup 2002-09-25 10:38:56 -04:00
Andy Cedilnik 5902279ebc Fix modules for recent changes 2002-09-25 10:08:08 -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 3697ad6dc7 Initial attempt to check if library exists 2002-09-24 16:36:56 -04:00
Andy Cedilnik a863d65561 Improve check size of. Now it checks for some header files before trying to check types 2002-09-24 16:20:08 -04:00
Andy Cedilnik af7c36f3cf Fix comments 2002-09-23 10:01:20 -04:00
Andy Cedilnik 28159ebd71 Fix tests for new trycompile and tryrun 2002-09-20 15:01:27 -04:00
Andy Cedilnik 1d0d685049 Simplify checking for headers 2002-09-20 14:16:43 -04:00
Andy Cedilnik 5a08e1b6dc Add macro which checks if the header file exists 2002-09-20 13:40:39 -04:00
Andy Cedilnik fdcd197352 Fix comment 2002-09-20 13:40:20 -04:00
Andy Cedilnik 76e9af1575 Add two commonly used modules. First one checks if the function exists, the second one checks the size of type 2002-09-20 13:16:50 -04:00
Andy Cedilnik 000326237d Fix find wxWindows 2002-09-19 10:25:13 -04:00
Andy Cedilnik 0dafd886fc Improve searching for wxWindows 2002-09-19 09:42:58 -04:00
Andy Cedilnik 5e319f5b9b GL should not be a completely necessary thing for finding GTK. This will find gtk and GL but also just GTK 2002-09-18 08:15:04 -04:00
Brad King d8aef3fd63 ENH: Adding installation of TRY_COMPILE tests. 2002-09-17 15:41:45 -04:00
Ken Martin d17830ee5e slight change in signature for TryCompile 2002-09-17 09:17:15 -04:00
Ken Martin 0bd1dce8fc removed messages 2002-09-13 19:23:02 -04:00
Ken Martin fd49f17297 removed messages 2002-09-13 10:40:41 -04:00
Ian Scott e18a53698e Make QT variables advanced 2002-09-13 09:49:35 -04:00
Ian Scott cf10b0b4f6 Need to use $ENV{} to access environment variables 2002-09-13 05:39:42 -04:00
Ken Martin dcc71279c8 some cleanup 2002-09-12 16:36:56 -04:00
Ken Martin 32b398e55b new try compile module 2002-09-12 11:14:50 -04:00
Sebastien Barre 15d27bbc42 FIX: typo + bring back the OPENGL_gl_LIBRARY path that can be used to find GLU (was wiped out from FindGLU) 2002-09-10 13:32:45 -04:00
Bill Hoffman 43d055eb7a Adding GLU to the OPENGL_LIBRARIES only if it is found. 2002-09-09 09:50:39 -04:00
Yves Starreveld 979bd1ec61 ERR: Fix opengl finding on osx 2002-09-06 14:03:47 -04:00
Sebastien Barre 79ddd9426c ENH: make stub stuff ADVANCED 2002-09-06 13:56:35 -04:00
Ian Scott 28117a2e4a Add important missing word to documentation 2002-09-06 11:00:51 -04:00
Ian Scott 3d17c97f21 More detailed information about consistent FindXXX.cmake files 2002-09-06 10:55:55 -04:00
Ian Scott 079e8469ab Hide lots of values in the advanced list
Fix some bugs
OpenGL always needs X11 on Unix
2002-09-05 12:00:45 -04:00
Brad King 61ab3e3667 ERR: Still need to define OPENGL_INCLUDE_PATH in addition to the standard OPENGL_INCLUDE_DIR for backward compatability. 2002-09-04 09:24:50 -04:00
Ian Scott 0059db268c A simple FindMFC module for consistency 2002-09-03 12:29:03 -04:00
Ian Scott e89040f463 Dart now has a configure option 2002-09-03 09:14:24 -04:00
Ian Scott 8cc45bd524 I copied a bit too much VXL functionality here. Oops 2002-09-03 09:00:06 -04:00
Ian Scott c5feb8c6c5 Added PERL_FOUND 2002-09-03 08:33:56 -04:00
Ian Scott d7ebdb9da0 Add an MPEG finder in the new format - functionality copied from VXL. 2002-09-03 08:24:48 -04:00
Ian Scott 0b288b6121 Fixed mistake in comments
Transferred OPENGL finding logic in from VXL
Added Some backwards compatibility with CMake1.4
2002-09-03 06:10:06 -04:00
Ian Scott a89dbfc1b9 Moved FLTK and GTK to new FindXXX scheme. Imported some functionality from VXL 2002-09-02 17:34:45 -04:00
Ian Scott 0b1465ba3a small bug fixes 2002-09-02 17:33:51 -04:00
Ian Scott c5d31d32e2 Fix Bugs 2002-09-02 16:59:47 -04:00
Ian Scott f5ea46bbc5 This file should not be empty 2002-09-02 16:24:25 -04:00
Ian Scott 99a335de48 Moved FindZLib.cmake to FindZLIB.cmake 2002-09-02 15:49:30 -04:00
Ian Scott c826085917 Copied the X11 PNG and ZLIB functoinality from VXL 2002-09-02 15:46:04 -04:00
Ian Scott 8600beb1ed Adding Zlib and PNG find modules in the new format 2002-09-02 14:08:30 -04:00
Ian Scott 3663167b9e This Find Module is in the new style 2002-09-02 12:58:48 -04:00
Ian Scott 5f60153d2f Add helpful message for QT Windows users
Add FindZLib in new format
Move FindJPEG and FINDWGET over to new scheme
2002-09-02 12:05:40 -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
Luis Ibanez f035d0c0c5 ENH: Platform dependent libraries added. 2002-08-14 11:44:40 -04:00
Sebastien Barre 67547494db FIX: fix commit messup (this change was committed to the branch instead of the main tree, thus was wiped-out later) 2002-08-09 10:04:34 -04:00
Sebastien Barre a75e78838f FIX:
- WINDOWS does not exist, use WIN32 (or defineWINDOWS if cygwin can not be used inUnix mode?),
- fix an un-closed IF,
- use same prefix for vars (and make it advanced)
2002-08-09 08:33:04 -04:00
Andy Cedilnik a1e19675de This hopefully finds wxWindows on UNIX 2002-08-09 07:55:25 -04:00
Andy Cedilnik 7cdee27a01 Add UNIX support for WXWINDOWS 2002-08-08 15:30:17 -04:00
Sebastien Barre 930bed0f71 ENH: first stab at wxWindows support (win32) 2002-08-08 13:41:50 -04:00
Luis Ibanez 559d99e97d ENH: Images library added. Names for debuggin versions in windows added. 2002-08-05 18:08:46 -04:00
Luis Ibanez 596614e9aa FIX: names styles for fltkgl and fltkforms are different in windows and linux.
Both styles are now searched taking advantage of the NAMES option in
     FIND_LIBRARY.
2002-08-02 13:43:54 -04:00
Sebastien Barre 7dffa485f6 ENH: change the search path order (if several Tcl/Tk are installed, the "current" version is likely to be the one that is bound to the wish/tclsh found in the PATH) 2002-07-29 09:46:50 -04:00
Sebastien Barre 8fc6bce000 ENH: clean the module, add debug libs 2002-07-26 14:06:44 -04:00
Sebastien Barre bc72728f2b FIX: the stub libs were not searched 2002-07-25 11:10:54 -04:00
Yves Starreveld c8ed9d7452 ERR: remove automatic Carbon framework on osx 2002-07-18 18:43:22 -04:00
Brad King 6bdf15c4de ENH: Added /usr/local/lib/java search paths. 2002-07-15 09:22:17 -04:00
Andy Cedilnik ab4e894b92 Add module that finds java executables. This module should find java, javac, and jar. 2002-07-08 09:30:02 -04:00
Ken Martin 589cf38a36 fixed another bug 2002-06-18 16:43:29 -04:00
Ken Martin 5b82069645 fixed bug 2002-06-18 16:35:29 -04:00
Sebastien Barre 84cd5ec124 ENH: add more paths for the HP 2002-06-18 14:26:57 -04:00
Andy Cedilnik f844304465 Add debian Java paths 2002-06-17 13:43:21 -04:00
Sebastien Barre 5458a0b50a FIX: GLU and GLUT flags for Mac OSX 2002-06-17 13:07:32 -04:00
Sebastien Barre 64a1707aee ENH: clean modules (doc, make stuff advanced, etc.) 2002-06-14 16:49:00 -04:00
Bill Hoffman 12d0b7c93d ENH: change so that on all make based systems all dart targets are added 2002-06-14 16:38:19 -04:00
Sebastien Barre ca07137305 ENH: use OPENGL_LIBRARY_PATH as additional search path 2002-06-14 11:46:37 -04:00
Sebastien Barre 877610f2e9 ENH: define OPENGL_LIBRARY_PATH (path to OPENGL_LIBRARY) so that it can be used to search for other OpenGL-related libs 2002-06-14 11:45:57 -04:00
Sebastien Barre 1c943b80c9 FIX: bug, the wrong include file was searched. 2002-06-14 11:31:03 -04:00
Sebastien Barre 72bb1865c3 ENH/FIX: Glut should be found, not set. Add search path for Cygwin 2002-06-14 10:35:42 -04:00
Sebastien Barre 35f6b648f2 FIX: comply with the way OpenGL libs are set in FindOpenGL and FindGLU 2002-06-13 14:45:46 -04:00
Sebastien Barre 5380afe02b ENH: make all OpenGL libs advanced, and add support for glu lib with Borland 2002-06-13 11:48:28 -04:00
Andy Cedilnik daaa5f3e79 Oops, forgot the library name 2002-06-10 08:53:36 -04:00
Andy Cedilnik 7e216a7ed2 Add search for python 2.2 2002-06-10 08:52:14 -04:00
Luis Ibanez 65afffa808 FIX: {} were missing around FLTK_*_LIBRARY. 2002-06-07 08:39:17 -04:00
Luis Ibanez ba0774deb8 FIX: The final test is done now over FLTK_LIBRARY instead of FLTK_LIBRARY_PATH 2002-06-06 17:49:54 -04:00
Luis Ibanez 2deb001881 ENH: Support for FLTK1.1 and FLTK1.0.11 added. An option allows to select
between the two versions.
2002-06-06 15:28:28 -04:00
Bill Hoffman 955463c5a3 fix for glut on win32 2002-06-06 08:49:35 -04:00
Yves Starreveld 2ed628d59d find openGL in Carbon 2002-05-18 16:09:40 -04:00
Andy Cedilnik 74da9fb78e Add better detection of wish 8.2 2002-05-14 08:42:35 -04:00