summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Bug #9430, recognize the FR flagBill Hoffman2009-09-171-0/+1
|
* Do not call CollapseFullPath for PDB file namesBrad King2009-09-173-3/+3
| | | | | | | | | | | | | | | | Some vendor tools convert PDB file names given on the command line to lower-case before creating the file. When CMake places a mixed-case PDB file name into the build system, the file does not exist the first time and it is written with mixed case. After the first build though the native tool has created a lower-case version of the file. If CMake does CollapseFullPath again, the file exists so the actual-case lookup gets the lower-case name. This causes the build files to change so the project rebuilds. The solution is to avoid calling CollapseFullPath for files generated by the build. In the case of PDB files we already construct them from paths that have been collapsed, so we can just skip the call altogether. See issue #9350.
* Remove old check for duplicate subdirectoriesBrad King2009-09-171-15/+0
| | | | | | | | | In cmMakefile::AddSubDirectory we were checking for addition of the same source directory multiple times. However, the check code was incorrect because it compared pointers instetad of pointed-to strings. Since the check was written, a better check was added right after it to enforce unique binary directories (in which case duplicate sources are fine). This commit simply removes the old-style check code.
* KWSys Nightly Date StampKWSys Robot2009-09-171-1/+1
|
* Fix typo in nameBill Hoffman2009-09-171-1/+1
|
* Major improvement of the generated targets in Eclipse.Alexander Neundorf2009-09-164-14/+102
| | | | | | | | | | | | | | | Before this change all targets were displayed in the top level directory of the project. Now the targets are displayed in the correct directory. The targets "clean" and "all" are now created in every subdirectory. Also now the targets for just compiling one file, preprocessing one file, assembling one file are are created for Eclipse. Additionally all targets get a prefix now in eclipse, so that they are sorted in a way which makes sense (global targets first, then executable and libraries, then object files, then preprocessed, then assembly). Also this prefix gives the user a hint what the target is, i.e. whether it's a library or an executable or something else. Alex
* Teach configure_file to handle directory namesBrad King2009-09-162-0/+21
| | | | | | | This commit teaches configure_file how to handle directories for input and output. It is an error if the input is a directory. If the output is a directory we put the configured copy of the input file in it with the same name. See issue #9537.