summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Teach set/get_property about CACHE propertiesBrad King2009-03-106-3/+141
| | | | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-03-101-1/+1
|
* BUG: Fix get_property result for bad propertyBrad King2009-03-091-1/+8
| | | | | | | 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.
* ENH: Efficiently filter CTest coverage by labelBrad King2009-03-092-18/+58
| | | | | | | 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.
* ENH: Generate a central list of target directoriesBrad King2009-03-094-33/+26
| | | | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-03-091-1/+1
|
* ENH: automatically add headers of implementation file to the codeblocks ↵Alexander Neundorf2009-03-081-4/+36
| | | | | | project file Alex
* STYLE: Nightly Date StampBrad King2009-03-081-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-071-1/+1
|
* BUG: Fix message(SEND_ERROR) to continueBrad King2009-03-062-2/+13
| | | | | | | 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.
* ENH: Teach message() how to display warningsBrad King2009-03-062-33/+39
| | | | | This adds message(WARNING) and message(AUTHOR_WARNING) command modes and fully documents the command behavior in all modes.
* BUG: Fix man-page preformatted text paragraphingBrad King2009-03-061-1/+1
| | | | | | | 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.
* ENH: Teach file(REMOVE) how to use relative pathsBrad King2009-03-061-3/+10
| | | | | | 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.
* STYLE: Nightly Date StampBrad King2009-03-061-1/+1
|
* ENH: Overhaul CMake version numberingBrad King2009-03-0517-68/+92
| | | | | | | | | | | | | 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.
* STYLE: Remove unused cmake::CacheVersionMatchesBrad King2009-03-052-22/+0
| | | | This remove the method completely since nothing uses it.
* BUG: Initialize ctest_coverage command ivarBrad King2009-03-052-1/+8
| | | | This initializes the LabelsMentioned ivar in cmCTestCoverageCommand.
* STYLE: Nightly Date StampBrad King2009-03-051-1/+1
|
* ENH: Cleanup cmake --build interface.Brad King2009-03-043-66/+104
| | | | | | | | | | | 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.
* ENH: Extend GG::Build method for pre-parsed argsBrad King2009-03-042-10/+21
| | | | | This adds an argument to the cmGlobalGenerator::Build method to pass a vector of arguments for the native build tool programatically.
* BUG: make sure error condition is reset before loading scriptsBill Hoffman2009-03-041-5/+10
|
* STYLE: Nightly Date StampBrad King2009-03-041-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-031-1/+1
|
* BUG: Avoid encoding invalid XML chars in CTestBrad King2009-03-021-1/+11
| | | | | | | CTest encodes test and tool output in XML for dashboard submission. This fixes the XML encoding implementation to not encode an invalid character and instead put a human-readable tag in its place. See issue #8647.
* BUG: Gracefully handle broken version symlinksBrad King2009-03-021-3/+9
| | | | | | | This teaches the helper commands 'cmake -E cmake_symlink_executable' and 'cmake -E cmake_symlink_library' to remove broken symlinks before creating a symlink and report an error when the symlink cannot be created. See issue #8654.
* ENH: Teach ctest_coverage to filter with LABELSBrad King2009-03-024-4/+105
| | | | | This teaches ctest_coverage() to report only coverage of files labeled with at least one label given by a new LABELS option.
* BUG: Fix coverage label reports for BullseyeBrad King2009-03-021-4/+6
| | | | | This teaches CTest to report Labels elements in the Coverage.xml file for Bullseye coverage results.
* BUG: Fix coverage handler initializationBrad King2009-03-021-2/+5
| | | | | This resets coverage handler internal state on initialization so that multiple coverage runs are independent.
* BUG: Hack for issue #8647Brad King2009-03-021-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-021-1/+1
|
* STYLE: Nightly Date StampBrad King2009-03-011-2/+2
|
* STYLE: Nightly Date StampBrad King2009-02-281-1/+1
|
* BUG: #8611 add pass fail reasons into log fileBill Hoffman2009-02-271-18/+42
|
* BUG: Pass shared library export symbol in DEFINESBrad King2009-02-271-2/+1
| | | | | | | The <target>_EXPORTS macro defined for object files when built in a shared library <target> should be put in the <DEFINES> make rule replacement and not <FLAGS>. Also, it should honor the platform variable CMAKE_<LANG>_DEFINE_FLAG. See issue #8107.
* ENH: Enforce unique binary directoriesBrad King2009-02-273-0/+28
| | | | | | The second argument of add_subdirectory must name a unique binary directory or the build files will clobber each other. This enforces uniqueness with an error message.
* STYLE: Nightly Date StampBrad King2009-02-271-1/+1
|
* ENH: Refactor initial checkout into cmCTestVCBrad King2009-02-263-40/+51
| | | | | | | This adds cmCTestVC::InitialCheckout and uses it in cmCTestUpdateHandler to run the initial checkout command. The new implementation logs the command in the update log consistently with the rest of the new update implementation.
* BUG: Use new include dir suppresson for all gensBrad King2009-02-262-24/+20
| | | | | | This fixes CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to be used for all generators instead of just those that construct their own compiler command lines directly. See issue #8598.
* ENH: Simplify reverse cmLocalGenerator::ConvertBrad King2009-02-261-16/+6
| | | | | | It does not make sense to call the reverse Convert signature (for remote paths corresponding to CMake-managed directories) with NONE or FULL since they have no path. Patch from Modestas Vainius. See issue #7779.
* STYLE: Nightly Date StampBrad King2009-02-261-1/+1
|
* COMP: Fix cmCTestVC member access for HP compilerBrad King2009-02-252-1/+5
| | | | | The HP C++ compiler needs some help to allow access to some member classes of cmCTestVC.
* ENH: Rewrite CTest Update implementationBrad King2009-02-257-641/+901
| | | | | | | | | | | | | | | This adds a new VCS update implementation to the cmCTestVC hierarchy and removes it from cmCTestUpdateHandler. The new implementation has the following advantages: - Factorized implementation instead of monolithic function - Logs vcs tool output as it is parsed (less memory, inline messages) - Uses one global svn log instead of one log per file - Reports changes on cvs branches (instead of latest trunk change) - Generates simpler Update.xml (only one Directory element per dir) Shared components of the new implementation appear in cmCTestVC and may be re-used by subclasses for other VCS tools in the future.
* ENH: Re-enable system include dir suppressionBrad King2009-02-252-0/+31
| | | | | | | | | | | | | | | 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.
* COMP: Fix cmCTestVC char[]->string Borland warningBrad King2009-02-251-1/+1
| | | | | The Borland compiler warns about returning a char[] from a function with return type std::string without an explicit construction.
* STYLE: Nightly Date StampBrad King2009-02-251-1/+1
|
* ENH: add a CDash measured value showing the reason for passed and failed ↵Bill Hoffman2009-02-243-9/+28
| | | | tests based on regular expressions
* ENH: Added cmXMLParser::FindAttribute methodBrad King2009-02-242-0/+20
| | | | | This method will help subclasses look for element attributes in their StartElement methods.
* ENH: Allow cmXMLParser subclasses to report errorsBrad King2009-02-242-5/+13
| | | | | | This tells cmXMLParser to report error messages through virtual method cmXMLParser::ReportError so that subclasses can override the default report.
* ENH: Teach cmCTestSVN to load repo/tree relationBrad King2009-02-242-0/+51
| | | | | | This teaches cmCTestSVN::NoteNewRevision to save the repository URL checked out in the work tree, the repository root, and the path below the root to reach the full URL.