Commit Graph

1752 Commits

Author SHA1 Message Date
Bill Hoffman b4475cf7e8 ENH: fix docs, bug 7590 2008-09-09 14:12:48 -04:00
Alexander Neundorf 1bcf48de98 BUG: only check for a toolchain prefix (e.g. "arm-linux-" in
"arm-linux-gcc") if we are cross compiling and the compiler is gcc

Alex
2008-09-08 17:43:31 -04:00
Bill Hoffman 43837fb3e1 ENH: do not add the same thing to the PATH again and again 2008-09-08 11:23:01 -04:00
Alexander Neundorf 281e441100 BUG: #7359 make llvm-gcc work, by explicitely excluding "llvm-" from _CMAKE_TOOLCHAIN_PREFIX
(use the (relatively) new CMAKE_MATCH_x variables set by all regex operations)

Alex
2008-09-07 16:54:01 -04:00
David Cole 6f8bdd276c ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided. 2008-09-06 12:20:07 -04:00
Bill Hoffman 3c96dc6086 BUG: make sure the intel compiler uses the intel linker 2008-09-02 14:47:41 -04:00
Bill Hoffman 9fef50d56f BUG: remove Catalan as 2.29 does not have it 2008-09-02 14:46:45 -04:00
Brad King f89dae7a94 ENH: Create Info.plist files in OS X Frameworks
A Mac OS X Framework should provide a Resources/Info.plist file
containing meta-data about the framework.  This change generates a
default Info.plist for frameworks and provides an interface for users to
customize it.
2008-09-02 12:06:32 -04:00
Clinton Stimpson 87a31b5b7f ENH: For #7433, add documentation that directories also can be specified to
update the translation files.
2008-08-30 09:39:33 -04:00
David Cole 862b3cae2c BUG: Do not use "Default" as a language, remove 2nd occurence of "English", and remove three other languages not supported by older versions of NSIS. Tested with version 2.18 of NSIS on gaia.kitware. 2008-08-26 16:43:27 -04:00
Clinton Stimpson 5990594331 ENH: Add comments about pre-processor defines and moc. 2008-08-26 16:04:36 -04:00
Clinton Stimpson 263a4229e5 ENH: Use COMPILE_DEFINTIONS instead of DEFINITIONS. 2008-08-26 11:50:15 -04:00
Clinton Stimpson 607e4eb4b4 ENH: Add -DWIN32 for moc on Windows. Final fix for #7465. 2008-08-26 11:22:27 -04:00
Clinton Stimpson dbdca3440a ENH: Add -D preprocessor defines to the moc commands.
Needed to fix #7465.
2008-08-25 19:41:56 -04:00
Bill Hoffman 532e5d144c BUG: remove extension from inserts 2008-08-22 06:56:51 -04:00
Bill Hoffman 2739331c95 ENH: sort languages and use list from NSIS 2.22 2008-08-21 15:13:22 -04:00
Bill Hoffman 2d7893180c BUG: remove some languages that are not supported in older versions of NSIS 2008-08-21 13:55:57 -04:00
Bill Hoffman 08cb1db528 ENH: try to fix error 2008-08-20 18:00:57 -04:00
Bill Hoffman 2f20b9d33b BUG: fix for bug 7104 look for GL in X11R6 dirs 2008-08-19 15:59:58 -04:00
Bill Hoffman 77def5ed14 BUG: fix for bug 6775, FindPHP4 did not honor required 2008-08-19 14:28:43 -04:00
Bill Hoffman 736da84b4f BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH 2008-08-19 14:23:38 -04:00
Bill Hoffman 1d57093baf BUG: fix for 7446 NSIS support for other languages 2008-08-19 14:07:10 -04:00
Alexander Neundorf 03b434af8e BUG: fix closing ENDIF()
Alex
2008-08-17 05:38:02 -04:00
Alexander Neundorf 502841c974 BUG: fix closing IF()
Alex
2008-08-17 05:11:51 -04:00
Alexander Neundorf db4bebe5c8 BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can be
found in the system

Qt3 and Qt4 cannot be used together in one project.
Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless
properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail
with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED

BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET

Alex
2008-08-16 19:11:53 -04:00
Alexander Neundorf bf4b0bfdd7 STYLE: remove some unnecessary lines
STYLE: everything uppercase in this file

Alex
2008-08-16 17:14:01 -04:00
Alexander Neundorf 5295385c34 ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they are
part of the standard search paths (partly sync wih KDE)

Alex
2008-08-16 07:38:12 -04:00
Alexander Neundorf ae31d88145 ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY as
advanced (sync with KDE)

Alex
2008-08-16 07:29:53 -04:00
Alexander Neundorf 58afad0968 ENH: also search for xmllint, which comes with libxml2 (sync with FindLibXml2.cmake from KDE)
Alex
2008-08-16 07:22:59 -04:00
Alexander Neundorf 7f69a773ab ENH: add more names of linpng (sync with the KDE version)
Alex
2008-08-16 07:10:09 -04:00
Alexander Neundorf 35175120b1 STYLE: /usr/local/bin is in the path anyway
STYLE: this file is mostly uppercase commands, so make all commands
uppercase
ENH: add a status message in case pkgconfig didn't find the package (sync
with the one from KDE)

Alex
2008-08-16 07:01:49 -04:00
Bill Hoffman 0ea69917d9 ENH: add platform file for bounds checker 2008-08-15 15:07:56 -04:00
Alexander Neundorf 2a31328b97 BUG: fix documentation, the variables are named LUA50_FOUND and LUA51_FOUND
(in all released versions)

Alex
2008-08-14 15:34:59 -04:00
Brad King b8fc8b324d ENH: Improve robustness of compiler INFO strings
Compiler INFO strings built at preprocessing time encode information
that must appear as a string literal in the resulting binary.  We must
make sure the strings appear in the final binary no matter what compiler
and flags are used.  The previous implementation worked in most places
but failed with the GNU linker's --gc-sections option which managed to
discard the string.  Instead we make the program return value depend on
an element of the string indexed by a runtime program parameter, which
absolutely requires the string to be present.
2008-08-07 09:09:45 -04:00
Brad King 397336a244 ENH: Add preprocessor and assembly rules for Intel 2008-08-06 16:05:01 -04:00
Alexander Neundorf c2348da286 BUG: fix #7452, bad closing ENDIF() statement
Alex
2008-08-05 16:06:14 -04:00
Brad King aaa88d33a9 ENH: Build large archives incrementally
Creation of archive libraries with the unix 'ar' tool should be done
incrementally when the number of object files is large.  This avoids
problems with the command line getting too many arguments.
2008-08-04 11:37:19 -04:00
Miguel A. Figueroa-Villanueva 6cdbaf1422 STYLE: Fixed module list in documentation; Magick should be MagickCore. 2008-08-01 20:38:37 -04:00
David Cole bab77e53e3 BUG: Fix issue #6610. Use 64-bit system binaries when using the 64-bit MSVC compiler. Thanks to Clinton Stimpson for the patch. 2008-07-30 15:43:14 -04:00
Bill Hoffman d34068e2d4 BUG: #7416 fix error when jpeg is not found 2008-07-29 16:41:29 -04:00
Douglas Gregor f0dac4d017 BUG: Be more careful with Boost_MINOR_VERSION in FindBoost module 2008-07-28 15:40:04 -04:00
Douglas Gregor c2a782a621 BUG: Work around Boost 1.36.0 bug fix on Darwin by setting the mangled compiler name to -xgccVERSION 2008-07-28 14:33:40 -04:00
Miguel A. Figueroa-Villanueva 363727f600 ENH: Updated FindImageMagick to:
- Find newer additions such as animate, compare, etc.
- Find development api: Magick++, MagickCore, MagickWand
- Use FindPackageHandleStandardArgs to output standard messages.
2008-07-23 02:47:36 -04:00
Bill Hoffman 8aae78d204 ENH: change to correct line feed 2008-07-22 13:35:07 -04:00
Bill Hoffman 87f3a15a80 ENH: change to correct line feed 2008-07-22 13:34:09 -04:00
Alin Elena a57fc5585a ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so now you have three new variables BLA_VENDOR (you can specify the VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95 (gets the fortran 95 interface). BLA_VENDOR can be specified as an environment variable. Intel mkls libs need FindThreads to be found correctly so you will need to enable the C/CXX 2008-07-22 07:15:31 -04:00
Bill Hoffman 7183a632f0 ENH: get out of module if no fortran 2008-07-21 15:34:11 -04:00
Bill Hoffman e1a2c08628 ENH: this should fail only if required is sent to find package 2008-07-21 15:11:03 -04:00
Alin Elena 834dd533ed ENH: checks if Fortran is enbaled. If not an error message is produced. 2008-07-21 13:40:31 -04:00
Alin Elena dbb89f47aa ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to check the existence of a file
ENH: Modules/FindLAPACK.cmake returns the full list of libraries required to link against Lapack
2008-07-21 04:56:26 -04:00
Alexander Neundorf fdd99aa361 BUG: #7333, search dirs for Fedora
Alex
2008-07-20 15:50:13 -04:00
Alexander Neundorf ef2424c9da BUG: #7360: add support for FreeBSD
BUG: #7345: add support for ppc

Alex
2008-07-20 15:45:49 -04:00
Alexander Neundorf f889f9e35f BUG: fix #6416: provide JNI_LIBRARIES and JNI_INCLUDE_DIRS
Alex
2008-07-20 15:39:02 -04:00
Douglas Gregor fa458957ab ENH: Use the HINTS feature of find_library to find the right libraries for
MPI, and act a bit more intelligently when MPI cannot be found.
2008-07-18 08:17:23 -04:00
Douglas Gregor 89a39b48c3 ENH: FindBoost can now find the upcoming Boost 1.46 2008-07-14 13:52:53 -04:00
Miguel A. Figueroa-Villanueva 8adb6b9be2 ENH: Improved support for finding wxWidgets in MinGW environment. 2008-07-13 18:06:22 -04:00
Brad King 4e5e3161a3 BUG: Fix dylib versioning flags for old OSX.
- ld flags -dylib_compatibility_version and -dylib_current_version
    are libtool flags -compatibility_version and -current_version
  - OSX 10.3 does not like the dylib_ prefixes.
2008-07-09 17:45:45 -04:00
David Cole 71f61636b6 ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 13:38:56 -04:00
Brad King 0d54001276 ENH: Set version info for shared libs on OSX.
- Map SOVERSION major.minor.patch to compatibility_version
  - Map VERSION major.minor.patch to current_version
  - See issue #4383.
2008-07-09 10:09:46 -04:00
David Cole 83ec8c3593 ENH: Further refinement of the CPack components functionality from Doug Gregor.
Details:
==========

 - New cpack_add_component, cpack_add_component_group, and
cpack_add_install_type "commands" defined as macros in the CPack
module.
 - Documentation for all of the variables and commands in the CPack module.
 - Added get_cmake_property(... COMPONENTS) to CMake to ask for the
names of all components. Used in the CPack module to automatically
build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to
turn off component-based installation).
 - A group can declare its PARENT_GROUP, to build an arbitrary
hierarchy of groups.
 - New CPack command cpack_configure_downloads, which creates an
installer that downloads only the selected components on-the-fly.
Those components marked DOWNLOADED will be separate packages
downloaded on-the-fly (or, all packages can be marked as such with the
ALL option to cpack_configure_downloads). Individual components are
compressed with ZIP at installer-creation time and
downloaded/uncompressed by the installer as needed. This feature is
only available on Windows with NSIS at the moment.
 - NSIS installers can install themselves and enable the "Change"
button in Add/Remove programs, allowing users to go back and install
or remove components. This can be disabled through
cpack_configure_downloads, because it's only really useful is most of
the application's functionality is in downloaded components.
 - Bug fix: automatically install everything whose COMPONENT was not
specified (it's a hidden, required group)
 - Bug fix: fixed removal of components when re-running the NSIS
installer and unchecking components
 - Bug fix: NSIS installers now only install/remove the minimal
number of files when re-run to update the installation (or by clicking
"Change" in Add/Remove programs)
2008-07-08 11:52:25 -04:00
Miguel A. Figueroa-Villanueva 5aa8ec2067 BUG: Add new library richtext. Reported in #7284 thanks to earith. 2008-07-06 04:57:40 -04:00
Clinton Stimpson 65ad7ba830 BUG: Watch for empty qconfig.pri files. Fixes #7287. 2008-07-05 11:57:57 -04:00
Douglas Gregor 247b7cc551 COMP: Find Boost as installed by the BoostPro/Boost Consulting installers on Windows 2008-07-03 18:19:39 -04:00
Douglas Gregor 566647d34f ENH: Cleanup FindBoost module, fixing several small bugs and providing better diagnostic information when things go wrong 2008-07-03 15:49:41 -04:00
Alexander Neundorf 0a012cc428 BUG: fix 7230: don't ignore first parameter if it's not ALL
Alex
2008-06-29 18:58:50 -04:00
Bill Hoffman c59603f48e BUG: don't run KDE4_KDECONFIG_EXECUTABLE if it is notfound 2008-06-26 13:14:28 -04:00
Bill Hoffman 6b12da90ea ENH: undo optional because we need it 2008-06-24 16:47:31 -04:00
Bill Hoffman 32d4be94a9 ENH: rc is not so optional at least with 2005 and newer, as it is used to embed the manifest files 2008-06-24 15:50:17 -04:00
Bill Hoffman 2b21d8e16b ENH: make rc optional 2008-06-23 13:37:58 -04:00
Alexander Neundorf ef71462e3e BUG: modify the compiler flags only if KDE3 has actually been found
Alex
2008-06-18 19:02:20 -04:00
Alexander Neundorf 8fc2142364 STYLE: use uppercase to be consistent with the rest of the file
Alex
2008-06-18 18:57:21 -04:00
Alexander Neundorf 24e584f7a8 BUG: the variable is _KDE4_USE_FLAGS
ENH: I guess this is also true for gcc 2.95 ?

Alex
2008-06-18 16:39:46 -04:00
Bill Hoffman 14f65b3efb ENH: use correct variable 2008-06-18 12:23:50 -04:00
David Cole 79e255a7d3 ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing... 2008-06-18 09:53:29 -04:00
Bill Hoffman a2e5cb25e7 ENH: fix for findall 2008-06-18 09:22:04 -04:00
Bill Hoffman 7a977df566 ENH: try to module run test 2008-06-18 08:42:51 -04:00
Bill Hoffman 858b221c32 ENH: try to module run test 2008-06-18 08:37:32 -04:00
David Cole e8825d320b BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 2008-06-18 07:08:33 -04:00
Bill Hoffman 5991cfb42d ENH: no fatal error if not required 2008-06-17 21:46:34 -04:00
Miguel A. Figueroa-Villanueva 6eddfbdd91 ENH: Added support for MSYS as a unix style search. 2008-06-17 18:02:24 -04:00
Bill Hoffman ebe5eba1a0 ENH: make find blas work if there is no fortran compiler 2008-06-17 13:27:19 -04:00
David Cole 1105a86c52 ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:39:26 -04:00
Bill Hoffman 64498a1287 STYLE: fix indent for file 2008-06-17 11:29:25 -04:00
Alexander Neundorf e1909b9ebf BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
2008-06-16 18:37:15 -04:00
Bill Hoffman d07a4675d2 ENH: fix find module stuff for test 2008-06-16 15:19:44 -04:00
Miguel A. Figueroa-Villanueva 6c97713a27 BUG: Fix so that MinGW use win32_find_style (6478). Also, consolidated search styles selection into a single variable, so that they are mutually exclusive. 2008-06-16 14:15:52 -04:00
Miguel A. Figueroa-Villanueva 973b03994a BUG: Fixed incorrectly matched FOREACH (7008). 2008-06-13 16:33:29 -04:00
Brad King e2ec3b671b ENH: Cleanup Find* modules with new HINTS feature
- The find_* commands now provide a HINTS option.
  - The option specifies paths to be preferred over the system paths.
  - Many Find* modules were using two find calls with NO_DEFAULT_PATH
    to approximate the behavior, but that blocked users from overriding
    things with CMAKE_PREFIX_PATH.
  - This commit uses the HINTS feature to get desired behavior in
    only one find command call.
2008-06-09 16:04:06 -04:00
Alexander Neundorf 0543448907 STYLE: apply patch from Thomas Klausner (NetBSD): use "=" for testing
strings for equality instead of "=="

This also matches what the man page for test says
"s1 = s2       True if the strings s1 and s2 are identical."

Alex
2008-06-09 15:50:11 -04:00
Clinton Stimpson dcdcd00ffa BUG: Fix for #7118.
Relative paths going outside the current source dir resulted in badly
      placed moc source files in the build dir (or out of the build dir).
2008-06-06 01:36:39 -04:00
Clinton Stimpson 7676ac8891 ENH: Some Linux distros don't install xorg-devel, png-devel, etc... when
qt4-devel is installed.  Finding them was required to support building
      against static Qt.  Changing it so they are ignored if not found.
2008-06-03 10:29:11 -04:00
Eric Wing db59f49ecf BUG: fixed Lua50 to be Lua51 in FIND_PACKAGE_HANDLE_STANDARD_ARGS call. 2008-06-02 14:53:27 -04:00
Clinton Stimpson ec1cf2f621 ENH: Find debug libs from static Qt on Windows. 2008-05-26 11:17:45 -04:00
Bill Hoffman c3bc99d5a1 ENH: use PATHS keyword 2008-05-23 15:25:26 -04:00
Brad King 40d06f542c ENH: Extend previous patch from Mathieu Malaterre to apply override to the build tool also. 2008-05-21 14:02:40 -04:00
Clinton Stimpson db52ce45fa ENH: Make Qt not found if the QtCore library can't be found.
Also report an error when trying to use MSVC with Qt built by mingw.
2008-05-21 13:36:37 -04:00
Clinton Stimpson e8af880a7d ENH: Similar to how qmake does it...
Don't add compile flags for dependent modules the user didn't specify.
      But still add the link libs.  This reduces the number of
      unecessary compile flags.
2008-05-19 18:07:00 -04:00
Brad King e0b26f4aea BUG: Fixes for FindSubversion
- Split log out from Subversion_WC_INFO into Subversion_WC_LOG
  - Fix report of log info to be in <var-prefix>_WC_LAST_CHANGED_LOG
    as documented (instead of Subversion_LAST_CHANGED_LOG)
  - Fix setting of LC_ALL environment variable to be inside macro
  - Patch from Tanguy Krotoff
  - See issue #7047
2008-05-19 10:03:59 -04:00
Brad King 1203774d52 ENH: Add basic flags for Portland Group fortran compiler. 2008-05-17 17:35:35 -04:00
Brad King c1b8ad4e1d ENH: Allow users to specify a custom Info.plist template
- Create MACOSX_BUNDLE_INFO_PLIST target property to specify template.
  - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default.
  - See issue #6983.
2008-05-17 12:53:56 -04:00