summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Improve add_external_project interfaceBrad King2009-03-182-105/+132
| | | | | | | | | | | | | | | | 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.
* COMP:Fixed warnings.Francois Bertel2009-03-181-11/+16
|
* STYLE:Empty commit just add information about rev 1.15: the reason is that ↵Francois Bertel2009-03-181-1/+0
| | | | long is 64-bit on gcc on Linux because it uses the LP64 data model whereas long is 32-bit on VS 64-bit because it uses the LLP64 model (ref: http://en.wikipedia.org/wiki/64-bit#64-bit_data_models )
* COMP:Fix warning on VS 64bit. Don't why gcc 4.3.2 didn't catch this one on a ↵Francois Bertel2009-03-181-1/+1
| | | | 64bit machine with -Wconversion on.
* STYLE: Nightly Date StampBrad King2009-03-181-1/+1
|
* BUG: Allow more shell ops in custom commandsBrad King2009-03-171-0/+4
| | | | | This extends the set of common shell operators to include "||", "&&", "1>", and "2>". See issue #6868.
* ENH: New foreach(<var> IN ...) modeBrad King2009-03-173-3/+81
| | | | | | | | This creates a new mode of the foreach command which allows precise iteration even over empty elements. This mode may be safely extended with more keyword arguments in the future. The cost now is possibly breaking scripts that iterate over a list of items beginning with 'IN', but there is no other way to extend the syntax in a readable way.
* COMP:Fixed warnings.Francois Bertel2009-03-173-17/+23
|
* STYLE: Nightly Date StampBrad King2009-03-171-1/+1
|
* BUG: Eliminates detection of Boost system library prior to 1.35 (see issue ↵Philip Lowman2009-03-171-1/+11
| | | | #8734)
* COMP:Try to fix compile error with qnx gcc.Francois Bertel2009-03-161-1/+2
|
* COMP:Fixed gcc 4.3.2 warning with -O1 and above: ignoring return value of ↵Francois Bertel2009-03-161-3/+6
| | | | read'), declared with attribute warn_unused_result
* ENH: Allow projects to disable per-rule echo linesBrad King2009-03-169-57/+69
| | | | | | | | | 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.
* STYLE: Separate unrelated logicBrad King2009-03-161-3/+12
| | | | | | This separates unrelated uses of a library-type switch into separate switches. An upcoming commit will conditionally enter one of the switches.
* ENH: Allow projects to disable per-rule progressBrad King2009-03-167-9/+49
| | | | | | | | 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.
* ENH: Factor out makefile progress rule commandsBrad King2009-03-162-24/+20
| | | | This factors duplicate progress rule code into a common method.
* COMP:Fixed warnings.Francois Bertel2009-03-161-17/+20
|
* BUG: Do not automatically set HEADER_FILE_ONLYBrad King2009-03-164-37/+17
| | | | | | | | | | Long ago the native build system generators needed HEADER_FILE_ONLY to be set on header files to stop them from building. The modern generators correctly handle headers without the help of this property. This removes automatic setting of the property so that it can be used reliably as an indicator of project author intention. It fixes VS IDE project files to show header files normally instead of excluded (broken by the fix for issue #7845).
* ENH: Remove unused code from cmMakeDependBrad King2009-03-162-76/+1
| | | | | | | This class is the old-style dependency scanner. It is needed only to implement the output_required_files command. This change removes some code not needed for that purpose, including a reference to the HEADER_FILE_ONLY property.
* ENH: Add NAME mode to ADD_TEST commandBrad King2009-03-168-6/+210
| | | | | | | | This creates command mode add_test(NAME ...). This signature is extensible with more keyword arguments later. The main purpose is to enable automatic replacement of target names with built target file locations. A side effect of this feature is support for tests that only run under specific configurations.
* ENH: Refactor storage of test command linesBrad King2009-03-164-32/+21
| | | | | We used to separate the command executable from its argument vector. It is simpler to just store the whole command line in one vector.
* ENH: Refactor generation of CTestTestfile contentBrad King2009-03-168-81/+220
| | | | | | | | | This moves code which generates ADD_TEST and SET_TESTS_PROPERTIES calls into CTestTestfile.cmake files out of cmLocalGenerator and into a cmTestGenerator class. This will allow more advanced generation without cluttering cmLocalGenerator. The cmTestGenerator class derives from cmScriptGenerator to get support for per-configuration script generation (not yet enabled).
* ENH: Refactor cmInstallGenerator for re-useBrad King2009-03-168-211/+345
| | | | | | A new cmScriptGenerator base class factors out the non-install-specific part of cmInstallGenerator. This will be useful for other generators that want per-configuration functionality.
* STYLE: Nightly Date StampBrad King2009-03-161-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-151-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-141-1/+1
|
* ENH: don't enforce VERBOSE Makefiles, but set the env. var VERBOSE to 1 inAlexander Neundorf2009-03-131-1/+1
| | | | | | | when make is executed from within Eclipse. This way when building from the command line one can build also in non-verbose mode. Alex
* ENH: when using the Eclipse project generator, run gcc so that it tells usAlexander Neundorf2009-03-133-12/+90
| | | | | | | | | | 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
* STYLE: add line breaks to the documentation for CMAKE_MATCH_(0..9),Alexander Neundorf2009-03-131-3/+4
| | | | | | otherwise one might miss this information Alex
* BUG: Document internal cache property MODIFIEDBrad King2009-03-131-0/+7
| | | | | All cmake-defined properties should be documented, even if they are internal. This fixes the DocTest when CMAKE_STRICT is enabled.
* BUG: Fix cache properties for CMAKE_STRICT buildBrad King2009-03-133-3/+9
| | | | | All cmPropertyMap instances must have CMakeInstance set. This teaches cmCacheManager to set it on cache entries.
* STYLE: Nightly Date StampBrad King2009-03-131-1/+1
|
* STYLE: Moved functions/macros to top of file so main is more readable.Philip Lowman2009-03-131-47/+61
|
* BUG: fix #8704, sometimes crash if include_directories() is called with a ↵Alexander Neundorf2009-03-121-12/+7
| | | | | | whitespace string Alex
* STYLE: document NONE for disabling any languages, slightly change wording ofAlexander Neundorf2009-03-121-6/+8
| | | | | | the rest of the documentation, so it is more similar to ENABLE_LANGUAGE() (#8718) Alex
* ENH: allow for https submission if ctest is built with a curl that supports itBill Hoffman2009-03-121-4/+5
|
* COMP: Do not use void returnsBrad King2009-03-121-1/+1
| | | | | VS 6 does not support the C++ void returns feature. This removes an accidental use of it.
* ENH: Add support for showing combo box for choosing from a list of strings ↵Clinton Stimpson2009-03-125-3/+46
| | | | that a cache property can have.
* ENH: Define STRINGS cache entry propertyBrad King2009-03-122-1/+13
| | | | | | | This property defines a list of values for a cache entry of type STRING. A CMake GUI may optionally use a drop-down selection widget for the entry instead of a generic text entry field. We do not enforce that the value of the entry match one of the strings listed.
* ENH: Refactor cache entry writing and readingBrad King2009-03-122-164/+111
| | | | | | This factors out duplicated code into reusable methods, thus simplifying writing and reading of cache entry help strings, keys, values, and properties.
* STYLE: Nightly Date StampBrad King2009-03-121-1/+1
|
* STYLE: fix documentation: the second short description discarded the firstAlexander Neundorf2009-03-114-8/+8
| | | | | | | 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
* BUG: Do not produce empty coverage log filesBrad King2009-03-111-20/+21
| | | | | | | This moves the filtering of source files to before the production of coverage log files in order to avoid producing a CoverageLog-*.xml file for 100 filtered-out files. The change greatly reduces the number of submitted coverage files when using label filters.
* BUG: Do not carry over file list between coverageBrad King2009-03-112-0/+2
| | | | | | | | When performing multiple ctest_coverage() commands in a single CTest instance we need to clear the list of CoverageLog-*.xml files for submission. Otherwise if the current coverage run produces fewer log files than the previous run CTest will attempt to submit non-existing files.
* BUG: Avoid duplicate CTest coverage submissionBrad King2009-03-112-0/+20
| | | | | | This teaches ctest_coverage() to remove any existing CoverageLog-*.xml when it creates new coverage results. Otherwise the next ctest_submit() may submit old coverage log files which unnecessarily.
* STYLE: Nightly Date StampBrad King2009-03-111-1/+1
|
* ENH: only check for the existance of a header file if:Alexander Neundorf2009-03-101-11/+55
| | | | | | | -the original file is a C/C++ implementation file -the header file is not already part of the sources Alex
* ENH: Document CACHE entry propertiesBrad King2009-03-104-0/+50
| | | | | This adds a property documentation section for CACHE properties. We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
* ENH: Teach set/get_property about CACHE propertiesBrad King2009-03-107-3/+167
| | | | | | | | This adds the CACHE option to set_property and get_property commands. This allows full control over cache entry information, so advanced users can tweak their project cache as desired. The set_property command allows only pre-defined CACHE properties to be set since others would not persist anyway.
* ENH: Use cmPropertyMap for cache propertiesBrad King2009-03-104-101/+103
| | | | | This re-implements cache entry property storage in cmCacheManager to use cmPropertyMap so it can share the standard property implementation.