Commit Graph

1922 Commits

Author SHA1 Message Date
David Cole 09084d89fb ENH: Default to the same cmake used for configuring when building and installing. If none specified default to the cmake used to configure the outer/aggregating project. 2008-12-09 15:31:28 -05:00
Brad Davis 5fe7b17d98 ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 17:39:30 -05:00
David Cole 98afdd0e37 BUG: Make sure all directories used as working directories exist at CMake configure time as well as having custom commands that create them. Necessary for the Borland Makefiles generator to generate short path names in the makefile build rules. Also, make sure all custom commands chain together properly through the use of the sentinel files. 2008-12-08 14:58:59 -05:00
David Cole dba2c51d90 ENH: Make it easier to use configure/make/make-install as the build steps for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors. 2008-12-05 15:18:32 -05:00
David Cole 930827d48c ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 13:27:48 -05:00
Bill Hoffman 24bff45d1b BUG: make sure list is not size 0 before sort 2008-12-04 09:12:31 -05:00
Bill Hoffman c553c29e9f ENH: fix curses on haiku 2008-12-03 16:13:17 -05:00
Bill Hoffman e87d252e95 BUG: #7904 add rpm package depend 2008-12-03 14:37:13 -05:00
Clinton Stimpson 25eeb3c47c BUG: Revert 1.138. 2008-11-25 16:56:44 -05:00
Bill Hoffman c224659b66 BUG: fix for #8089, fix rebuild with fortran and -D 2008-11-14 17:45:56 -05:00
David Cole d78eab74eb BUG: Because of Windows registry madness, we could not find the redistributables directory on Win64 builds... Add a search directory based on devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite the madness. 2008-11-13 17:12:41 -05:00
Alexander Neundorf 73117edf04 BUG: the modules shipped with cmake don't need
CMAKE_MINIMUM_REQUIRED(VERSION), because the cmake they are shipped with is
always ok. Additionally, if a Find-module does CMAKE_MINIMUM_REQUIRED(), it
changes the policies as they may be set up by the project. So this shouldn't
be done in a Find-module (or surrounded by policy-push/pop commands)

Alex
2008-11-13 16:46:08 -05:00
Christopher Harvey 00d1ffd812 ENH: Added First revision of FindDevIL.cmake 2008-11-12 12:26:53 -05:00
Bill Hoffman 619151d014 ENH: fix fortran flags on g77 windows 2008-11-11 13:58:55 -05:00
Bill Hoffman a4f04d5817 ENH: fix fortran flags on sun 2008-11-11 13:58:31 -05:00
Alexander Neundorf 73183bc215 STYLE: add some comment, so it says at least a bit what it is good for
Alex
2008-11-05 18:51:46 -05:00
Clinton Stimpson e8e4160cce BUG: Fix #7969. Fix moc output files if source dir contains regex characters. 2008-11-05 17:56:55 -05:00
Alexander Neundorf 19046aa98c ENH: add support for the MS masm and masm64 assemblers, works with nmake,
not (yet) with the Visual Studio generators

Alex
2008-11-05 17:27:41 -05:00
Clinton Stimpson 49db4e53a1 BUG: Fix #7934. phonon doesn't always depend on QtDBus. 2008-11-05 16:54:26 -05:00
Alexander Neundorf b1606e6bde STYLE: mention cdash (not only dart)
Alex
2008-11-03 16:23:43 -05:00
Bill Hoffman a8b17d9e9a ENH: fix for intel module on linux 2008-10-31 07:50:28 -04:00
Bill Hoffman b7f75016a6 ENH: better output if module linkage is not found 2008-10-30 17:48:03 -04:00
Bill Hoffman 6066a3fca6 ENH: fix uppercase version so defines are not upper as well 2008-10-30 16:50:12 -04:00
Bill Hoffman c0e7bcd4ae ENH: fix check for intel windows module mangling 2008-10-29 19:49:18 -04:00
Bill Hoffman 574530c07d ENH: fix check for intel windows module mangling 2008-10-29 19:34:12 -04:00
Bill Hoffman 4dd0afd069 ENH: add check for intel windows module mangling 2008-10-29 17:40:35 -04:00
Bill Hoffman ae70a5b327 ENH: add check for intel windows module mangling 2008-10-29 17:40:05 -04:00
Bill Hoffman 5995ff36df ENH: fix upper case 2008-10-29 17:37:01 -04:00
Bill Hoffman 351ef7c187 ENH: only check for module linkage if f90 is available 2008-10-29 12:24:07 -04:00
Bill Hoffman 4cb360afd2 ENH: fix for xlf module linkage 2008-10-29 11:50:20 -04:00
Bill Hoffman 84a4222314 ENH: add test for FortranCInterface 2008-10-29 10:58:40 -04:00
Bill Hoffman 3155ff600d ENH: add support for g77 extra _ at the end of functions that have an _ in the name... 2008-10-28 19:53:54 -04:00
Bill Hoffman 2866984b4d ENH: add support for module functions 2008-10-27 21:42:41 -04:00
Bill Hoffman 3a97e4699c ENH: add fortran link discovery module 2008-10-27 15:23:14 -04:00
Petr Gotthard fce34113e0 BUG: Fixed CMAKE_FIND_LIBRARY_PREFIXES related error on Win32 systems. 2008-10-27 05:23:54 -04:00
Petr Gotthard de25f5d131 BUG: removed unused CMakeFindFrameworks include 2008-10-25 14:25:33 -04:00
Petr Gotthard d572f60ba4 ENH: added a module to find M&S HLA RTI 2008-10-25 12:20:03 -04:00
Clinton Stimpson 66db462bbe BUG: Fix find of assistant on Mac. 2008-10-24 17:48:35 -04:00
David Cole 86ded1ba58 ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for finishing it off. 2008-10-24 11:39:10 -04:00
Clinton Stimpson f33943036e BUG: Fix regression in finding QtAssistant 2008-10-20 13:31:50 -04:00
Miguel A. Figueroa-Villanueva 0325639f30 BUG: Fix to find wxWidgets_LIB_DIR for windows platform more generally;
supports gcc, nmake, and visual studio in all configurations.
2008-10-20 11:50:04 -04:00
Miguel A. Figueroa-Villanueva a003ac39d3 BUG: Added unicode paths for wxWidgets_LIB_DIR search and the 2.8.9 suffix for wxWidgets_ROOT_DIR search. 2008-10-19 21:14:55 -04:00
Clinton Stimpson b82eb2b9b3 ENH: better way to find uic and moc. 2008-10-15 18:05:07 -04:00
Bill Hoffman e099dccf4b ENH: remove extra set 2008-10-15 10:49:54 -04:00
Bill Hoffman 9d9582ffef ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
Bill Hoffman 9430c3f335 ENH: better error message for mis-configured nmake environment 2008-10-14 11:42:45 -04:00
Clinton Stimpson 9b2744f6fe ENH: When changing the qmake pointed to, re-find all of Qt's includes, libraries, etc...
This makes it much easier to switch between Qt versions.
2008-10-13 22:12:54 -04:00
Clinton Stimpson ca8c4ea4a6 BUG: Fix find of dbus dependency in Qt 4.4 2008-10-13 19:39:47 -04:00
David Cole f1f168371a BUG: Fix for issue #5193. Base result of FindMFC.cmake mostly on a TRY_COMPILE result. Gives accurate answer about whether MFC is available. 2008-10-10 17:43:56 -04:00
Brad King db4f2bdffc BUG: Avoid boost versions less than required
Construction of a list of candidate versions used to produce search
paths now discards versions less than requested by the user.
See issue #7783.
2008-10-09 17:04:11 -04:00
Brad King 7876a5098b BUG: Pass definitions to rc with Makefiles
The build rule to run the resource compiler on Windows with a Makefiles
generator should include the placeholder to add the definition flags.
See issue #7769.
2008-10-09 13:52:30 -04:00
Clinton Stimpson db0e1fd675 ENH: Fix #7784. Fix link of glib when needed. 2008-10-07 10:35:22 -04:00
Bill Hoffman 9d6cec87e0 BUG: fix for 5705, link in standard libs for mingw 2008-10-02 12:11:02 -04:00
Bill Hoffman 12be7c21d0 ENH: find perl with FindPerl not find_program, bug: 6243 2008-10-01 16:10:45 -04:00
Bill Hoffman ad63a47d02 BUG: fix for 7451 2008-10-01 14:19:20 -04:00
Bill Hoffman 6a1a1b632d BUG: fix for bug 4772, enable_language should now work on linux with correct flags 2008-10-01 13:24:51 -04:00
Bill Hoffman 3677e5b233 BUG: fix for 7746 2008-09-26 20:09:26 -04:00
Bill Hoffman cf5609221b BUG: fix for 7704 2008-09-25 17:02:06 -04:00
Clinton Stimpson 33e87980cb ENH: Fix #7433. Put list of files in a .pro file and call lupdate on it,
instead of putting the list of files on the command line.
2008-09-22 15:00:31 -04:00
Clinton Stimpson ae9f9e6994 BUG: remove debug statements. 2008-09-22 14:00:37 -04:00
Brad King 434a99bbeb ENH: Teach find_library to find OpenBSD-style libs
OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do
not have a symlink with just a ".so" extension.  Its "ld" is capable of
finding the library with the best version.  This change adds support for
finding such libraries.  See issue #3470.
2008-09-22 11:08:17 -04:00
Bill Hoffman 924fae24cf BUG: 7435, remove warning for not setting DESTDIR 2008-09-22 09:56:24 -04:00
Bill Hoffman d07fefc9ee BUG: 7435 fixes to add optional post-install 2008-09-19 17:45:37 -04:00
Bill Hoffman 2394760388 ENH: try to make this work if ncurses lib is found bug not the ncurses header 2008-09-18 15:23:00 -04:00
Clinton Stimpson 139cae931e ENH: For #7433, add a bit more documentation and add ability
to specify extra flags to lupdate.
2008-09-18 10:56:58 -04:00
Matthew Leotta 20141bea1a ENH: added a module to find Coin3D 2008-09-17 14:29:18 -04:00
Brad King 79a3807340 BUG: Fix FindBoost versioned find
To locate the boost include directory, all search paths and versioned
path suffixes should be passed to one call of FIND_PATH.  Previously the
test for one version would find an unversioned system boost even when
the user set BOOST_ROOT (since the NO_DEFAULT_PATH option is not used).
See issue #7456.
2008-09-16 10:30:32 -04:00
Bill Hoffman 64fc597de2 ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
Bill Hoffman 0e5319f21d BUG: fix for 6586, set THREADS_FOUND 2008-09-11 11:41:00 -04:00
Brad King 994262e5cc ENH: Improve find_package version numbering
Make the number of version components specified explicitly available.
Set variables for unspecified version components to "0" instead of
leaving them unset.  This simplifies version number handling for find-
and config-modules.  Also support a fourth "tweak" version component
since some packages use them.
2008-09-10 10:11:48 -04:00
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
Brad King 5515515086 ENH: Add Linux-PGI-Fortran platform file to support the Portland Group Fortran compiler (PGI). 2008-05-16 17:56:43 -04:00
Brad King 0c6ba12efd ENH: Teach Fortran compiler identification about the Portland Group compiler (PGI). 2008-05-16 17:50:24 -04:00
Alexander Neundorf 3e6decf312 BUG: make the toolchain-prefix recognition work with prefixes which contain
dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to
the 6, instead of everything in front of the .exe

Alex
2008-05-15 12:07:43 -04:00
Bill Hoffman 8d88da106f BUG: if CPACK_NSIS_MODIFY_PATH was OFF then the PATH was automatically modified 2008-05-13 16:57:49 -04:00
Alexander Neundorf 83c3bf7acc STYLE: use IF(NOT ...) instead of IF() ELSE() ... ENDIF()
Alex
2008-05-12 18:11:42 -04:00
Alexander Neundorf 3a738a49c3 BUG: fix #6375: print the variables which were not found, so it's easier to
see what went wrong

Alex
2008-05-11 05:12:16 -04:00
Alexander Neundorf b837ade944 BUG: fix #6993
FindCurses.cmake is now almost exactly reverted back to the state when
CURSES_LIBRARY and CURSES_INCLUDE_PATH where set for compatibility but not
in the cache. It is important that CURSES_CURSES_LIBRARY and
CURSES_NCURSES_LIBRARY really contain the path to these files.
Later on CURSES_LIBRARY is set to the one of the two which will be
used as curses library. This is now done in the cache, without FORCE.
So preloading the cache still seems to work (at least what I tested).

Alex
2008-05-10 19:07:47 -04:00
Douglas Gregor a1f1b712c5 BUG: Fix FindBoost version variable names to correct bug in Boost version detection 2008-05-09 21:26:57 -04:00
Clinton Stimpson f4a299a11f ENH: Qt/Mac binary install puts QtCLucene library in a different place than the
normal Qt frameworks.  Let's find it.
2008-05-09 11:50:56 -04:00
Clinton Stimpson 30ff492aad ENH: Allow finding phonon and QtDBus on Mac. Fixes #6950. 2008-05-03 17:55:05 -04:00
Sebastien Barre 7dd720cebb ENH: X11_SM_LIB should be advanced as well 2008-05-03 15:27:40 -04:00
Bill Hoffman 36cf25e6a2 ENH: recognize vs 9 and possible 10 or greater when they come out... 2008-05-02 11:25:25 -04:00
Brad King 80d045b01e ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output. 2008-05-01 18:49:31 -04:00
Bill Hoffman 637596a157 BUG: remove typo 2008-04-30 15:53:33 -04:00
Bill Hoffman e29ca248a3 BUG: fix for 6918 ncurses should work without curses 2008-04-30 15:42:48 -04:00
Brad King a56e04593a ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link directories on the Sun when using the SunPro compiler. 2008-04-30 14:13:11 -04:00
Bill Hoffman e1b2fb4c75 ENH: add more fortran flags 2008-04-30 11:33:54 -04:00
Bill Hoffman d4fdbeed64 ENH: allow users to set sysroot 2008-04-28 13:53:14 -04:00
Alexander Neundorf 9b02cf44a6 ENH: remove FindKDE.cmake, which was obsolete (i.e. disabled using SEND_ERROR) since cmake 2.4.0, agreed by Bill
Alex
2008-04-27 11:41:29 -04:00
Alexander Neundorf 7500dd50ef BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
2008-04-27 07:35:21 -04:00
Alexander Neundorf 4f961bce0a BUG: don't use CMAKE_MINIMUM_REQUIRED() in find modules, it can change the
policy settings done in the projects cmake files (and it doesn't make sense
since it is always part of the correct cmake version)

Alex
2008-04-26 13:25:07 -04:00
Bill Hoffman 779a2abda3 ENH: allow users to turn off extra checks 2008-04-25 10:47:34 -04:00
Bill Hoffman 7c6c8fc365 ENH: remove c flags from cxx config file 2008-04-25 09:49:42 -04:00
Bill Hoffman 764229b5a2 ENH: rename Linux-ifort to Linux-Intel-Fortran 2008-04-25 09:43:01 -04:00
Bill Hoffman 5f68965608 ENH: make sure all required headers are checked before checking type size 2008-04-25 09:09:06 -04:00
Bill Hoffman 6482d38bdf ENH: do not clear find variables 2008-04-25 09:07:02 -04:00
Bill Hoffman 0bc5e03dce ENH: do not force the intel ar on C from CXX 2008-04-24 22:00:08 -04:00
Bill Hoffman a3e1dde968 ENH: support intel compiler on linux 2008-04-24 21:54:13 -04:00
Douglas Gregor 629620f9d4 ENH: FindBoost always sets Boost_LIBRARY_DIRS when it finds the Boost libraries 2008-04-22 13:32:07 -04:00
Douglas Gregor d278ba74b5 ENH: Integrated FindBoost improvements changes from Andreas Pakulat, Mike Jackson, and myself 2008-04-22 13:14:51 -04:00