David Cole
75fb6798ab
BUG: Remove unnecessary double quotes from SET statements. Hopefully resolves the strange and difficult to diagnose (or reproduce) test failures on the dashmacmini2 Continuous dashboard.
2009-01-29 14:57:38 -05:00
Brad King
7ca59f1724
BUG: Fix OS X dylib version flags for more linkers
...
Some OS X linkers want a 'dylib_' prefix on the -compatiblity_version
and -current_version flags while others do not. This passes the flags
through gcc instead since it never wants the prefix and translates the
flags for the linker correctly.
2009-01-29 13:41:58 -05:00
Clinton Stimpson
f9710e22ec
ENH: Also find .moc files if there are spaces between # and include.
...
Fixes #8433 .
2009-01-29 13:26:01 -05:00
Bill Hoffman
9b0fe5738b
BUG: fix for # 8413 add more haiku searching
2009-01-29 11:42:07 -05:00
Philip Lowman
6f000b55c9
STYLE: Reworded some of the OS-X code comments
2009-01-28 22:56:38 -05:00
Clinton Stimpson
26238d7d9a
ENH: Better way to add framework includes.
2009-01-28 15:04:52 -05:00
Bill Hoffman
d38c0de82f
ENH: clean up status and change order for more common compilers first
2009-01-28 12:55:06 -05:00
Bill Hoffman
0dd0e2d6e6
ENH: add openmp support
2009-01-28 12:45:03 -05:00
David Cole
2cd839142d
BUG: Fix careless typo that only caused test failures on clean builds...
2009-01-28 06:10:12 -05:00
David Cole
9e3705b5b8
BUG: Try to fix the universal binary continuous dashboard on dashmacmini2. I am deducing that the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for the failure, although I cannot reproduce it on other builds or even by running the test via ctest interactively *on* the continuous dashboard's build...
2009-01-27 15:51:43 -05:00
David Cole
2853326e7a
BUG: Only set CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc that runs on 10.3 and earlier does not understand the compiler flag it maps to...
2009-01-27 11:50:41 -05:00
David Cole
1dee719cdc
BUG: Fix issue #6195 . Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
2009-01-27 10:30:55 -05:00
Clinton Stimpson
aad46d7989
BUG: Fixed recent regression when finding some includes.
2009-01-26 10:12:37 -05:00
Clinton Stimpson
f1916357f2
ENH: Should have a -F for framework includes on Mac. Fixes ParaView build with Qt 4.5 on Mac.
2009-01-23 17:37:44 -05:00
Clinton Stimpson
b2d52b07ad
ENH: Add convenience for identifying Cocoa based Qt.
2009-01-23 16:52:15 -05:00
David Cole
c58f2a5830
ENH: Turn off CPACK_BINARY_TBZ2 and CPACK_BINARY_ZIP by default. Strictly speaking, this changes behavior from cpack 2.6, but now that cpack returns a non-zero exit code when it encounters an error, and it is an error to try to use a generator that is not available... It makes sense to turn these off by default since not everybody has these generators installed. It is easy for a project to turn these options back on if they need to: simply set(CPACK_BINARY_TBZ2 ON) or set(CPACK_BINARY_ZIP ON) before include(CPack) in your CMakeLists.txt...
2009-01-23 13:36:22 -05:00
Philip Lowman
138c445781
ENH: Better support for "fltk-config" binary, added options so the user
...
doesn't have to have everything in order for FLTK_FOUND to be true. #7809
2009-01-23 00:30:22 -05:00
David Cole
3a4f76949a
BUG: Fix issue #8402 . Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
2009-01-22 12:12:44 -05:00
Philip Lowman
7939529d0c
BUG: Fixes detection of FLTK on Gentoo (Issue #7809 )
2009-01-21 23:52:37 -05:00
Philip Lowman
570d6b4aa9
BUG: Fixes #8376 : FindFLTK fails because include file can be FL/Fl.H and CMake
...
only looks for FL/Fl.h. Verified: all FLTK header files in 1.1.9 are .H ...
how bizarre.
2009-01-21 22:43:22 -05:00
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