summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake 2.8.1-rc3Brad King2010-02-163-20/+36
|
* Fix rule hash persistence file generationBrad King2010-02-112-4/+16
| | | | | | | | | | | | | | | | | | | | | We store custom command rule hashes in CMakeFiles/CMakeRuleHashes.txt persistently across CMake runs. When the rule hash changes we delete the custom command output file and write a new hash into the persistence file. This functionality was first added by the commit 'Introduce "rule hashes" to help rebuild files when rules change.' (2008-06-02). However, the implementation in cmGlobalGenerator::CheckRuleHashes kept the file open for read when attempting to rewrite a new file. On Windows filesystems this prevented the new version of the file from being written! This caused the first set of rule hashes to be used forever within a build tree, meaning that all custom commands whose rules changed would be rebuilt every time CMake regenerated the build tree. In this commit we address the problem by splitting the read and write operations into separate methods. This ensures that the input stream is closed before the output stream opens the file.
* CMake 2.8.1-rc2Brad King2010-02-116-10/+30
|
* CMake 2.8.1-rc1Brad King2010-01-28120-1099/+2866
|
* CMake 2.8.0-rc7Brad King2009-11-118-11/+49
|
* CMake 2.8.0-rc6Brad King2009-11-103-5/+11
|
* CMake 2.8.0-rc5Brad King2009-11-0310-37/+112
|
* RC 4 mergeBill Hoffman2009-10-2839-557/+1014
|
* Merge in changes for RC 3Bill Hoffman2009-10-0948-310/+457
|
* Merge in changes to CMake-2-8 RC 2Bill Hoffman2009-10-01682-9558/+6771
|
* Add change log and fix UMR in ctest from head.Bill Hoffman2009-09-251-0/+1
|
* Output a message in ctest when each test is startedZach Mullen2009-09-241-0/+3
|
* Removed commentZach Mullen2009-09-241-2/+0
|
* Reformat ctest -N output. Removed the "Start processing tests" message as well.Zach Mullen2009-09-242-7/+10
|
* Restore KWSys SystemTools _WIN32 state on cygwinBrad King2009-09-241-2/+5
| | | | | | | | | | | The commit "Fix KWSys SystemTools build on cygwin with -mwin32" tried to restore the state of the _WIN32 definition that was broken by the commit "Optimize KWSys SystemTools::FileExists on Windows". It did so for the case of building with -mwin32 on cygwin, but since including <windows.h> defines _WIN32, it failed for the case of not using -mwin32. This commit restores the state of _WIN32 in all cases by undefining it after including <windows.h> if it was not defined beforehand.
* KWSys Nightly Date StampKWSys Robot2009-09-241-1/+1
|
* Tests which are not run should be added to the failed test list.Zach Mullen2009-09-231-0/+1
|
* Add Xcode SYMROOT setting for custom targetsBrad King2009-09-231-3/+4
| | | | | | | | | Xcode 1.5 writes helper scripts at the projectDirPath location for targets that do not set SYMROOT. We now add SYMROOT to custom targets so that all targets set it. This prevents Xcode 1.5 from touching the source directory now that we always set projectDirPath. See issue #8481.
* Major optimization of C/C++ dependency scanning.Alexander Neundorf2009-09-238-20/+96
| | | | | | | | | | | | | | Now only the dependencies for the file where the dependencies actually may have changed are rescanned, before that this was done for all source files even if only one source file had changed. This reduces e.g. on my machine the time for scanning the dependencies of kdelibs/khtml/ when only one file (khtml_global.cpp) has changed from around 7.5 seconds to 1.2 seconds. The tests succeed, it does what I expected it to do on kdelibs, and Brad also reviewed the patch, so I think it should be ok. Alex
* fix compile warningsClinton Stimpson2009-09-233-32/+36
|
* Fix KWSys SystemTools build on cygwin with -mwin32Brad King2009-09-231-2/+1
| | | | | | | Commit "Optimize KWSys SystemTools::FileExists on Windows" accidentally added "#undef _WIN32" when including <windows.h> on cygwin, which breaks builds using the -mwin32 flag. This commit removes that line and fixes the real error it was intended to avoid.
* Teach Xcode generator to set XCODE_VERSIONBrad King2009-09-233-10/+26
| | | | | We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later.
* KWSys Nightly Date StampKWSys Robot2009-09-231-1/+1
|
* fix issue 9346. add binary directory to window title to make it easier to ↵Clinton Stimpson2009-09-222-3/+9
| | | | deal with multiple cmake-gui instances
* Fix Xcode project references to the source treeBrad King2009-09-222-56/+34
| | | | | | | | | | | | | Xcode project source file references need to always be relative to the top of the source tree in order for SCM and debug symbols to work right. We must even allow the relative paths to cross outside of the top source or build directories. For subdirectory project() command Xcode projects we use the source directory containing the project() command as the top. Relative paths are generated accordingly for each subproject. See issue #8481.
* Optionally force conversion to relative pathBrad King2009-09-222-14/+17
| | | | | | | | In cmLocalGenerator::ConvertToRelativePath we normally convert to relative path only if the local and remote paths both lie inside the source tree or both lie inside the build tree. This commit adds an optional 'force' argument to allow conversion even when this rule is violated.
* Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.Bill Hoffman2009-09-221-1/+2
|
* Can not use cmakedefine in kwsys because bootstrap of cmake does not support it.Bill Hoffman2009-09-222-2/+12
|
* Put a flag in that will stop system tools from deleting system environment ↵Bill Hoffman2009-09-222-0/+5
| | | | memory on exit, as it can cause gcov to crash the programs.
* Rescan dependencies also if CMakeDirectoryInformation.cmake has changed.Alexander Neundorf2009-09-222-21/+51
| | | | | | | | If CMakeDirectoryInformation.cmake is newer than depend.internal the include directories may have changed, so dependencies need to be scanned again. Ok by Brad. Alex
* Optimize KWSys SystemTools::FileExists on WindowsBrad King2009-09-222-22/+79
| | | | | | | | | | We optimize this method by using the GetFileAttributesExA native Windows API to check for file existence when possible. For real Windows builds we always use it. For Cygwin we use cygwin_conv_to_win32_path to get a native Windows path if possible and otherwise fall back to 'access'. Cygwin-to-Windows path conversion and cache by Wojciech Migda. See issue #8826.
* KWSys Nightly Date StampKWSys Robot2009-09-221-1/+1
|
* More SLURM experimentation (ctest batch mode)Zach Mullen2009-09-211-5/+17
|
* Fixed a slurm batch argument identifier.Zach Mullen2009-09-211-1/+1
|
* Need to quote args when generating batch scripts from ctestZach Mullen2009-09-212-2/+36
|
* Re-enabled failing tests; fixed ctest_build output to be consistent in the ↵Zach Mullen2009-09-211-5/+6
| | | | error condition across different make programs so that these tests would pass.
* Fix Bug #8332, add support for .pch files for Xcode.Bill Hoffman2009-09-211-1/+2
|
* Fix Bug #8928, add support for .xib files for Xcode.Bill Hoffman2009-09-211-0/+4
|
* KWSys Nightly Date StampKWSys Robot2009-09-211-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-09-201-1/+1
|
* Minor optimization in dependency checking.Alexander Neundorf2009-09-191-2/+12
| | | | | | | | | | | | When reading the depend.internal file, check only once for every depender whether it exists, instead of repeatedly in a loop for each dependee. Within that function it can only change of the depender is removed. This is taken care of. This reduces the number of access() calls in kdelibs/khtml from 180000 to 90000 (i.e. 50%), and reduces the time for that (without the actual scanning) from 0.3 s to 0.21 s on my system. Alex
* Remove cmGlobalXCode21Generator subclassBrad King2009-09-195-111/+30
| | | | | | | This subclass of cmGlobalXCodeGenerator only provided two virtual method overrides, and it made construction of the Xcode generator instance complicated. This commit removes it and replaces the virtual methods with tests of the Xcode version. The change removes duplicate code.
* Fix check for -isysroot on OS XBrad King2009-09-191-7/+2
| | | | | | | | | | | Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly.
* KWSys Nightly Date StampKWSys Robot2009-09-191-1/+1
|
* Only do the OSX arch stuff on OSX.Bill Hoffman2009-09-181-2/+3
|
* Add detection of gcc versions that do not support isysroot option and do not ↵Bill Hoffman2009-09-181-7/+13
| | | | use it for them.
* Fix the build for version 2.5 of Xcode.Bill Hoffman2009-09-181-0/+9
|
* KWSys Nightly Date StampKWSys Robot2009-09-181-1/+1
|
* Fix case where no archs are found on older macs.Bill Hoffman2009-09-171-4/+4
|
* Fix for bug #9466. Change the implementation of OSX arch lists. If no ↵Bill Hoffman2009-09-172-31/+28
| | | | ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT.