Commit Graph

1893 Commits

Author SHA1 Message Date
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