summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Fix line length.Zach Mullen2009-10-131-1/+2
|
* KWSys Nightly Date StampKWSys Robot2009-10-131-1/+1
|
* Fix issue #5668 - use CollapseFullPath when determining if covered file is ↵David Cole2009-10-121-91/+133
| | | | within source or binary tree. Allows gcc/gcov coverage analysis using MinGW on Windows.
* fix indentationAlexander Neundorf2009-10-121-75/+74
| | | | Alex
* fix #9687Alexander Neundorf2009-10-121-4/+12
| | | | | | | The CodeBlocks generator did not put all cmake files into the cmake tree of the generated project. Patch from Daniel Teske. Alex
* Uncomment block in InitializeFromCommand (accidentally checked this change in)Zach Mullen2009-10-121-4/+4
|
* CTest-side support for compiler name and compiler version information. ↵Zach Mullen2009-10-121-4/+9
| | | | Requires CDash update to show on CDash.
* KWSys Nightly Date StampKWSys Robot2009-10-121-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-10-111-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-10-101-1/+1
|
* Added OS Platform (cpu architecture) detection support to windows systemsZach Mullen2009-10-091-0/+6
|
* KWSys Nightly Date StampKWSys Robot2009-10-091-1/+1
|
* Remove CMake Policy CMP0015 until it is revisedBrad King2009-10-087-94/+2
| | | | | | | | | | | | | | | | | | | | We revert commit "Create CMake Policy CMP0015 to fix set(CACHE)" because the NEW behavior of the policy breaks a valid use case: # CMakeLists.txt option(BUILD_SHARED_LIBS "..." ON) add_library(mylib ...) set(BUILD_SHARED_LIBS OFF) # we want only mylib to be shared add_subdirectory(ThirdParty) # ThirdParty/CMakeLists.txt option(BUILD_SHARED_LIBS "..." ON) # uh, oh, with NEW behavior this dir uses shared libs!!! We'll re-introduce the policy later with a different change in behavior to resolve the motivating case, which was more subtle but less common. See issue #9008.
* REALLY fix color check for dependency scanningBrad King2009-10-081-2/+3
| | | | | | | The commit "Really fix color check for dependency scanning" disabled color unless "make COLOR=ON" is specified. This restores the previous default behavior when CMAKE_COLOR_MAKEFILE is ON while retaining the previous commit's fix. See issue #9680.
* Really fix color check for dependency scanningBrad King2009-10-081-1/+1
| | | | | | | The commit "Fix color check for dependency scanning" was meant to disable color if CMAKE_COLOR_MAKEFILE was off. It did remove use of the activation option '--color' but it failed to make the default false when the option was missing. This commit corrects that. See issue #9680.
* Do not use -fPIC to link executablesBrad King2009-10-081-5/+0
| | | | | | | | | | | | | | The commit "add support for borland run time flag for shared builds" started using the value of CMAKE_SHARED_LIBRARY_CXX_FLAGS to link executables because Borland requires some flags both at compile and link time. This change ended up propagating all the way to the current Makefile generators and the behavior applies on all platforms. In general it is incorrect to use these flags to link executables. The commit "Split Borland compiler information files" re-wrote Borland support to work without this behavior, so we remove it in this commit. Patch from Ben Hutchings. See issue #9659.
* Split Borland compiler information filesBrad King2009-10-081-9/+0
| | | | | | | | | | | This commit re-writes Borland compiler build rules. We split the rules into modern <os>-<id>-<lang> information modules but share a common macro between languages to avoid duplication. We also address a bug in the previous rules that would build some target types against the static Borland runtime and others against the shared Borland runtime in one build tree. Now we always use the shared runtime as is the default in the rules for MS tools.
* Trimmed off the newline from sw_vers output on mac, it could cause xml ↵Zach Mullen2009-10-081-0/+21
| | | | parsing errors if left in
* KWSys Nightly Date StampKWSys Robot2009-10-081-1/+1
|
* Fix find_package() when <pkg>_DIR is wrongBrad King2009-10-072-11/+18
| | | | | | | | | | | | When <pkg>_DIR is set to an incorrect version we search again and store the result in the variable, even if it is <pkg>_DIR-NOTFOUND. There was a bug in the case when the new search does not find anything and the old value came from a cache entry with UNINITALIZED type. The command used to try to load a package configuration file from the last place searched, and would leave the old wrong value in the entry. This commit fixes the behavior to avoid trying to load a missing file and to set the value to <pkg>_DIR-NOTFOUND as expected.
* Do not collapse path of NOTFOUND valuesBrad King2009-10-071-1/+4
| | | | | | | | In cmMakefile::AddCacheDefinition we collapse paths specified in PATH or FILEPATH cache entries originally specified on the command line with UNINITALIZED type. This commit fixes the logic to avoid collapsing <var>-NOTFOUND and other false values. The change allows other CMake code to force a NOTFOUND value on an entry with UNINITALIZED type.
* fix Xcode 30 generatorBill Hoffman2009-10-071-8/+8
|
* KWSys Nightly Date StampKWSys Robot2009-10-071-1/+1
|
* Use integer literal instead of characterBrad King2009-10-061-1/+1
| | | | | | | The commit "Support more special characters in file(STRINGS)" added code using a 'char' literal as an array index. Some compilers warn about this because char might be a signed type, leading to negative indices. We replace the literal with an integer to avoid the warning.
* Support more special characters in file(STRINGS)Brad King2009-10-061-1/+8
| | | | | | | | | The commits "Teach Fortran compiler identification about the Portland Group compiler" and "Fix previous change to file(STRINGS) command" taught file(STRINGS) to recognize the form-feed '\f' character as part of string literals. The Portland Group Fortran compiler also puts 0x14 bytes at the end of string literals in some cases. We generalize the previous solution and add the new character in this commit.
* Fix bus error on mac. Was a result of not having null termination of arg ↵Zach Mullen2009-10-061-5/+10
| | | | list to sw_vers calls.
* speedup C dependency scanning even moreAlexander Neundorf2009-10-061-23/+7
| | | | | | | | | | | Scanning the dependencies for kdelibs/khtml/ (when all files are scanned) is now down to 4.6 s from 6.3 s before this change (without the headerLocationCache it takes about 14 s here). It doesn't really make sense to include the complete include path as part of the key for the map, since the include path will be the same for all files in a project, so it doesn't add anything. Alex
* Avoid non-root copies of root-only targetsBrad King2009-10-065-48/+34
| | | | | | | | | | | | | | In cmGlobalGenerator::GetTargetSets we collect targets from all local generators in a tree or subtree corresponding to a project() command. Some targets, such as ALL_BUILD, are duplicated in each subdirectory with a project() command. For such targets we should keep only the copy for the top-most (root) local generator. Previously this filtering was done in each VS IDE generator, but it is easier to do it in one place when the targets are first encountered. This also fixes bad ALL_BUILD dependencies generated for VS 7.0 because the cmGlobalVisualStudio7Generator::WriteTargetDepends method was not filtering out duplicates. Now we avoid duplicates from the start.
* Added better OS information for Mac OS XZach Mullen2009-10-061-0/+28
|
* Target copy ctor should initialize internal stateBrad King2009-10-061-0/+1
| | | | | | The commit "Target copy ctor should copy internal state" created a new cmTargetInternals constructor but failed to initialize a POD member that the original constructor initializes. This commit fixes it.
* Use explicit conversion to avoid warnings in cmELFBrad King2009-10-061-2/+2
|
* KWSys Nightly Date StampKWSys Robot2009-10-061-1/+1
|
* Target copy ctor should copy internal stateBrad King2009-10-051-3/+9
| | | | | | | Ideally we should never copy cmTarget instances, but it is a pain to remove current uses of it. The pimplized portion of cmTarget has mostly members that cache results, but some are part of the object state. These should be copied in the copy ctor instead of re-initialized.
* don't allow consecutive generates without a configure.Clinton Stimpson2009-10-051-1/+1
|
* BUG: #0009648 Change "The following tests FAILED" message to print on stdout ↵Zach Mullen2009-10-051-1/+1
| | | | rather than stderr
* Remove old Encoding field from CMake.desktopBrad King2009-10-051-1/+0
| | | | | | | | | | | The Encoding key is now deprecated by the FreeDesktop standard and all strings are required to be encoded in UTF-8. This desktop entry explicitly specified an Encoding of UTF-8, which is harmless but no longer necessary. See http://standards.freedesktop.org/desktop-entry-spec/1.0/apc.html for details. Patch from Modestas Vainius. See issue #9659.
* Match width of ctest "Start xx: " line to line up with the end test lineZach Mullen2009-10-053-4/+6
|
* Invalidate target link info when necessaryBrad King2009-10-052-0/+21
| | | | | | | | In cmTarget we compute the link implementation, link interface, and link closure structures on-demand and cache the results. This commit teaches cmTarget to invalidate results after a LINK_INTERFACE_* property changes or a new link library is added. We also clear the results at the end of the Configure step to ensure the Generate step uses up-to-date results.
* Combine duplicate code in target property methodsBrad King2009-10-052-9/+9
| | | | | | | In cmTarget::SetProperty and cmTarget::AppendProperty we check whether changing the property invalidates cached information. The check was duplicated in the two methods, so this commit moves the check into a helper method called from both.
* Create explicit cmTarget::FinishConfigure stepBrad King2009-10-053-2/+12
| | | | | | | This method is called during ConfigureFinalPass on every target. It gives each target a chance to do some final processing after it is known that no more commands will affect it. Currently we just call the old AnalyzeLibDependencies that used to be called directly.
* Remove unused cmTarget::AddLinkLibrary methodBrad King2009-10-052-15/+0
|
* KWSys Nightly Date StampKWSys Robot2009-10-051-1/+1
|
* fix two more warnings from icpcAlexander Neundorf2009-10-041-3/+0
| | | | | | | asfGlob and abfGlob were there since rev 1.3 of this file (Oct 17th 2004) and unused since then, so remove them Alex
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+13
|
* Try to avoid cronic random failures on some Macs.Bill Hoffman2009-10-041-2/+15
|
* KWSys Nightly Date StampKWSys Robot2009-10-041-1/+1
|
* remove unused variables, reported by icpcAlexander Neundorf2009-10-032-7/+0
| | | | Alex
* KWSys Nightly Date StampKWSys Robot2009-10-031-1/+1
|
* Fix warnings in CMake source code.David Cole2009-10-025-17/+28
|
* Correct some typos in error messages in the string command. Add a test that ↵David Cole2009-10-021-4/+4
| | | | covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.