summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix floating point comparison warnings. Thanks to Alex Neundorf for the patch.David Cole2009-10-133-7/+7
|
* fix line lengthAlexander Neundorf2009-10-131-1/+2
| | | | Alex
* 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-122-5/+13
| | | | 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
|
* Several minor FindBoost changes to address posts on mailing listPhilip Lowman2009-10-091-8/+33
| | | | | | | | | | | | | | | | | | | | | | 1. Add STATUS output "Could NOT find Boost" if boost is not found which brings FindBoost closer in behavior to most CMake find modules. 2. Add an option: Boost_DETAILED_FAILURE_MSG to output Boost_ERROR_REASON on a non-REQUIRED find if this is desired by the developer. This is done because the error messages are rather long and software with optional Boost dependencies might not like them showing up by default, especially since this wasn't done before. 3. Add mention of Boost_ADDITIONAL_VERSIONS close to top of file since this seems to be the most common problem brought up on the mailing list (maybe people will notice it there) 4. Added additional check for intel compiler which probably isn't necessary but ultimately should be cleaner if CMAKE_CXX_COMPILER_ID sticks around. 5. Added my name to the Copyright list
* KWSys Nightly Date StampKWSys Robot2009-10-091-1/+1
|
* Resolve #9685: Fix include dir to be correct pathPhilip Lowman2009-10-091-6/+7
| | | | Also refrain from setting _LIBRARIES & _INCLUDE_DIRS if lib not found (seems to be mostly standard practice).
* 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.
* Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace ↵David Cole2009-10-083-10/+28
| | | | kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)
* 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-086-137/+128
| | | | | | | | | | | 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
|
* Check for openssl-linked option with Qt 4.4+ before making ssl a dependency.Clinton Stimpson2009-10-071-6/+15
|
* Make Complex test of CMakeLib more optionalBrad King2009-10-074-25/+12
| | | | | | | Previously we passed inputs to the decision to each Complex test and let the test source decide. This commit moves the decision out of the tests and makes it an option() in their source. This makes it possible to build the Complex tests from outside the CMake test tree.
* Modernize FindVTK moduleBrad King2009-10-071-61/+48
| | | | | | | | | | This teaches the FindVTK module to use the Config mode of find_package() to search for VTKConfig in the common case. The old search method based on find_path() and UseVTK is now used only to search for VTK 4.0. This approach avoids the need to update the module for each new VTK version because find_package(VTK) automatically searches "lib/vtk*". It also addresses issue #9105 since find_package searches lib64 paths too.
* Fix find_package() when <pkg>_DIR is wrongBrad King2009-10-073-14/+51
| | | | | | | | | | | | 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.
* More robust implicit link line detection regexBrad King2009-10-072-1/+11
| | | | | | | | The regex used by CMAKE_PARSE_IMPLICIT_LINK_INFO to detect link lines should not match lines that happen to have ".../ld.../..." in them. A linker name should match only as the last component of a path. See issue #9666.
* fix Xcode 30 generatorBill Hoffman2009-10-071-8/+8
|
* Use the correct CMake (the freshly built one) to drive the CMakeWizardTest.David Cole2009-10-071-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-10-071-1/+1
|
* Fix Xcode build.James Bigler2009-10-072-6/+2
| | | | | Move the make_directory command to the main target, so that CMAKE_CFG_INTDIR will get expanded by the build tool.
* 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.
* Log implicit link line detection regexBrad King2009-10-061-0/+1
| | | | | | | | | | This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log the regex it uses to detect the linker invocation line. The regex is computed from the CMAKE_LINKER if it is found, so it might change. A strange value might match the wrong line and cause implicit link info extraction to fail. See issue #9666.
* Log implicit link information parsing actionsBrad King2009-10-063-3/+27
| | | | | | | This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log its actions. We store the log in CMakeFiles/CMakeOutput.log at the top of the project build tree. This will make diagnosis of implicit link information parsing problems easier.
* 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.
* Increase coverage. Intentionally trigger error conditions. Call all the ↵David Cole2009-10-064-0/+94
| | | | else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
* 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.
* Increase coverage. Add test of class cmakewizard. (cmake -i 'mode')David Cole2009-10-062-0/+57
|
* Added better OS information for Mac OS XZach Mullen2009-10-061-0/+28
|
* Use work-around from bug 4772 for C++ and FortranBrad King2009-10-063-13/+27
| | | | | | | | | | | | | | The commit "fix for bug 4772" added a work-around to CMakeCInformation for platform config files that put compiler information in the system file (like SunOS flags for GCC). This commit adds the same work-around for CXX and Fortran. It is necessary to support enabling these languages separately from C in other subdirectories. The commit "Avoid (Unix|Windows)Paths.cmake multiple include" added include blockers that prevent the files from multiple inclusion, so it is safe to include the system information files from every language. See issue #4772 and issue #9656.
* 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
|
* Updated copyright notice to conform to NVIDIA guidelines.James Bigler2009-10-054-8/+4
|
* Fortran test: Match config for external projectBrad King2009-10-051-0/+3
| | | | | | | In the Fortran test we use a custom command to build another Fortran project internally. The project provides a Fortran module and library to which to link. This commit teaches the test to build the extra project using the same build configuration as the main project.