| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We used to separate the command executable from its argument vector.
It is simpler to just store the whole command line in one vector.
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
when make is executed from within Eclipse. This way when building from the
command line one can build also in non-verbose mode.
Alex
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
otherwise one might miss this information
Alex
|
|
|
|
|
| |
All cmake-defined properties should be documented, even if they are
internal. This fixes the DocTest when CMAKE_STRICT is enabled.
|
|
|
|
|
| |
All cmPropertyMap instances must have CMakeInstance set. This teaches
cmCacheManager to set it on cache entries.
|
| |
|
| |
|
|
|
|
|
|
| |
whitespace string
Alex
|
|
|
|
|
|
| |
the rest of the documentation, so it is more similar to ENABLE_LANGUAGE() (#8718)
Alex
|
| |
|
|
|
|
|
| |
VS 6 does not support the C++ void returns feature. This removes an
accidental use of it.
|
|
|
|
| |
that a cache property can have.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This factors out duplicated code into reusable methods, thus simplifying
writing and reading of cache entry help strings, keys, values, and
properties.
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
-the original file is a C/C++ implementation file
-the header file is not already part of the sources
Alex
|
|
|
|
|
| |
This adds a property documentation section for CACHE properties.
We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This re-implements cache entry property storage in cmCacheManager to use
cmPropertyMap so it can share the standard property implementation.
|
| |
|
|
|
|
|
|
|
| |
When a property does not exist we are supposed to return an empty value.
Previously if a property did not exist we just left the value of the
output variable unchanged. This teaches CMake to remove the definition
of the output variable in this case.
|
|
|
|
|
|
|
| |
This teaches CTest to process coverage information only for object files
in targets containing labels of interest. This change also improves
loading of global coverage information by globbing only in each target
support directory instead of the entire build tree.
|
|
|
|
|
|
|
|
| |
This generalizes the previous CMakeFiles/LabelFiles.txt created at the
top of the build tree to a CMakeFiles/TargetDirectories.txt file. It
lists the target support directories for all targets in the project.
Labels can still be loaded by looking for Labels.txt files in each
target directory.
|
| |
|
|
|
|
|
|
| |
project file
Alex
|
| |
|
| |
|
|
|
|
| |
dashboard machine...
|
|
|
|
|
|
|
| |
During testing of the new message() signatures I mistakenly concluded
that SEND_ERROR stops processing. The corresponding commit enforced
this wrong behavior. This restores the correct behavior and fixes the
documentation accordingly.
|
|
|
|
|
| |
This adds message(WARNING) and message(AUTHOR_WARNING) command modes and
fully documents the command behavior in all modes.
|
|
|
|
|
|
|
| |
Man page preformatted text needs an extra newline after the ending
marker to create a paragraph break. This bug was introduced by the
patch from issue #7797 to place explicit ".nf" and ".fi" markers around
preformatted blocks.
|
|
|
|
|
|
| |
This teaches the command to interpret relative paths with respect to the
location of the invoking CMakeLists.txt file. The convention is already
used by most commands and won't change the behavior in script mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.
Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number. Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".
We still use odd minor numbers for development versions. Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.
|
|
|
|
| |
This remove the method completely since nothing uses it.
|
|
|
|
| |
This initializes the LabelsMentioned ivar in cmCTestCoverageCommand.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This cleans up the 'cmake --build' command-line interface:
- Rename --clean to --clean-first to better describe it.
- Replace --extra-options with a -- separator to simplify passing of
multiple native build tool options.
- Document the options in the main CMake man page description of the
--build option, and shares this with the usage message.
- Require --build to be the first argument when present.
- Move implementation into cmakemain where it belongs.
|