summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* COMP: Avoid warning about signed-char comparisonBrad King2009-02-051-4/+3
| | | | | | On some compilers 'char' is signed and is therefore always equal to or less than 0x7f. In order to avoid the compiler warning we perform the comparison with an unsigned char type.
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-0514-165/+209
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* STYLE: Nightly Date StampBrad King2009-02-051-1/+1
|
* ENH: Re-order generation of build summary and xmlBrad King2009-02-041-8/+9
| | | | | | This moves the error/warning count summary printed by cmCTestBuildHandler to after Build.xml is generated. Later we will compute the counts during generation of the xml.
* ENH: Refactor Build.xml generationBrad King2009-02-042-11/+19
| | | | | | | This divides cmCTestBuildHandler::GenerateDartBuildOutput into three methods to generate the header, content, and footer components of Build.xml files. It will allow the content generation to be replaced later.
* COMP: Iterator version of std::set not available with vs6 implementation of ↵David Cole2009-02-041-3/+11
| | | | STL. Use explicit iteration to insert individual elements one at a time. Sigh.
* BUG: Fix old-style install to prefix topBrad King2009-02-043-0/+12
| | | | | | | | | The old install_files, install_programs, and install_targets commands used to permit installation to the top of the prefix by specifying destination '/'. This was broken in 2.6.0 to 2.6.2 by changes to enforce valid destinations that did not account for this case. This change fixes the case by converting the install destination to '.' which is the new-style way to specify the top of the installation prefix.
* STYLE: Nightly Date StampBrad King2009-02-041-1/+1
|
* ENH: Add FILES arg to the ctest_submit command. BUG: Propagate the IsCDash ↵David Cole2009-02-034-26/+156
| | | | setting properly to the ctest configuration during a submit. Also, do not propagate TriggerSite for projects submitting to CDash. No triggers are necessary with CDash.
* ENH: fix dynamic loading on haikuBill Hoffman2009-02-032-13/+2
|
* STYLE: Nightly Date StampBrad King2009-02-031-1/+1
|
* BUG: Fix preprocess and assembly rule expansionBrad King2009-02-021-12/+12
| | | | | | The recent change to avoid expanding rule variables in informational and 'cd' commands broke the logical order in generation of preprocess and assembly rules. This corrects the order.
* COMP: Fix rule hash code during bootstrapBrad King2009-02-021-2/+1
| | | | | | During bootstrap we do not bother with rule hashing. This updates the dummy implementation to account for the recent change in rule hash method signatures.
* BUG: Do not expand rule variables in info rulesBrad King2009-02-021-33/+36
| | | | | | | Previously the makefile generator would expand rule variables even on its progress and echo commands for object compilation rules (but not for link rules). This fixes the implementation to only expand rule variables on user-specified rules.
* ENH: Refactor custom command rule hashingBrad King2009-02-025-20/+23
| | | | | | | | | | This simplifies computation of custom command rule hashes to hash content exactly chosen as the custom commands are generated. Unfortunately this will change the hashes of existing build trees from earlier CMake versions, but this is not a big deal. The change is necessary so that in the future we can make optional adjustments to custom command lines at generate time without changing the hashes every time the option is changed.
* ENH: More robust property lookupBrad King2009-02-022-0/+8
| | | | | | This teaches cmMakefile::GetProperty and cmake::GetProperty methods to return NULL when the property name is NULL, making them more robust and consistent with the behavior of cmTarget::GetProperty.
* ENH: Put test labels in MemCheck resultsBrad King2009-02-023-65/+59
| | | | | | | This refactors generation of <Test> element headers and footers in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change removes duplicate code and enables the new <Labels> element for MemCheck results.
* ENH: Clarify target_link_libraries docsBrad King2009-02-021-5/+7
| | | | | The target_link_libraries command supports flags as well as libraries. This makes the support explicit in the documentation.
* STYLE: Nightly Date StampBrad King2009-02-021-1/+1
|
* STYLE: Nightly Date StampBrad King2009-02-011-2/+2
|
* STYLE: Nightly Date StampBrad King2009-01-311-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-301-1/+1
|
* ENH: Emit a little more information in the error message when the output ↵David Cole2009-01-291-1/+8
| | | | file is not found during a core try compile.
* BUG: fix for #8418 -E chdir should return fail of dir does not existBill Hoffman2009-01-291-1/+1
|
* ENH: Docs for relative paths in link_directoriesBrad King2009-01-291-1/+6
| | | | | | The link_directories command treats relative paths differently from most CMake commands. This notes the difference in the documentation. See issue #8377.
* BUG: fix for #8423Bill Hoffman2009-01-291-1/+2
|
* STYLE: fix warningBill Hoffman2009-01-291-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-291-1/+1
|
* STYLE: fix warningBill Hoffman2009-01-281-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-281-1/+1
|
* STYLE: Emit filenames in try_compile error message to get more information ↵David Cole2009-01-271-1/+5
| | | | from the Continuous dashboard test that is failing.
* BUG: Reset file submission list on test restartBrad King2009-01-272-2/+4
| | | | | | | | | | When running in script mode it is possible to run multiple separate dashboard submissions in one cmCTest instance. The recent refactoring of file submission lists into parts failed to clear the submission lists when starting a new dashboard (ctest_start or ctest_update). Only the unused old submission set was cleared. This fixes the refactored version to remove the old submission set completely and also clear the part-wise lists.
* BUG: Fix CTest submit-only operationBrad King2009-01-271-8/+1
| | | | | | | | We need to initialize cmCTestSubmitHandler on construction to make sure all parts get enabled by default. The recent fix to re-enable all parts on initialization broke submit-only operations because the handler did not initialize on construction. This also removes duplicate initialization code.
* BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to ↵David Cole2009-01-272-2/+26
| | | | specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
* BUG: fix for 7845, idl files compile even with headerfile only onBill Hoffman2009-01-271-2/+1
|
* STYLE: Nightly Date StampBrad King2009-01-271-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-261-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-251-1/+1
|
* STYLE: Nightly Date StampBrad King2009-01-241-1/+1
|
* ENH: try to fix vs6 buildBill Hoffman2009-01-231-2/+1
|
* STYLE: Nightly Date StampBrad King2009-01-231-1/+1
|
* BUG: Forgot to change parent class in cmCPackTypeMacro when I added ↵David Cole2009-01-221-1/+1
| | | | cmCPackDragNDropGenerator. Fix it now that it really matters. (The BundleGenerator test started failing after the last commit. This fixes it.)
* BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator ↵David Cole2009-01-224-0/+28
| | | | and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code.
* ENH: Isolate policy changes in included scriptsBrad King2009-01-229-18/+168
| | | | | | | | Isolation of policy changes inside scripts is important for protecting the including context. This teaches include() and find_package() to imply a cmake_policy(PUSH) and cmake_policy(POP) around the scripts they load, with a NO_POLICY_SCOPE option to disable the behavior. This also creates CMake Policy CMP0011 to provide compatibility. See issue #8192.
* ENH: Better policies for functions and macrosBrad King2009-01-227-2/+45
| | | | | | | This teaches functions and macros to use policies recorded at creation time when they are invoked. It restores the policies as a weak policy stack entry so that any policies set by a function escape to its caller as before.
* ENH: Improve stack discussion in cmake_policyBrad King2009-01-221-8/+9
| | | | | | This re-organizes the discussion of the policy stack in documentation of the cmake_policy() command. The new organization clearer and easier to extend with new information.
* ENH: Create notion of a 'weak' policy stack entryBrad King2009-01-222-11/+22
| | | | | | | A 'weak' poilcy stack entry responds normally to queries. However, setting a policy in a weak entry will recursively set the policy in the next entry too. This also gives the internal interface to create a weak entry the option to provide an initial PolicyMap for it.
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-226-89/+306
| | | | of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
* ENH: Create policy scope barriersBrad King2009-01-223-54/+82
| | | | | This creates a barrier mechanism to prevent user code from using cmake_policy(POP) to pop a scope it didn't push with cmake_policy(PUSH).
* ENH: Make policy push/pop methods privateBrad King2009-01-221-3/+7
| | | | | | | | This makes cmMakefile::PushPolicy and cmMakefile::PopPolicy private so that any outside place that uses them needs to use the PolicyPushPop helper in an automatic variable. We grant an exception to cmCMakePolicyCommand so it can implement cmake_policy(PUSH) and cmake_policy(POP).