Commit Graph

936 Commits

Author SHA1 Message Date
Bill Hoffman 7cef36c628 ENH: add the ability to generate custom commands for a language that is not supported by an IDE 2004-10-21 14:34:02 -04:00
Andy Cedilnik a4c8aee1f4 ENH: If dart or ctest are not found, use ctest. For default drop location etc, support http submit (just set DROP_METHOD to http. Only look for tclsh if DART_ROOT is set 2004-10-12 18:29:04 -04:00
Bill Hoffman e78a57563c ENH: make sure the c++ compiler is a c++ compiler 2004-10-11 11:55:39 -04:00
Andy Cedilnik 518de19f74 ENH: Add option of adding random include files before doing CheckTypeSize 2004-10-05 08:33:08 -04:00
Andy Cedilnik b1a1526e14 ENH: When test fails, write out the output 2004-10-05 08:32:08 -04:00
Bill Hoffman 016e0e52cb BUG: make sure java jar files are not libfoo.jar but are just foo.jar 2004-09-27 11:36:29 -04:00
Andy Cedilnik 0871ddbedd ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 2004-09-27 09:49:55 -04:00
Bill Hoffman e63ea0a6d2 BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 2004-09-24 14:37:58 -04:00
Bill Hoffman 5bc54263a6 ENH: use c++ with c++ and c flags with c 2004-09-24 09:11:42 -04:00
Bill Hoffman 67ac3ea503 ENH: fix problems with .def and RC files 2004-09-23 08:51:06 -04:00
Bill Hoffman 11aeb6e483 BUG: let the generator quote the path 2004-09-22 14:52:57 -04:00
Bill Hoffman 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
Bill Hoffman 4cf0f5b5ca BUG: fix GNU check variable and add new variables used by enable language 2004-09-22 08:50:43 -04:00
Bill Hoffman 26eff86298 ENH: look for java in more places 2004-09-20 14:39:44 -04:00
Bill Hoffman 239cec12e0 BUG: commit bug 1123 2004-09-17 09:14:33 -04:00
Ken Martin 2e4264e0d1 ENH: do not check for gnu for visual studio 2004-09-15 10:32:28 -04:00
Andy Cedilnik 0e67feb17a ENH: Use FIND_PACKAGE instead of INCLUDE(Find... 2004-09-10 11:15:07 -04:00
Bill Hoffman b18faffcf0 add ifort support 2004-09-09 16:05:42 -04:00
Bill Hoffman 3708ed4ec8 try to fix fortran on hp 2004-09-09 11:50:14 -04:00
Bill Hoffman 0d4cd0436b ENH better test for free VC tools 2004-09-03 15:19:58 -04:00
Bill Hoffman c2ef51e181 ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem 2004-09-03 12:03:41 -04:00
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
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