Commit Graph

1857 Commits

Author SHA1 Message Date
David Cole c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
Brad King d2f27558df STYLE: Fix if/endif mismatch in FindKDE4 2009-01-21 09:49:37 -05:00
Philip Lowman 163af93449 BUG: Fix detection of boost libraries without any compiler encoding (e.g.
Gentoo 1.37 system installed boost).  Fixes issue #8404 reported on mailing
list.
2009-01-19 22:51:27 -05:00
Philip Lowman 47588ac8d0 BUG: Fixes Issue #8054 and more. DOXYGEN_DOT_FOUND now exists, errant
mark_as_advanced variables removed, documentation cleaned up and OSX stuff
isolated to it's own section, support added for DOXYGEN_SKIP_DOT, support
added to call FindPackageHandleStandardArgs to avoid output on every CMake
run.
2009-01-19 22:28:09 -05:00
Philip Lowman 4dae139ad4 BUG: Missing "icpc" as a possible CXX compiler for Intel C++. Also refactored
gcc -dumpversion code and regex to a function.
2009-01-19 21:30:04 -05:00
Philip Lowman 9aaa9f7529 BUG: Switch FindBoost.cmake to use CMAKE_COMPILER_IS_GNUCXX (Issue #8398) 2009-01-19 19:21:10 -05:00
Philip Lowman d1640b11de BUG: Fixed Issue #7331 Bugs in Findosg*.cmake. Also added OPENTHREADS_LIBRARIES. 2009-01-19 13:33:36 -05:00
Philip Lowman d69e68609c BUG: Reverted change made in 1.27, should be unnecessary (Issue #7508) 2009-01-19 05:14:30 -05:00
Philip Lowman b87e0687bd BUG: Resolve Issue #7508, FindBoost fails to find boost on SuSE 10.3 2009-01-19 02:35:03 -05:00
Philip Lowman ab36f5a11e ENH: Added 1.38 since it'll be out soon. More documentation and clarified examples, addressed autolinking issue on MSVC 2009-01-19 02:27:32 -05:00
Philip Lowman 6d37f93a38 BUG: Do not check for GCC version encoding in filenames on Boost libraries prior to 1.35. Eliminate "lib" prefix except on MSVC. 2009-01-19 01:02:46 -05:00
Philip Lowman f7ba5a7fc8 BUG: Fixed additional issues with autodetecting compiler tags properly including Issue #6926 2009-01-18 17:19:54 -05:00
Philip Lowman ee91442a90 BUG: Fixes problem with _boost_ABI_TAG appending to itself if FindBoost is called more than once (Issue #7460) 2009-01-18 16:40:53 -05:00
Philip Lowman d077940f94 STYLE: minor cleanup 2009-01-18 15:53:45 -05:00
Philip Lowman c4e85549c9 BUG: Removed some code which was squashing Boost_LIBRARIES on WIN32 under the auspices of forcing the user to use autolinking, but it only did this squashing on the first call to FindBoost. Subsequent calls to FindBoost would not have Boost_LIBRARIES squashed so this code was doing nothing. If you link your target_link_libraries() against dynamic boost libraries it appears from tools like Dependency Walker that the pragma calls to autolink to the static boost libraries are ignored. It's therefore too late to make this squash apply to all calls to FindBoost because that would break users that have not setup autolinking properly. For now this fix is largely cosmetic since the original code never worked anyways (see version 1.5 introduced on 4/22/08). 2009-01-18 15:41:18 -05:00
Philip Lowman 909dd8af48 BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() call since it would be useless and confusing after an initial configure. 2009-01-18 15:17:31 -05:00
Philip Lowman 5913dc1e88 BUG: Fixed superfluous and duplicate dirs in Boost_LIBRARY_DIR. Employed workaround for Issue #8378. Resolves Issue #8099 2009-01-18 14:40:48 -05:00
Philip Lowman 34b9dcc3b2 BUG: Fixed issues using FindBoost with BoostPro packaged releases. Fixed
regression for bjam users on Win32 introduced in 1.4.2.4 (7/13/08).  This
commit partially or completely resolves Issues #8173, #8326, #7943, #7725!
2009-01-16 04:07:03 -05:00
Philip Lowman 20f2a086d3 BUG: fixed bug #7529: FindBoost fails to find boost on SuSE 11.0 due to GCC
reporting version x.y and not x.y.z
2009-01-15 02:07:03 -05:00
Philip Lowman 0864c71c3b BUG: Fixes bug #8059. Also added Boost_DEBUG variable for troubleshooting. 2009-01-15 01:22:15 -05:00
Alexander Neundorf 4a6ea82257 ENH: fix #7913: find also python 2.6 on windows
Alex
2009-01-10 08:46:37 -05:00
Alexander Neundorf b4956a574a BUG: fix #8122, _firstPoFile was not empty because it was no real variable
but just a macro argument -> make it a real variable

Alex
2009-01-10 08:39:35 -05:00
Alexander Neundorf 097af4b86e STYLE: fix typo
Alex
2009-01-09 20:26:07 -05:00
Alexander Neundorf fe3945bee1 STYLE: this is not necessary anymore for kdevelop, the kdevelop generator
now generates the project so that the environment variable VERBOSE is set to
1 when make is executed by kdevelop (and additionally this didn't work,
since CMAKE_GENERATOR never matches KDevelop3, this is now in
CMAKE_EXTRA_GENERATOR)

Alex
2009-01-09 20:18:25 -05:00
Philip Lowman 206c09c4f6 BUG: Fixed CXXTEST_INCLUDE_DIRS so it will work properly with NOTFOUND.
Also eliminated superfluous CXXTEST_FOUND assignment and cleaned up the code
and added additional documentation. Tagged v1.0.
2009-01-08 04:47:40 -05:00
David Cole b640257884 BUG: Fix install_name_tool problem on the Mac when a PROJECT(... NONE) is followed by multiple calls to ENABLE_LANGUAGE. Use find_program to set the CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as a full path to the install_name_tool executable rather than a simple set which eventually goes out of scope. 2008-12-30 09:11:54 -05:00
David Cole b77d00b7f6 ENH: New location to look for "dot" 2008-12-26 12:06:38 -05:00
David Cole 5d9e78e918 ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step. 2008-12-24 10:10:40 -05:00
Miguel A. Figueroa-Villanueva 1e5d400100 BUG: Fixed placement of initial wxWidgets_FOUND=TRUE statement, which allowed
some cases to breakaway from tests without resetting to FALSE (BUG: 8188).
2008-12-24 04:31:33 -05:00
Alexander Neundorf 903b0a8150 BUG: use FindPkgConfig.cmake instead of UsePkgConfig.cmake, sync with KDE
svn and fix bug #8290

Alex
2008-12-22 03:00:08 -05:00
David Cole 468c9e250b ENH: Add the update step in between download and build. Add UPDATE_ARGS and UPDATE_COMMAND handling. Output a -complete sentinel in synch with the -install sentinel, but do not list it as an OUTPUT of the custom command. That breaks the chaining of add_custom_commands between custom targets, but allows for a file-level dependency expression that will cause proper incremental rebuilds. When earlier targets rebuild, subsequent dependent targets will also rebuild. CVS and SVN update commands are always out-of-date so that they always run to get the latest source. To suppress that behavior on a per-external project basis use an explicit empty string for UPDATE_COMMAND. The source will still be checked out from the repository prior to the update step by the download step. 2008-12-19 10:35:16 -05:00
Bill Hoffman 46feb1302c BUG: fix for #8298 look for libexpat as well 2008-12-18 21:53:56 -05:00
Brad King d5c1191349 ENH: Use 32-bit and 64-bit Program Files folders
On 64-bit Windows there may be two Program Files folders, one for 32-bit
binaries and one for 64-bit binaries.  When we compute
CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path.
2008-12-17 09:23:30 -05:00
Clinton Stimpson 515ce9315d BUG: Fix for #8247.
Add QT_TRANSLATIONS_DIR pointing to the Qt translation files, and docs for it.
      Also add docs for QT_BINARY_DIR.
2008-12-15 18:48:48 -05:00
Philip Lowman 9b9578e098 ENH: Added FindCxxTest module to assist others in using the CxxTest unit testing framework within CTest 2008-12-11 22:05:30 -05:00
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