Commit Graph

1271 Commits

Author SHA1 Message Date
Brad King 3b744d0804 BUG: Need to install CMakeCXXCompilerId.cpp so that C++ compiler identification works in an install tree. 2007-04-30 18:09:04 -04:00
Alexander Neundorf 412c0f4a61 STYLE: comment which says which variables this macro sets
Alex
2007-04-30 17:05:32 -04:00
Alexander Neundorf 8f7b0291d8 STYLE: use the newer FIND_XXX syntax, which should find MPI in even more
directories and doesn't require to list standard directories like /usr/lib,
etc.

Alex
2007-04-30 17:03:53 -04:00
Alexander Neundorf 22a2abb154 BUG: also install CMakePlatformId.h, otherwise the check for the compiler id
works only when building cmake itself, but not with an installed cmake

Alex
2007-04-30 16:05:42 -04:00
Alexander Neundorf 6e2cd41138 BUG: if /opt/lib and /opt/csw/lib are searched for libs, then /opt/include
and /opt/csw/include should also be searched for headers (according to
google they also exist)

Alex
2007-04-30 10:57:32 -04:00
Brad King eac71647dd ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included. 2007-04-28 09:35:01 -04:00
Alexander Neundorf f693951480 STYLE: fix typo "CCC" -> "CC", add comments which variables it sets
Alex
2007-04-25 16:22:46 -04:00
Brad King 2dd364f751 ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-18 00:11:47 -04:00
Brad King 66d1930f56 ENH: Added CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-17 23:41:51 -04:00
Brad King 60befc2e49 ENH: Added CMAKE_SHARED_MODULE_LOADER_C_FLAG and CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to executables. 2007-04-17 16:19:36 -04:00
Sebastien Barre 5a836da544 ENH: this variable overrides all PROJECT_URL. Check the dashboard, all projects have the wrong URL in their "Home" button. Other variables (like ROLLUP_URL) were moved a while ago, for some reasons this one is still here. 2007-04-10 14:54:48 -04:00
Brad King a017333d9a ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805. 2007-04-10 11:22:15 -04:00
Brad King 0526552b10 ENH: Enabled use of soname and therefore versioning symlinks. Patch is from bug#4558. 2007-04-10 08:36:33 -04:00
Andy Cedilnik 4668f03484 BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx" 2007-04-04 15:59:22 -04:00
Bill Hoffman 2803688998 BUG: fix for bug 4605 2007-04-04 13:43:12 -04:00
Andy Cedilnik 71fc9f9321 COMP: Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx 2007-04-04 13:06:13 -04:00
Brad King 5a32aa5919 ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210. 2007-03-22 09:45:25 -04:00
Brad King 56ce727d10 BUG: Disable creation of import libraries for executables on Borland until it can be made optional. Otherwise all executables get a .lib with the same name which is unexpected behavior for users. 2007-03-20 09:14:27 -04:00
Brad King fc7c433463 ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly. 2007-03-19 10:00:36 -04:00
Brad King 2f09a22411 BUG: Do not create import library for MODULEs. This is an incremental fix for bug#4210. 2007-03-10 07:49:47 -05:00
Brad King 007fa79037 BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210. 2007-03-10 07:37:42 -05:00
Brad King 475447870f BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210. 2007-03-09 13:59:18 -05:00
Brad King 0e8515fa4c BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway. 2007-03-07 15:57:52 -05:00
Ken Martin 100723fbb0 BUG: untested fix for newlines in the output of pkg config 2007-03-07 15:36:09 -05:00
Andy Cedilnik cf3f5ce2bc STYLE: Defautl answer for the license is no 2007-03-06 09:16:46 -05:00
Ken Martin 8b7ff9b08b ENH: patch applied for bug 4517 2007-03-05 15:21:49 -05:00
Brad King 42e1ffb7f5 BUG: Do not create import library for MODULEs. The TARGET_IMPLIB name is not set correctly for MODULE rules anyway. 2007-03-03 10:09:18 -05:00
Andy Cedilnik b9ab2b1932 BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try compile 2007-03-02 11:33:37 -05:00
Ken Martin 971f9e4869 ENH: limit the output of system information to no more than 50K per file 2007-03-02 10:57:20 -05:00
Brad King eb04778766 BUG: Fix bug introduced by revision 1.67. The qmake query mode prints information to stderr on some platforms. The OUTPUT_VARIABLE and ERROR_VARIABLE must be the same variable to get all the output. 2007-03-01 16:44:32 -05:00
Ken Martin fa9f03779f ENH: improvements 2007-02-27 09:43:34 -05:00
Ken Martin dc7c6172b1 ENH: added for system information command line option 2007-02-26 13:40:56 -05:00
Alexander Neundorf 20d75ac237 BUG: fix typo reported by Duncan Mac Vicar
Alex
2007-02-25 19:22:59 -05:00
Bill Hoffman 846b058f73 ENH: force c++ when building c++ objects 2007-02-21 11:45:38 -05:00
Bill Hoffman d7b5020a2e ENH: better processor detection on linux 2007-02-21 10:29:36 -05:00
Bill Hoffman 086da498d4 ENH: remove df because df is a unix utilitiy 2007-02-21 10:03:11 -05:00
Bill Hoffman b8eede3b19 BUG: fix for bug 3950 add support for df compiler on windows 2007-02-20 16:43:32 -05:00
Bill Hoffman 533bd43d0f BUG: fix for bug # 3954 glib with qt 2007-02-20 16:35:45 -05:00
Alexander Neundorf 2fb0e4ba20 STYLE: fix docs for FindKDE4.cmake
Alex
2007-02-20 16:05:42 -05:00
Alexander Neundorf 2ab03bd4f0 BUG: remove KDE3_ENABLE_FINAL (#4140): it doesn't work currently and I
don't have the time to fix this since it would require bigger changes. Maybe
I'll do this if the KDE3 support of CMake becomes more widely used.

Alex
2007-02-20 16:02:51 -05:00
Alexander Neundorf 747f135d2c STYLE: don't put the copyright notice twice in the file
Alex
2007-02-20 16:00:39 -05:00
Bill Hoffman 531f110323 BUG: fix for bug 4187 fix typo in docs 2007-02-20 15:15:55 -05:00
Bill Hoffman 90e4d70dcc BUG: fix for 4188 look for smake as well as gmake and make 2007-02-20 15:14:04 -05:00
Bill Hoffman c96c175484 ENH: try to force c++ on qnx 2007-02-20 11:33:40 -05:00
Bill Hoffman ba66b8d50b BUG: fix for bug 4420 add language dll's to mfc install 2007-02-20 09:54:20 -05:00
Brad King a7042f2e97 BUG: Applied patch from bug#4462. 2007-02-19 13:53:25 -05:00
Bill Hoffman 71e0fcb806 BUG: fix for bug 4464 handle qmake errors better 2007-02-19 13:44:30 -05:00
Andy Cedilnik f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
Alexander Neundorf cfc38fc47d STYLE: remove empty line, so the documentation for the module is complete
again

Alex
2007-02-10 09:52:00 -05:00
Alexander Neundorf 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake
Alex
2007-02-07 14:50:45 -05:00
Bill Hoffman 8b567083da BUG: fix for bug 4399 2007-02-07 11:50:57 -05:00
Bill Hoffman f548dc4a06 BUG: fix for 4420 Unicode and MBC versions of the MFC 2007-02-07 10:26:25 -05:00
Bill Hoffman 98a5bbd3aa ENH: fix depend bug in qt 2007-02-02 16:51:51 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00
Alexander Neundorf 2d4bc73d39 BUG: add gettext module for working with GNU gettext (#4081)
Alex
2007-02-02 12:46:52 -05:00
Alexander Neundorf 94550852eb BUG: finally fix #4331, the previous version just caught the tag, the
filename not at all

Alex
2007-01-31 15:06:07 -05:00
Alexander Neundorf bb7304706d STYLE: KDEDIR is deprecated and not used, so also document that KDEDIRS is
used instead

Alex
2007-01-30 15:43:25 -05:00
Alexander Neundorf 863f2b76cb BUG: reent.c wasn't intended to be committed, too special
Alex
2007-01-23 13:41:35 -05:00
Alexander Neundorf 152040fd83 STYLE: use even more absolute paths, can't hurt for out-of-source builds
STYLE: use SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead
of interating over each one of them
STYLE: no need to add target.ld to the clean-files, this is done now automatically by add_custom_command()
ENH: now also MS nmake can be used to build ecos apps

Alex
2007-01-23 13:29:44 -05:00
Andy Cedilnik 66718107db COMP: Fix typo that makes all Qt4 builds break 2007-01-20 10:05:23 -05:00
Bill Hoffman c9c18982f3 BUG: fix for bug 4331 2007-01-19 11:55:39 -05:00
Bill Hoffman 51bf1bd99a BUG: fix for bug 4331 2007-01-18 20:35:07 -05:00
Alexander Neundorf c37f2c20d9 ENH: the ecos headers are always in the binary dir
Alex
2007-01-17 14:06:18 -05:00
Alexander Neundorf 4cb8e3c43f ENH: building ecos apps now seems to work also out-of-source
Alex
2007-01-17 13:57:34 -05:00
Alexander Neundorf c6f74dfe3b BUG: also check that tclsh is available, otherwise you can't build any eCos
stuff
ENH: make the name of the config file ecos.ecc adjustable via the new
variable ECOS_CONFIG_FILE

Alex
2007-01-17 13:45:28 -05:00
Andy Cedilnik f015e1ff03 ENH: Change permission for getdisplay.sh to make the runtimescript work 2007-01-10 18:33:03 -05:00
Andy Cedilnik de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
Alexander Neundorf 7ab81d187e ENH: if a wrong qmake has been found, mark it as invalid in the cache, so
that it is searched again the next time cmake runs
Tested in KDE since Jul 5th:
http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=558318&view=rev

Alex
2007-01-04 17:29:01 -05:00
Alexander Neundorf 4167622667 ENH: add QT_USE_QTDBUS as it exists for all other modules too
Alex
2007-01-04 16:50:18 -05:00
Alexander Neundorf f53f0565a7 BUG: also look for qmake4, as it is named on OpenBSD
Alex
2007-01-04 16:35:47 -05:00
Alexander Neundorf 5826ce439c ENH: partly sync with KDE svn: add the macros for generating the dbus files
Alex
2007-01-03 18:20:55 -05:00
Alexander Neundorf 4fbcdccd22 ENH: mark more variables ADVANCED
Alex
2007-01-03 17:50:16 -05:00
Alexander Neundorf 1626da56a9 ENH: partly sync with KDE svn: handle QtMain more like the other libs
Alex
2007-01-03 17:32:02 -05:00
Alexander Neundorf c864c8f466 BUG: argument names in macros are not real variables, which can lead to problems, which we fixed for KDE in Trysil: http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=557470&r1=557241&r2=557470
Alex
2007-01-03 17:00:36 -05:00
Alexander Neundorf c8c4b68951 STYLE: some more space to make it easier to read
Alex
2007-01-03 16:48:08 -05:00
Alexander Neundorf f35f487d80 ENH: partly sync with KDE svn: also find the QtDBus and the QtDesignerComponents libraries
Alex
2007-01-03 16:38:26 -05:00
Alexander Neundorf 2c480fd228 ENH: partly sync with the KDE vesion: find the dbus tools coming with Qt since 4.2
Alex
2007-01-03 16:01:59 -05:00
Andy Cedilnik c074927b41 ENH: Support JVM on Mac 2006-12-26 08:47:15 -05:00
Andy Cedilnik d6422d3ad6 BUG: Fixes for dash 2006-12-13 16:44:49 -05:00
Ken Martin e1a142f033 ENH: fix for back VTK error message 2006-12-13 12:11:14 -05:00
Ken Martin af2b0e023a ENH: put in a better error message for VTK 4.0 2006-12-12 13:59:30 -05:00
Ken Martin 6aa73a8561 ENH: minor cleanup 2006-12-12 11:17:04 -05:00
Bill Hoffman ff6146334c ENH: better backwards compatibility, and deprecate PKGCONFIG 2006-12-09 15:02:19 -05:00
Alexander Neundorf 179aad32f3 BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced
with the KDE version of FindRUBY.cmake

Alex
2006-12-07 17:37:56 -05:00
Bill Hoffman a47820ca86 ENH: add beos file 2006-12-07 16:14:09 -05:00
Bill Hoffman 3b1c74d34a ENH: fix for backwards compatibility 2006-12-04 19:37:29 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
Bill Hoffman 273ac87571 BUG: fix for bug 4102 2006-12-04 11:52:46 -05:00
Bill Hoffman 3fb55bff36 BUG: fix for bug 4123, find xmlrpc in standard locations 2006-12-04 11:44:47 -05:00
Alexander Neundorf 464e3c137e ENH: add a module to find Cups (#3081), taken from KDE svn
Alex
2006-11-30 16:23:23 -05:00
Bill Hoffman 9b42fff02f ENH: maintain backwards compatibility in UsePkgConfig 2006-11-29 16:12:40 -05:00
Alexander Neundorf 23fa16f6b4 ENH: kde-config has been renamed to kde4-config several weeks ago, so it's
not necessary anymore to use "kde-config" as fallback, since this will
surely be a wrong version

Alex
2006-11-22 19:28:25 -05:00
Bill Hoffman 3c900bbbd9 ENH: check in new pkgconfig stuff from Enrico Scholz 2006-11-22 13:44:59 -05:00
Bill Hoffman 651fecee5b ENH: make sure findqt3 finds qt3 and not qt4 2006-11-22 13:30:59 -05:00
Ken Martin 97b1963fd7 ENH: added to handle case in very old odd versions of VTK 2006-11-16 15:29:46 -05:00
Ken Martin 540d16384b ENH: added to handle case in ITK 2.8 and earlier 2006-11-16 15:28:16 -05:00
Bill Hoffman ba238d785f ENH: add depend information from qrc files 2006-11-13 14:22:08 -05:00
Bill Hoffman 5ac4801a04 BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 2006-11-11 14:04:29 -05:00
Bill Hoffman cf8625cf52 ENH: add support for finding mpich2 on windows 2006-11-02 19:58:14 -05:00
Bill Hoffman 86d2d989ce ENH: look for QtAssistantClient4 2006-11-02 17:51:36 -05:00
Brad King cc7bfeb6e4 ENH: Added XXX_RUNTIME_LIBRARY_DIRS as a suggested variable. 2006-11-01 09:06:27 -05:00
Brad King b2240ef6af ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. 2006-10-30 15:30:59 -05:00
Andy Cedilnik e29b587d59 ENH: More documentation 2006-10-27 17:30:26 -04:00
Andy Cedilnik 9ae7fb964c ENH: Add support for libjvm 2006-10-27 17:29:05 -04:00
Bill Hoffman f23ade5c02 ENH: remove JavaEmbedding 2006-10-27 15:59:40 -04:00
Alexander Neundorf 5a2b41350b BUG: honor the REQUIRED flag for Perl, please backport to 2.4 branch so that
it will be in 2.4.4

Alex
2006-10-24 17:56:59 -04:00
Bill Hoffman 112dadc0e8 ENH: fix more doxygen issues 2006-10-24 10:03:58 -04:00
Bill Hoffman ae5df56bbc ENH: remove JavaEmbedding framework 2006-10-24 10:03:39 -04:00
Alexander Neundorf 0945aecc94 BUG: fix #3955: add -O2 by default but only if no special buildtype is set
Alex
2006-10-23 19:04:52 -04:00
Bill Hoffman 2e3eebc20a ENH: put in backwards compatibility for older cmake 2006-10-23 14:51:56 -04:00
Brad King de007ef199 ENH: Adding CMAKE_DEPENDENT_OPTION macro. 2006-10-19 14:48:12 -04:00
Brad King 93ce08e373 ENH: Find module for XMLRPC libraries. 2006-10-19 12:58:05 -04:00
Brad King d913a7b1e7 ENH: Find module for EXPAT library. 2006-10-19 12:57:28 -04:00
Brad King d25595a83c ENH: Find module for CURL library. 2006-10-19 12:55:44 -04:00
Brad King 2fd1b374c1 ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. 2006-10-19 10:07:41 -04:00
Brad King b155f3aa1c ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219. 2006-10-16 18:17:14 -04:00
Brad King e55ff93748 ENH: Allow user project code to distinguish between an install prefix set on the command line and one set by CMake as a default. This is useful for changing the default prefix while still allowing the user to override it. 2006-10-16 13:58:17 -04:00
Bill Hoffman 641a0ad878 BUG: fix for bug# 3310 2006-10-16 10:47:18 -04:00
Brad King bf74cd9d83 BUG: Compression must be set before any output is created. 2006-10-13 15:04:18 -04:00
Bill Hoffman d460481da3 BUG: fix for bug #3846 more advanced stuff 2006-10-13 11:25:07 -04:00
Bill Hoffman 4d89019426 BUG: fix for bug#3898 find qt plugin dir 2006-10-13 11:23:44 -04:00
Andy Cedilnik b548e2db1f ENH: Add NSIS compression 2006-10-12 14:59:43 -04:00
Andy Cedilnik f9dc5b5553 ENH: On Visual Studio and Xcode handle config type 2006-10-12 13:15:03 -04:00
Andy Cedilnik e607d5f7df ENH: More locations for Java 2006-10-12 13:12:37 -04:00
Andy Cedilnik e31dc3abe5 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:05:50 -04:00
Brad King 3a757c253d STYLE: Fixed typo: INCLUDE_DIR->INCLUDE_DIRS. 2006-10-10 16:03:34 -04:00
Brad King 7f7374e818 BUG: Do not enable -isystem support for Xcode generator until it is implemented. 2006-10-06 09:16:53 -04:00
Brad King e0a662a3dd ENH: Adding version number to the name of a DLL built in cygwin but not the import library. This addresses bug#3571. 2006-10-05 16:30:47 -04:00
Brad King 48470eaa00 ENH: Enabling link-type selection flags on Cygwin, MSYS, and MinGW. This addresses bug#1644 on these platforms. 2006-10-05 15:08:23 -04:00
Brad King e1799a5f88 BUG: QNX GCC does not have -isystem. 2006-10-05 09:33:03 -04:00
Brad King c11cf31c9b ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 08:55:59 -04:00
Bill Hoffman 4fc95339f7 ENH: remove paths that cmake already looks at 2006-10-04 16:31:00 -04:00
Alexander Neundorf d54a7bfecf ENH: apply patch so that the config values from ruby are used to determine
the additional locations (see #3297)

Alex
2006-10-04 15:54:25 -04:00
Brad King 608f735215 BUG: Patch from Clinton to restore proper QT3_SUPPORT macro definition. 2006-10-04 14:00:41 -04:00
Bill Hoffman 9d5dc7b396 BUG: fix for bug# 3313 same advanced for tcl win and unix 2006-10-04 13:05:16 -04:00
Bill Hoffman 7ed0532ae9 BUG: fix for bug#3520 - better find doxygen 2006-10-04 11:04:26 -04:00
Bill Hoffman 131d8205f5 BUG: fix for bug# 3584 missing SONAME for fortran on darwin 2006-10-04 10:54:53 -04:00
Bill Hoffman 009dc7daae ENH: make qmake-qt4 really work if qmake is qt3 also fix indent in file, for diff use cvs diff -w 2006-10-04 10:33:10 -04:00
Bill Hoffman 2826dc4003 BUG: fix for bug#3646 GLUT not Glut for framework name 2006-10-03 16:18:32 -04:00
Bill Hoffman 115521338c BUG: fix for bug#3652 use link /lib instead of lib 2006-10-03 16:12:50 -04:00
Bill Hoffman 26d31fc2a0 BUG: fix for bug#3720 2006-10-03 14:39:05 -04:00
Alexander Neundorf 5f01d47d7d BUG: fix #3827, the name of the var is _tmp_FILE instead of tmp_FILE, so the
dcop stuff should work now

Alex
2006-10-03 14:03:16 -04:00
Bill Hoffman d760e378df BUG: fix for 3765 2006-10-03 13:48:54 -04:00
Bill Hoffman 943de01060 ENH: disable static shared stuff on AIX, see comment 2006-10-03 13:35:41 -04:00
Bill Hoffman a178761c12 ENH: fix from clinton 2006-10-02 09:03:17 -04:00
Brad King 506dca3990 BUG: Header and library search path ordering should be consistent. 2006-09-28 11:42:19 -04:00
Alexander Neundorf 5d22d36c5d ENH: apply patch from Dirk Mueller to support Python 2.5
Alex
2006-09-27 13:30:18 -04:00
Alexander Neundorf 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2,
jasper (jpeg2000), libxml2 and libxslt and openssl and the accompanying
license (BSD)

Alex
2006-09-19 16:11:53 -04:00
Alexander Neundorf 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag:
CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL)

Alex
2006-09-18 17:55:22 -04:00
Brad King 8e3bb08b81 ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-18 09:40:12 -04:00