Commit Graph

636 Commits

Author SHA1 Message Date
Bill Hoffman e7295161f7 ENH: use CFLAGS for testing for gnu 2004-01-23 12:40:03 -05:00
Andy Cedilnik 8bd124e7d0 ENH: This will probably break some obscure version of gcc, but until then, everybody doing profiling will be happy 2004-01-21 18:39:54 -05:00
Brad King 802cc38344 BUG#530: Using #error to report a nice error message if the C compiler is set to a C++ compiler. 2004-01-21 15:11:48 -05:00
Brad King af81df2542 BUG: Use return statement instead of exit. 2004-01-21 15:08:55 -05:00
Andy Cedilnik 2f5673c894 ENH: Fix typos about copying exe flags to shared flags and to modules. Bug #518 - On borland, initial flags for bulding module are wrong 2004-01-15 13:57:21 -05:00
Bill Hoffman f0f9b50770 BUG: use the flags when testing for type of gnu compiler 2004-01-13 09:00:59 -05:00
Sebastien Barre 1b2e663dfb ENH: make it a bit smarter at finding stuff: now you need only to set *ONE* of (TCL|TK)_INCLUDE_PATH, (TCL|TK)_LIBRARY, TCL_TCLSH and the rest will be found. 2004-01-09 15:57:17 -05:00
Ken Martin 02d253c59e fix for multiple nexted projects 2004-01-02 10:23:20 -05:00
Brad King 13e9428d2e BUG#423: Fixed search for frameworks on OSX. 2003-12-29 16:18:18 -05:00
Andy Cedilnik 46aaf2dae8 ERR: On systems where uname does not support -p, try -m. Fixes Bug #426 - CMAKE_SYSTEM_PROCESSOR unknown and inconsistent 2003-12-29 14:26:46 -05:00
Andy Cedilnik de30a184a2 ENH: Add QT_ASSISTANTCLIENT_LIBRARY support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle qassistantclient.lib 2003-12-29 14:19:07 -05:00
Andy Cedilnik 31bb398dc3 ENH: Mark things as advanced 2003-12-17 09:42:52 -05:00
Ken Martin 32f1d93de3 fix in quoting 2003-12-17 08:21:45 -05:00
Andy Cedilnik 4cf81bab0e ENH: Add suppression file 2003-12-16 16:19:32 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Brad King 128f3cbd00 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_C_FLAG and CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG settings to enable shared library version support for SGI. 2003-12-12 15:42:55 -05:00
Brad King 18112d0854 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for HP-UX. 2003-12-12 14:44:03 -05:00
Brad King c1add9106c ENH: Using separate CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX. 2003-12-12 14:35:18 -05:00
Brad King 9a096e8488 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for SunOS. 2003-12-12 14:20:06 -05:00
Bill Hoffman 89fe29a41a ENH: reduce the number of times gnu is tested for 2003-12-12 09:12:49 -05:00
Brad King c624879fba ENH: Adding /usr/include/w32api for OpenGL header search. 2003-12-09 14:33:10 -05:00
Andy Cedilnik 403f220d25 ENH: Improve coverage on systems with multiple gcov commands 2003-12-08 11:23:46 -05:00
Brad King 81be61b153 BUG#411: Re-ordering statements so errors show up in CMakeError.log. 2003-12-01 13:06:35 -05:00
Brad King aaf0ed39ca ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:59:53 -05:00
Brad King f0035d84b5 ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:52:33 -05:00
Bill Hoffman 7cf5aa9271 BUG: remove junk code 2003-11-21 13:12:39 -05:00
Brad King 7b3ba5537c BUG#266: Added cygwin names for the library. Module now documents output as PYTHON_LIBRARIES instead of PYTHON_LIBRARY. 2003-11-20 15:41:29 -05:00
Brad King 0637e4656c STYLE: Removed trailing whitespace. 2003-11-20 15:31:40 -05:00
Bill Hoffman c3530dd01f BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu 2003-11-14 10:44:12 -05:00
Brad King a65fd59c13 BUG#299: GTK_gmodule_LIBRARY is optional just like GTK_gthread_LIBRARY. 2003-11-12 17:44:17 -05:00
Brad King ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. 2003-11-12 16:51:09 -05:00
Brad King 37149fc5b3 BUG#199: If DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will be included in the name of the Experimental and ExperimentalSubmit targets. 2003-11-12 10:00:54 -05:00
Bill Hoffman 34853be45a BUG: fix for bug 346, borland should now support dash in the path 2003-11-05 11:18:15 -05:00
Brad King 2480a83deb ENH: Adding registry entries to search path. 2003-11-04 09:36:33 -05:00
Bill Hoffman 44d6e0362e BUG: fix for bug# 317 2003-10-31 16:56:40 -05:00
Brad King a92c58bacc BUG#262: Marking DVIPDF_CONVERTER as advanced. 2003-10-30 13:33:51 -05:00
Brad King 9a4c654d23 BUG: Fixed same spaces-in-paths problem for CMakeTestGNU.c as in CMakeDetermineCCompiler.cmake. 2003-10-17 16:09:18 -04:00
Sebastien Barre 296e731808 FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin) 2003-10-16 11:05:04 -04:00
Bill Hoffman db3cd82590 BUG: fix for bug 78 should be on 1.8 branch 2003-10-15 23:42:06 -04:00
Brad King de27c1207b ERR: Old -flat_namespace -undefined suppress flags for CMAKE_SHARED_MODULE_CREATE_C_FLAGS should be included when CMAKE_BACKWARDS_COMPATIBILITY is 1.6 or lower. 2003-10-15 10:14:13 -04:00
Brad King b0e79efddd BUG: Fix for spaces in path when loading CMakeTestGNU.c. 2003-10-14 22:30:07 -04:00
Andy Cedilnik db12c17017 ENH: Documentation fix 2003-10-13 15:27:58 -04:00
Andy Cedilnik 5d4bdcf942 ERR: allow spaces in the path 2003-10-13 11:32:37 -04:00
Brad King c17be8d126 BUG: Message describing variable was using result variable. 2003-10-11 08:12:21 -04:00
Bill Hoffman 96e8cd82c7 ENH: put the system path after the paths specified on to the FIND command 2003-10-09 15:52:29 -04:00
Brad King a1d61afcf6 BUG: Comparison of build tool should be case-insensitive. 2003-09-26 11:15:28 -04:00
Yves Starreveld 2ff4690192 ENH: remove the -flat_namespace and -undefined suppress hacks from
ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS
ENH: and fix the complex example to specify a -bundle loader for the
ENH: shared module that it builds.
2003-08-27 20:35:18 -04:00
Bill Hoffman a35d911def ENH: MinGW build now passes all the tests 2003-08-27 16:42:01 -04:00
Brad King ae28d81894 ERR: Fixed typo in comment. 2003-08-27 16:02:37 -04:00
Bill Hoffman 9cc69e8292 ENH: add configure file for gcc under windows 2003-08-22 11:56:20 -04:00
Andy Cedilnik 21ec23413e ERR: Reorganize to try to fix the -pthread problem on some systems 2003-08-22 09:52:05 -04:00
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