summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-28599-8413/+5460
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-2878-773/+742
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* Install KWSys Copyright.txt as documentationBrad King2009-09-281-0/+18
| | | | | | | | | | | | This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to specify the directory for installation of documentation. We use it to put the KWSys Copyright.txt file at the location ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt in the project installation tree. This helps containing projects meet the license requirement to distribute the copyright and license with binary forms.
* Fix .vfproj file version for Intel Fortran 10.1Brad King2009-09-281-0/+6
| | | | | | | The commit "Generate proper Intel Fortran project version" replaced the hard-coded 9.10 value with a runtime registry lookup of the real version. Version 10.1 actually uses project file format 9.10, so this commit switches it back for that version. See issue #9169.
* Use BeAPI for per-user package registry on HaikuBrad King2009-09-282-0/+27
| | | | | | | | Applications on Haiku are discouraged from storing their data in $HOME. This teaches export(PACKAGE) and find_package() to use the BeAPI on Haiku to store the package registry instead of using ~/.cmake/packages. See issue #9603.
* KWSys Nightly Date StampKWSys Robot2009-09-281-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-09-271-1/+1
|
* Fix bug #9529.Alexander Neundorf2009-09-261-2/+23
| | | | | | | | Set the working_dir entry in the codeblocks project file of executable targets to the directory where the executable is created. Then when running CB, executing the target (not building), will run it from that directory. Alex
* KWSys Nightly Date StampKWSys Robot2009-09-261-1/+1
|
* Fix CMake Internal Error from cmTarget::GetOutputInfo - triggered by calling ↵David Cole2009-09-252-13/+22
| | | | GetLocation on a utility target - caused by custom command output file with same name as custom target. The fix is to avoid calling GetLocation unless the target is of a type that is expected to have a location...
* Policies 14 and 15 will be first released in 2.8.0Brad King2009-09-251-2/+2
| | | | | | | CMake policies CMP0014 and CMP0015 were implemented in the development series version 2.7.x but will be first released in 2.8.0. Now that the development version number is higher than that (2.9.x) we can update their version of introduction to the actual release number.
* Document full version number with policy defaultBrad King2009-09-251-2/+1
| | | | | | In CMake Policy documentation we specify the default behavior for the current version of CMake. This commit fixes that version by reporting the full version number instead of just major and minor.
* Fixed uninitialized memory issue in ctest show-only modeZach Mullen2009-09-251-0/+1
|
* Avoid word 'Copyright' in KWSys MD5 encode testBrad King2009-09-251-3/+3
| | | | | We replace the test text in the kwsys.testEncode test to avoid the word 'Copyright'. This simplifies grep results for Copyright verification.
* KWSys Nightly Date StampKWSys Robot2009-09-251-1/+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.