Commit Graph

2052 Commits

Author SHA1 Message Date
Alexander Neundorf e16d1e37f3 ENH: add one more search directory (see #8919)
Alex
2009-04-21 17:09:29 -04:00
Alexander Neundorf 879f2f98fe STYLE: fix typos in the docs
Alex
2009-04-19 12:47:01 -04:00
Bill Hoffman ad113d4df2 BUG: fix cmake so that if you configure with a bad env for cl, then with a good path, it will configure correctly 2009-04-18 14:37:04 -04:00
Bill Hoffman be7824c369 ENH: make sure CTEST_CURL_OPTIONS work from script mode 2009-04-17 14:44:01 -04:00
Philip Lowman 63a1e45076 ENH: New function for determining Visual Studio service pack 2009-04-14 00:50:23 -04:00
Bill Hoffman 4ec691a9d1 ENH: add ability to control ssl cert checking 2009-04-10 12:15:03 -04:00
Brad King 68248be52e ENH: Allow lists in AddExternalProject arguments
The add_external_project function separates its arguments with ';'
separators, so previously no command line argument could contain one.
When specifying CMAKE_ARGS, some -D argument values may need to contain
a semicolon to form lists in the external project cache.

This adds add_external_project argument LIST_SEPARATOR to specify a list
separator string.  The separator is replaced by ';' in arguments to any
command created to drive the external project.  For example:

  add_external_project(...
    LIST_SEPARATOR ::
    CMAKE_ARGS -DSOME_LIST:STRING=A::B::C
    ...)

passes "-DSOME_LIST:STRING=A;B;C" to CMake for the external project.
2009-04-09 13:56:08 -04:00
David Cole 698cf0c886 BUG: Fix issue #8682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue #7881, too. 2009-04-07 15:31:51 -04:00
David Cole a20b1ecabc BUG: Fix issue #8804. Add vtk-5.4 lib path to the FindVTK.cmake module. 2009-03-31 16:15:55 -04:00
Brad King a30b84e4cc BUG: Fix AddExternalProject config command id
This fixes the get_configure_command_id function to not mistake
CONFIGURE_COMMAND values that run "cmake -P" or "cmake -E" for a CMake
project configuration.  These values just help run scripts.
2009-03-31 10:13:01 -04:00
Brad King 88184bb698 ENH: Simpler AddExternalProject install step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:43 -04:00
Brad King bf09570615 ENH: Simpler AddExternalProject build step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:26 -04:00
Brad King f3ba510a65 ENH: Simpler AddExternalProject configure step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:05 -04:00
Brad King 385eb4dea7 ENH: Simpler AddExternalProject patch step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:50 -04:00
Brad King aa7e41c16e ENH: Simpler AddExternalProject update step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:29 -04:00
Brad King feef81b34f ENH: Simpler AddExternalProject download step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:03 -04:00
Brad King d2175580e7 ENH: Generalize AddExternalProject step creation
This creates function 'add_external_project_step' to centralize creation
of external project steps.  Users may call it to add custom steps to
external project builds.
2009-03-30 11:36:32 -04:00
Brad King c45c862ef4 ENH: Factor argument parsing in AddExternalProject
The add_external_project function parses its arguments and puts them in
properties of the target it creates.  This factors out implementation of
the behavior for use by other functions in the module.
2009-03-30 11:35:50 -04:00
Brad King 5bc6869551 ENH: Teach AddExternalProject a 'complete' step
This separates creation of the project completion sentinel file from the
'install' step to allow more steps to be added in between later.
2009-03-30 11:35:22 -04:00
Alexander Neundorf 9b8281eadc ENH: mark the two variables as advanced
-remove unnecessary deault search dirs

Alex
2009-03-27 17:11:38 -04:00
Clinton Stimpson ff561cd1d3 ENH: Do a recheck of QT_MAC_USE_COCOA when qmake executable changes. 2009-03-26 11:04:18 -04:00
Clinton Stimpson 6a6ade8de2 ENH: Support OUTPUT_LOCATION property for qm files.
Fixes #8492.
2009-03-25 15:29:46 -04:00
Philip Lowman 45a3397bac ENH: NEW: FindGTK2 module 2009-03-22 17:13:31 -04:00
Philip Lowman 1a0512b061 BUG: LIST(REMOVE_ITEM...) was being called on a variable that could be empty. 2009-03-20 23:52:32 -04:00
Clinton Stimpson 55a6042d9c BUG: Need to fix find of qtmain library when qmake executable is changed. 2009-03-19 15:44:54 -04:00
Brad King 566c8bb15b STYLE: Reminder note for add_external_project work 2009-03-18 11:01:25 -04:00
Brad King 2cc46c12f8 ENH: Add patch step for add_external_project
The patch step runs parallel to the update step since it does not make
sense to have both.  Configuration of the step requires specification of
a PATCH_COMMAND argument to add_external_project.
2009-03-18 11:01:02 -04:00
Brad King 6ae0ff626a ENH: Improve add_external_project interface
This rewrites the keyword/argument parsing and handling in the
AddExternalProject module to use arguments more literally:

  - The strict keyword-value pairing is gone in favor of keywords with
    arbitrary non-keyword values.  This avoids requiring users to escape
    spaces and quotes in command lines.

  - Customized step command lines are now specified with a single
    keyword <step>_COMMAND instead of putting the arguments in a
    separate entry (previously called <step>_ARGS).

  - Build step custom commands now use VERBATIM mode so that arguments
    are correctly escaped on the command line during builds.
2009-03-18 11:00:30 -04:00
Philip Lowman 10da3f74ea BUG: Eliminates detection of Boost system library prior to 1.35 (see issue #8734) 2009-03-16 22:28:35 -04:00
Brad King 493f88ce55 ENH: Allow projects to disable per-rule echo lines
This creates global property RULE_MESSAGES which can be set to disbale
per-rule progress and action reporting.  On Windows, these reports may
cause a noticable delay due to the cost of starting extra processes.
This feature will allow scripted builds to avoid the cost since they do
not need detailed information anyway.  This replaces the RULE_PROGRESS
property created earlier as it is more complete.  See issue #8726.
2009-03-16 16:55:58 -04:00
Brad King 2f651c2e59 ENH: Allow projects to disable per-rule progress
This creates global property RULE_PROGRESS which can be set to disbale
per-rule progress reporting.  On Windows, progress reports may cause a
noticable delay due to the cost of starting an extra process.  This
feature will allow scripted builds to avoid the cost since they do not
need detailed progress anyway.  See issue #8726.
2009-03-16 16:22:19 -04:00
Alexander Neundorf cbb7a509e8 ENH: when using the Eclipse project generator, run gcc so that it tells us
its system include directories. These are catched in CMakeSystemSpecificInformation.cmake
(only with the Eclipse generator) and then written by the Eclipse generator
in the Eclipse project file. This way Eclipse can find the standard headers
(#7585)
Not sure CMakeSystemSpecificInformation.cmake is the best place to do this.

Alex
2009-03-13 16:52:58 -04:00
Philip Lowman cd3984eea3 STYLE: Moved functions/macros to top of file so main is more readable. 2009-03-12 21:06:08 -04:00
Alexander Neundorf 8d5b090188 STYLE: fix documentation: the second short description discarded the first
one, but the first one was the correct one (i.e. the one which mentioned
that CheckC[XX]SourceRuns.cmake also tries to run the executable)

Alex
2009-03-11 18:13:53 -04:00
David Cole 6d242ca2dc STYLE: Use $ style variable dereference instead of @ style. 2009-03-05 10:08:03 -05:00
Bill Hoffman f9dd6a38c5 ENH: add file back bug use cmake image 2009-03-04 12:30:23 -05:00
Brad King ba5cbf0fb1 ENH: Better recursive make in AddExternalProject
This teaches AddExternalProject to run "$(MAKE)" for build and install
steps of CMake-based external projects when using a Makefile generator.
It allows the external project to participate in a parallel make invoked
on the superproject.
2009-03-04 11:45:42 -05:00
Brad King 726114077d ENH: Allow empty arguments in external project API
This uses the get_property command to simplify property lookup in the
AddExternalProject module.  It distinguishes for build and install
argument properties the cases of unset and set to empty.
2009-03-04 09:21:16 -05:00
Bill Hoffman 5308afa3f7 ENH: remove unused file 2009-03-03 07:56:44 -05:00
Philip Lowman feb21f1dc0 STYLE: Fix documentation bug regarding Boost_<COMPONENT>_LIBRARY (COMPONENT
should be uppercase).
2009-03-02 21:09:36 -05:00
Philip Lowman f0edae98ea ENH: Detect perl & python scripts based on CXXTEST_INCLUDE_DIR (patch from
Tyler Roscoe on mailing list).
2009-03-02 20:29:38 -05:00
Brad King 19d9c824a8 BUG: Fix ASM source file extension default list
This replaces @ASM_DIALECT@ syntax with ${ASM_DIALECT} syntax so it will
be replaced correctly.  Patch from Derek Bruening.  See issue #8639.
2009-02-27 13:08:05 -05:00
Miguel A. Figueroa-Villanueva 3dce55fde0 BUG: Fix copy/paste error in previous commit that references wrong variable
(wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS).
2009-02-25 17:17:34 -05:00
Alexander Neundorf bc8f2f50a8 ENH: add patch from Debian, which adds support lrelease-qt4 and lupdate-qt4
http://patch-tracking.debian.net/patch/series/view/cmake/2.6.3-1/FindQt4_qt4_lupdate_lrelease.diff

Alex
2009-02-25 16:29:29 -05:00
Brad King cb788e8f6d ENH: Re-enable system include dir suppression
This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to
specify implicit include directories on a per-language basis.  This
replaces the previous platform-wide variable.  It is necessary to
avoid explicit specification of -I/usr/include on some compilers
(such as HP aCC) because:

  1.) It may break ordering among system include directories defined
      internally by the compiler, thus getting wrong system headers.
  2.) It tells the compiler to treat the system include directory
      as a user include directory, enabling warnings in the headers.

See issue #8598.
2009-02-25 11:44:46 -05:00
Miguel A. Figueroa-Villanueva cf55e01ada BUG: Using PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only preprocessor options (e.g., _DEBUG __WXDEBUG__). 2009-02-24 16:49:15 -05:00
Brad King 39f8b91125 BUG: Remove implicit include dir suppression
We used to suppress generation of -I/usr/include (and on OSX also
-I/usr/local/include).  This behavior seems to cause more trouble than
it's worth, so I'm removing it until someone encounters the original
problem it fixed.  See issue #8598.
2009-02-24 15:37:09 -05:00
Philip Lowman a58e183636 BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers. 2009-02-24 00:49:01 -05:00
Clinton Stimpson 08ca8f5053 ENH: Support COMPONENTS argument to find_package().
See bug #8542.
2009-02-19 16:04:57 -05:00
Clinton Stimpson abdcf91422 ENH: Support version argument in find_package().
See bug #8542.
2009-02-19 15:51:43 -05:00
David Cole 553ddde8d1 BUG: Allow third component of Mac OSX sw_vers output to be empty. Mac OSX 10.5 was recently reinstalled on dashmacmini3 and pointed out the fact that this expression is faulty when the reported version is simply 10.5 rather than 10.5.x... for example. This fixes it. 2009-02-17 16:59:58 -05:00
Brad King 0d34d44917 STYLE: Note find_package COMPONENTS in modules doc
This mentions the COMPONENTS option of find_package in the module author
documentation file "Modules/readme.txt".  See issue #8539.
2009-02-16 10:33:09 -05:00
Clinton Stimpson 2b4a472e81 ENH: Allowing finding a relocated Qt installation which contains a qt.conf to override the hardcoded paths in qmake.
Fixes #8532.
2009-02-13 18:52:02 -05:00
Brad King 0e067ad3d1 ENH: Create include(CTest) launcher interface
This defines a new CTest configuration variable CTEST_USE_LAUNCHERS.
When set to true it puts 'ctest --launch' in RULE_LAUNCH_* properties
and enables the CTest configuration option 'UseLaunchers'.  Currently
this works only for Makefile generators.
2009-02-11 15:18:13 -05:00
Clinton Stimpson 54e258414d ENH: Change FILEPATH to STRING for a list of libraries. 2009-02-10 18:13:24 -05:00
Bill Hoffman 016d17f0cb ENH: change include command 2009-02-10 12:56:32 -05:00
Brad King b604b98c56 ENH: Define RULE_LAUNCH_* properties
This defines global, directory, and target properties
RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM.  Their
values specify 'launcher' command lines which are prefixed to compile,
link, and custom build rules by Makefile generators.
2009-02-10 08:51:15 -05:00
Philip Lowman 39888c4ae1 STYLE: Clarified example to illustrate need to call target_link_libraries() in response to Issue #8485. Changed CMake commands to lowercase. Added licensing info to copyright 2009-02-09 23:05:38 -05:00
Philip Lowman 17656ace03 BUG: Resolves Issue #8393, Remove workarounds in FindBoost once UNC-Path bug
is fixed
2009-02-09 22:39:31 -05:00
Philip Lowman cae2da8d16 STYLE: Improved examples, spelling & grammar in documentation 2009-02-09 22:34:13 -05:00
Clinton Stimpson dda19cd36f ENH: Support .hpp with automoc. 2009-02-09 16:42:19 -05:00
Christopher Harvey e18a33e491 ENH: Made the documentation for FindDevIL.cmake cleaner. Changed the XXX_LIBRARYs to XXX_LIBRARIES. 2009-02-09 16:25:48 -05:00
Clinton Stimpson f26c235aba BUG: When detecting if qmake executable is changed, don't error if path
contains regex chars.
2009-02-07 12:23:02 -05:00
Clinton Stimpson 56ade2af43 ENH: Add support for building with Qt's ActiveX support on Windows. 2009-02-05 23:01:38 -05:00
David Cole 3ad6aa6a98 BUG: Add debug message calls to figure out ExternalProject test failure on AIX dashboard. 2009-02-04 18:24:20 -05:00
Bill Hoffman 5b2b40d34b BUG: fix potential issue with empty strings 2009-02-03 08:38:34 -05:00
Bill Hoffman 377bf9dbd1 BUG: include should not have .cmake 2009-02-02 16:30:04 -05:00
Philip Lowman de70cc194b BUG: Fixes configure error if you don't specify a version with find_package() 2009-01-31 13:57:48 -05:00
Philip Lowman 1897b563d9 BUG: Fix library detection for GDAL on most Linux distributions (Issue #7445) 2009-01-31 01:50:40 -05:00
Philip Lowman 78bbf5a0de ENH: Added FindOpenSceneGraph.cmake which is intended to wrap any of the existing Findosg* modules (or even user specified modules in CMAKE_MODULE_PATH) and aggregate the include dirs & libraries while providing a COMPONENT frontend and version checking (Fixes Issue #6973). Also added a note to Findosg.cmake to refer new users to the module. 2009-01-30 20:09:16 -05:00
Philip Lowman 4b45824294 ENH: Added OSG_ROOT as supported env var (it's in the wild already). Cleaned
up FindOpenThreads to support PATH_SUFFIXES.  Removed superfluous WIN32 registry
checks which should have been $ENV{} checks.
2009-01-30 16:55:57 -05:00
Philip Lowman 1569f5d0e4 BUG: Fix other modules not respecting QUIET and REQUIRED 2009-01-30 15:13:07 -05:00
Philip Lowman 901b4b6c3f BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not
being respected.
2009-01-30 14:33:08 -05:00
Philip Lowman 6ccd60dee3 ENH: Added a mark_as_advanced() wrapper function. 2009-01-30 14:29:26 -05:00
Philip Lowman 25325c8f4d BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421) 2009-01-30 03:02:49 -05:00
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
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