summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Simplify VS CMake re-run checkBrad King2009-09-041-11/+0
| | | | | | | | | | | | When CMake is invoked by the VS IDE re-run rule we compute whether or not CMake really needs to re-run based on some timestamp helper files. Previously we assumed that if the main generate.stamp file exists then VS has correctly detected that the file is out of date. However, this assumption is too aggressive and re-runs CMake unnecessarily sometimes. This commit removes the assumption and always checks timestamps itself. The change breaks the explicit user re-run request (R-click -> Compile) but only in cases when the build system is already up to date.
* Simplify VS generator ZERO_CHECK dependencyBrad King2009-09-042-37/+8
| | | | | | | | | | The VS generators use a ZERO_CHECK target on which all other targets depend to check whether CMake needs to re-run. This commit simplifies the addition of a dependency on the target to all other targets. We also move addition of dependencies to the beginning of the Generate step. This allows the dependency on ZERO_CHECK to be included in the global inter-target dependency analysis.
* Fixed output as-it-happens issue. Now displays output as it receives each ↵Zach Mullen2009-09-041-0/+4
| | | | newline.
* Added the test property EXPENSIVE, which denotes that the given test(s) ↵Zach Mullen2009-09-044-15/+43
| | | | should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess.
* KWSys Nightly Date StampKWSys Robot2009-09-041-1/+1
|
* Remove CMakeSetup. Long live cmake-gui, start building Qt now.Bill Hoffman2009-09-0326-4422/+5
|
* some white space fixes for the bookKen Martin2009-09-031-1/+1
|
* Fixed 2 unused variable warningsZach Mullen2009-09-031-3/+1
|
* Allowed tests to pull more than one line of output in their quantum. Fixed ↵Zach Mullen2009-09-035-80/+91
| | | | uninitialized variables in the case that the test process could not start.
* some white space fixes for the bookKen Martin2009-09-0311-14/+17
|
* Fixed warningsZach Mullen2009-09-035-4/+13
|
* COMP: Silence useless Borland inlining warningBrad King2009-09-031-0/+6
| | | | | | | KWSys tries not to force anything on source files that include its headers, but Borland warning 8027 leaves us no choice when we want to have inline function definitions. This commit disables the warning for the RegularExpression header and any file that includes it.
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-036-6/+25
| | | | option to set_tests_properties (implementation to come).
* Create CMP0014 to require CMakeLists.txt filesBrad King2009-09-033-1/+54
| | | | | | Until now CMake accidentally accepted add_subdirectory() and subdirs() calls referring to directories that do not contain a CMakeLists.txt file. We introduce CMake Policy CMP0014 to make this case an error.
* Factor cmLocalGenerator::Configure input file readBrad King2009-09-032-3/+12
| | | | | | This method tells the cmMakefile to read the input CMakeLists.txt file. We factor out the call into a ReadInputFile method so it can be extended without polluting the Configure method.
* Factor cmLocalGenerator::Configure object max pathBrad King2009-09-032-4/+9
| | | | | | Much of the code in this method was dedicated to computing ObjectMaxPath after configuring the directory. We move this last step into its own ComputeObjectMaxPath method for better organization.
* Manage current local generator with automatic varBrad King2009-09-031-5/+22
| | | | | | | | The cmLocalGenerator::Configure method sets its cmLocalGenerator instance as the global generator's current local generator during configuration. This commit refactors management of the current local generator to use an automatic variable. This will allow early returns from the method.
* Fix typo in REQUIRED_ALWAYS policy error messageBrad King2009-09-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-09-031-1/+1
|
* STYLE: line lengthZach Mullen2009-09-021-2/+5
|
* Silence VS generator for missing CMakeLists.txtBrad King2009-09-022-0/+8
| | | | | | | | CMake Makefile generators silently ignore missing CMakeLists.txt files and just treat the source directory as if it had an empty input file. This will be addressed with a new CMake Policy, but for now we make the VS generator consistent with the Makefile generator behavior. The VS generator will need to handle the OLD behavior of the policy anyway.
* Speed up graph traversal for project->targets mapBrad King2009-09-021-8/+6
| | | | | | | | The cmGlobalGenerator::AddTargetDepends method traces the dependencies of targets recursively to collect the complete set of targets needed for a given project (for VS .sln files). This commit teaches the method to avoid tracing its dependencies more than once. Otherwise the code does an all-paths walk needlessly.
* ENH: Added PARALLEL_LEVEL option to ctest_test() command.Zach Mullen2009-09-023-3/+16
|
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-027-17/+65
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* KWSys Nightly Date StampKWSys Robot2009-09-021-1/+1
|
* Add curl timeout options to the SubmitUsingHTTP method. They were only in ↵David Cole2009-09-011-2/+7
| | | | the SubmitUsingFTP method.
* Use the MANIFEST flag for non incremental linking as well.Bill Hoffman2009-09-011-0/+1
|
* Move /MANIFEST flag into -E vs_link. This is so it can be used by the intel ↵Bill Hoffman2009-09-011-7/+2
| | | | compilers without having to specifiy it in the intel compiler files
* Handle embeded manifests with ifort.Bill Hoffman2009-09-011-1/+7
|
* Teach export(PACKAGE) to fill the package registryBrad King2009-09-012-1/+170
| | | | | | | We define the export(PACKAGE) command mode to store the location of the build tree in the user package registry. This will help find_package locate the package in the build tree. It simplies user workflow for manually building a series of dependent projects.
* Teach find_package to search a "package registry"Brad King2009-09-012-3/+191
| | | | | | | | | | | | | | A common user workflow is to build a series of dependent projects in order. Each project locates its dependencies with find_package. We introduce a "user package registry" to help find_package locate packages built in non-standard search locations. The registry explicitly stores locations of build trees providing instances of a given package. There is no defined order among the locations specified. These locations should provide package configuration files (<package>-config.cmake) and package version files (<package>-config-version.cmake) so that find_package will recognize the packages and test version numbers.
* ENH: Improved test reporting outputZach Mullen2009-09-011-8/+14
|
* Define 'multiplicity' for cyclic dependenciesBrad King2009-09-015-1/+101
| | | | | | | | | We create target property "LINK_INTERFACE_MULTIPLICITY" and a per-config version "LINK_INTERFACE_MULTIPLICITY_<CONFIG>". It sets the number of times a linker should scan through a mutually dependent group of static libraries. The largest value of this property on any target in the group is used. This will help projects link even for extreme cases of cyclic inter-target dependencies.
* KWSys Nightly Date StampKWSys Robot2009-09-011-2/+2
|
* Define kwsys_ios_binary macro for std::ios::binaryBrad King2009-08-314-0/+37
| | | | | | | | The 'binary' openmode does not exist on all compilers. We define macro <kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to std::ios::binary if it exists and 0 otherwise. Sample usage: kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
* Fixed ctest_memcheck docs (http://www.cmake.org/Bug/view.php?id=9242)Zach Mullen2009-08-311-4/+14
|
* Fixed Dart time recording for ctestZach Mullen2009-08-311-0/+6
|
* Fixed conversion warning on 64 bit machinesZach Mullen2009-08-314-320/+6
|
* KWSys Nightly Date StampKWSys Robot2009-08-311-1/+1
|
* Fixed line length issueZach Mullen2009-08-301-1/+2
|
* KWSys Nightly Date StampKWSys Robot2009-08-301-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-08-291-1/+1
|
* MemCheck should now work again in ctestZach Mullen2009-08-287-65/+67
|
* Replaced std::stringstream with cmOStringStreamZach Mullen2009-08-281-1/+1
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-287-153/+114
| | | | coming soon...
* KWSys Nightly Date StampKWSys Robot2009-08-281-1/+1
|
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-2710-432/+251
| | | | for ctest
* KWSys Nightly Date StampKWSys Robot2009-08-271-1/+1
|
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-268-506/+329
| | | | specified, defaults to a MP level of 1 (non parallel)
* KWSys Nightly Date StampKWSys Robot2009-08-261-1/+1
|