Commit Graph

468 Commits

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