Commit Graph

420 Commits

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