Commit Graph

715 Commits

Author SHA1 Message Date
Bill Hoffman 652823dc83 ENH: check for ms free command line tools 2004-09-03 12:01:46 -04:00
Bill Hoffman 4fb678e40d Make sure cmake uses consistent module prefixes 2004-08-30 12:14:31 -04:00
Andy Cedilnik ad4f98f3cf ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
Bill Hoffman c9eaf38653 hack to try and fix sun platform 2004-08-26 21:43:27 -04:00
Bill Hoffman ca5e9e6415 ENH: try to find fortran compiler before adding the test 2004-08-26 16:34:06 -04:00
Bill Hoffman e803b32b89 Add a fortran test if there is a fortran compiler 2004-08-26 15:50:39 -04:00
Bill Hoffman 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
Bill Hoffman 28cc5b973f BUG: 1107 add extra place to look for java 2004-08-23 11:33:35 -04:00
Bill Hoffman 049985f36f BUG: 1107 add extra place to look for java 2004-08-23 11:21:33 -04:00
Andy Cedilnik c8c5bb4e22 BUG: Unly set gcc flags for C compiler if CMAKE_COMPILER_IS_GNUCC is set 2004-08-18 09:28:41 -04:00
Andy Cedilnik fa84ecf7bf ENH: Initial import for Darwin using xlC 2004-08-17 19:18:59 -04:00
Bill Hoffman a1b94f4c5c ENH: minor fortran fixes 2004-08-11 16:35:55 -04:00
Ken Martin d8bada47a6 ENH: Initial import 2004-08-09 18:20:07 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Bill Hoffman 0220a85e33 ENH: remove verbose QT message 2004-08-05 11:59:20 -04:00
Andy Cedilnik 11d89d36d7 ENH: Add MemCheck to the list of Make targets. Closes Bug #1016 - Testing targets in Makefile 2004-07-29 17:07:16 -04:00
Andy Cedilnik 07231d014c DOC: Fix typo 2004-07-27 08:52:13 -04:00
Andy Cedilnik 1ed700d91f ENH: Allow project to overwrite CMAKE_SYSTEM_NAME part of default BUILDNAME 2004-07-27 08:48:08 -04:00
Bill Hoffman c8101e8e47 BUG: fix for bug 998, fix spelling errors 2004-07-26 16:59:55 -04:00
Bill Hoffman f929104ae8 BUG: put back flags to maintain backwards compatibility 2004-07-22 10:59:34 -04:00
Andy Cedilnik b0d86400d9 BUG: These regular expressions were wrong because \\t does not match tab. Also, this fix prevents whole file to be dumped to the cache 2004-07-13 10:03:32 -04:00
Bill Hoffman 0e0eec1162 merge in fixes from neundorf at kde org, bug 869 2004-07-09 15:38:41 -04:00
Bill Hoffman 86195caf6a ENH: add support for VCExpress 2005 2004-07-05 12:16:33 -04:00
Bill Hoffman 32381805d3 BUG: make sure if swig is found, we know it is found 2004-06-29 10:22:06 -04:00
Andy Cedilnik d392ccaee5 BUG: Add more comments and fix CMAKE_SWIG_FLAGS 2004-06-28 11:14:40 -04:00
Andy Cedilnik 0beaf4cb4e BUG: Replace MATCHES with STREQUAL for better checking, better checking for existence of swig directory, verify if required flag was set, support fedora's location of swig. Fixes Bug #955 - Swig on fedora and Bug #954 - FIND_PACKAGE(SWIG REQUIRED) 2004-06-28 09:08:13 -04:00
Bill Hoffman 3860a2dcd6 BUG: SWIG_FLAGS was ignored by the add swig source to module command 2004-06-26 08:40:11 -04:00
Bill Hoffman dc4a6f63b0 C++ compiler is not set for c only projects 2004-06-23 16:15:21 -04:00
Bill Hoffman 6ccbfe9795 clean up commands so they don't need extra variable 2004-06-16 09:44:03 -04:00
Bill Hoffman b6466061cb ENH: add NDEBUG to windows release builds for both ide and nmake 2004-06-14 12:16:25 -04:00
Bill Hoffman 50c900b85c ENH: add FindKDE from Alex from kde.org 2004-06-14 10:46:46 -04:00
Bill Hoffman 88d644d2aa fix for bug 915 2004-06-14 10:36:17 -04:00
Sebastien Barre 6037cc8b3b a) new version of tools like Doxygen and Graphviz now set install path info in win32 registery. use it.
b) remove DOT_PATH, it was polluting the cache (can be computed from DOT, update CMakeLists.txt accordingly if DOT_PATH is not defined)
2004-06-08 17:26:48 -04:00
Bill Hoffman ebe116ee41 Fix for bug 903 change order of fltk libraries 2004-06-03 14:54:48 -04:00
Brad King 830e1ac1d9 BUG#895: Adding -DNDEBUG to C and C++ flags for release builds. 2004-06-01 14:08:04 -04:00
Ken Martin e67ffe8527 better error message 2004-05-25 11:20:38 -04:00
Andy Cedilnik 3031467e33 ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:56:34 -04:00
Bill Hoffman 44803a00c5 ENH: look for qtmoc in some other places 2004-05-20 16:26:54 -04:00
Bill Hoffman 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 2004-05-18 14:33:12 -04:00
Bill Hoffman 55969dcf23 ENH: append to the list of clean files, don't just set them 2004-05-17 16:31:58 -04:00
Bill Hoffman fdb358e9cc BUG: Bug #835 fix, add swig generated files to clean target 2004-05-17 15:55:35 -04:00
Bill Hoffman 4b74d4c0a9 Add a missing dollar sign 2004-05-07 10:16:53 -04:00
Ken Martin d8ae50b87c a guess at some OSF compiler flags 2004-05-05 10:41:40 -04:00
Andy Cedilnik ea8dc0769d ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now. 2004-05-04 11:24:32 -04:00
Andy Cedilnik 575afc8b14 ENH: support STDDEF and cleanup 2004-05-03 16:35:37 -04:00
Ken Martin 7965cfb339 fix to find opengl on some osf systems 2004-05-01 10:07:41 -04:00
Andy Cedilnik a401922ca3 ENH: More paths 2004-04-30 13:41:06 -04:00
Bill Hoffman b99046be81 ENH: add another place to look for swig.exe 2004-04-30 12:54:20 -04:00
Bill Hoffman 5fd1c7fd3c ENH: try to find swig.exe in SWIG_DIR 2004-04-30 12:52:12 -04:00
Andy Cedilnik 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 2004-04-30 12:11:02 -04:00
Bill Hoffman a6b60841db BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE 2004-04-28 13:21:56 -04:00
Bill Hoffman f248295d5d ENH: fixes for optional flag arguments to check include macros 2004-04-28 10:00:11 -04:00
Bill Hoffman 79269fc5a9 BUG: fix for bug 80, check include cxx now has an optional argument that can is added to the cxx flags 2004-04-28 09:52:12 -04:00
Andy Cedilnik 62fec96d99 ENH: Add TCL_FOUND 2004-04-26 13:42:55 -04:00
Brad King 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 11:00:41 -04:00
Brad King a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. 2004-04-26 10:19:44 -04:00
Bill Hoffman 0b7d154ebd ENH: add verbose make abilility to visual studio 7 2004-04-23 13:12:33 -04:00
Bill Hoffman ef5387a8ff BUG: fix for bug 618 2004-04-22 17:23:48 -04:00
Bill Hoffman a688f59519 BUG: fix for bug 743 2004-04-22 17:20:41 -04:00
Bill Hoffman 9dbd619b28 BUG: fix for bug 607 2004-04-22 17:08:20 -04:00
Bill Hoffman 8ba5612136 ENH: contribution from Ian Scott, thanks. 2004-04-22 16:16:15 -04:00
Ken Martin 45878db508 update comments 2004-04-22 15:59:41 -04:00
Bill Hoffman 5ff05c35d1 BUG: fix bad if statements 2004-04-22 11:12:04 -04:00
Bill Hoffman 8414c65862 ENH: fix for mingw 2004-04-21 15:09:07 -04:00
Brad King 78803c01ea ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with REQUIRED argument and package was not found. 2004-04-21 11:33:47 -04:00
Bill Hoffman 038cc6fa01 BUG: fix for bug 506 2004-04-15 11:55:29 -04:00
Bill Hoffman fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
Bill Hoffman c7a42a1b1f BUG: fix for bug 608 2004-04-14 17:02:40 -04:00
Bill Hoffman 6c5b67981e ENH: remove warnings from try compiles 2004-04-14 15:56:39 -04:00
Bill Hoffman 1344d86e43 BUG: fix for bug 593 2004-04-12 21:01:45 -04:00
Andy Cedilnik 1dbcfd2a98 ENH: Improve Mac OSX bundle support 2004-04-08 17:13:42 -04:00
Brad King 82101f78cf ENH: Added registry check for ActiveState Tcl 8.4.6. 2004-03-31 16:44:43 -05:00
Yves Starreveld a4d0758e22 ERR: Shouldn't be adding xlibs to opengllibs on osx 2004-03-27 13:20:55 -05:00
Brad King 7fa9a5f5d6 ERR: Fixed incorrect documentation for CMAKE_CXX_WARNING_LEVEL. Submitted by David Cole. 2004-03-23 15:02:07 -05:00
Andy Cedilnik b1a7421840 ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE 2004-02-28 18:59:19 -05:00
Bill Hoffman 07b4d8bbca BUG: fix mingw module load tests 2004-02-16 09:50:06 -05:00
Bill Hoffman eb7ab7964a shared modules are not linked so do not use lib prefix 2004-02-14 16:55:04 -05:00
Bill Hoffman f7ce654912 ENH: change mingw to use libfoo.dll instead of foo.dll since it can link to them 2004-02-13 10:51:44 -05:00
Andy Cedilnik f171b82377 ENH: Better finding of JNI 2004-02-06 10:49:46 -05:00
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