summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix vs2010 project generation error when HEADER_FILE_ONLY is set.Bill Hoffman2010-12-203-2/+10
| | | | | | | In vs2010 a bad project file could be generated if a .c or .cxx file was marked with HEADER_FILE_ONLY, if it was in a library that contained both c and c++ code. This fixes the error in the code, and adds a test for this case.
* KWSys Nightly Date StampKWSys Robot2010-12-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-191-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-181-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-12-171-1/+1
|
* Merge topic 'try_compile-RemoveFile'Brad King2010-12-161-21/+11
|\ | | | | | | | | 097294e Fix try_compile RemoveFile anti-virus loop (#11503)
| * Fix try_compile RemoveFile anti-virus loop (#11503)Brad King2010-12-031-21/+11
| | | | | | | | | | | | | | Commit 3827991e (...fix...not being able to remove try compile code, 2008-03-26) introduced a loop of RemoveFile attempts to overcome anti-virus locks on recently created try_compile executables. Fix the logic in this loop to work when the file is already missing.
* | Merge topic 'try-compile-min-version'Brad King2010-12-161-2/+3
|\ \ | | | | | | | | | | | | 2afb820 Write full version into try_compile CMakeLists
| * | Write full version into try_compile CMakeListsBrad King2010-12-141-2/+3
| | | | | | | | | | | | | | | | | | Pass the full version to cmake_minimum_required(VERSION) in generated CMake files for try_compile projects. This tells CMake not to use any backward compatibility behavior while processing code it generates.
* | | Merge topic 'release-cygwin-ncurses'Brad King2010-12-161-2/+2
|\ \ \ | | | | | | | | | | | | | | | | 0f5c711 Cygwin: Fix release script libncurses search patterns (#10766)
| * | | Cygwin: Fix release script libncurses search patterns (#10766)Yaakov Selkowitz2010-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the switch to upstream ncurses "ABI 6", Cygwin's ncurses has YA ABI bump and is now libncurses10. However, the regex used to determine in Utilities/Release/Cygwin/CMakeLists.txt which libncurses is being used does not handle multiple-digit ABIs. libncurses8 was the first version to be built with libtool and therefore contains a hyphen (cygncurses-8.dll). It was first introduced in 2004, so it should be sufficiently old to rely on. Furthermore, libncurses7 has a serious flaw in that it completely breaks if rebased. Therefore the easiest solution is to only look at the hyphened versions and change the regex accordingly.
* | | | Merge topic 'link-depend-def-file'Brad King2010-12-161-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3e27997 Make link rule depend on ".def" file (#11014)
| * | | | Make link rule depend on ".def" file (#11014)Brad King2010-12-151-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | When the link command line references a ".def" file the rule should depend on it. Inspired-By: Eric Huhtala
* | | | Merge topic 'doc-target_link_libraries-scope'Brad King2010-12-162-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 999ce0a Document target_link_libraries target scope (#11058)
| * | | | Document target_link_libraries target scope (#11058)Brad King2010-12-152-2/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The target_link_libraries command requires its first argument to be a target in the current directory. Document this and update the error message to be more specific. While at it, format the error message with a call stack.
* | | | Merge topic 'cygwin-module-prefix'Brad King2010-12-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1dcc977 Cygwin: Use 'cyg' prefix for module DLLs (#10122)
| * | | | Cygwin: Use 'cyg' prefix for module DLLs (#10122)Yaakov Selkowitz2010-12-131-1/+1
| | |/ / | |/| | | | | | | | | | Cygwin now uses the prefix 'cyg' for plugin DLLs instead of 'lib'.
* | | | Merge topic 'custom-command-slashes'Brad King2010-12-162-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | a75a0a1 Normalize add_custom_command OUTPUT names (#10485)
| * | | | Normalize add_custom_command OUTPUT names (#10485)Brad King2010-12-152-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the OUTPUT arguments of add_custom_command were not slash-normalized but those of add_library and add_executable were. This caused the example add_custom_command(OUTPUT a//b.c ...) add_library(... a//b.c ...) to fail at build time with "no rule to make a/b.c". Fix this and modify the CustomCommand test to try it.
* | | | Merge topic 'cray-compiler'Brad King2010-12-161-7/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ab9ebb0 Fix Fortran .mod timestamps with Cray compiler
| * | | | Fix Fortran .mod timestamps with Cray compilerBrad King2010-12-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 34e1ac24 (Create Fortran info variables for .mod behavior, 2010-11-12) incorrectly taught GetFortranModuleDirectory to return a relative path. We really want to use "." as the module directory only as a workaround for compilers that do not do so by default. Therefore we need this default only when generating the compiler command line and not when scanning dependencies. Revert the previous change to GetFortranModuleDirectory and apply the change only at one of its call sites.
* | | | | Merge topic 'NAG-Fortran'Brad King2010-12-169-24/+89
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09d1c10 FortranCInterface: Recognize NAG Fortran module symbols af2ad90 Add NAG Fortran compiler information files 24cc3d4 Recognize the NAG Fortran compiler 83892c4 Allow Fortran platform files to set empty values fe3f878 Detect object files in implicit link information
| * | | | | FortranCInterface: Recognize NAG Fortran module symbolsBrad King2010-12-091-0/+2
| | | | | |
| * | | | | Add NAG Fortran compiler information filesBrad King2010-12-093-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Linux the NAG Fortran compiler uses gcc under the hood to link. Use "-Wl,-v" to pass "-v" to the underlying gcc compiler to get verbose link output. Detect the NAG Fortran directory (using -dryrun) and then honor object files in the directory referenced in the implicit link line. Pass real linker options with "-Wl,-Xlinker,". The -Wl, gets through the NAG front-end and the -Xlinker gets through the gcc front-end.
| * | | | | Recognize the NAG Fortran compilerBrad King2010-12-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Numerical Algorithms Group (NAG) Fortran compiler does not document a preprocessor macro to identify it. Check for identifying output using the -V option.
| * | | | | Allow Fortran platform files to set empty valuesBrad King2010-12-091-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach CMakeFortranInformation to use default flags only for variables that have not been set at all, rather then not set or empty. This will allow platform or compiler-specific information files to set empty values without getting the defaults.
| * | | | | Detect object files in implicit link informationBrad King2010-12-093-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NAG Fortran compiler implicitly passes object files by full path to the linker. Teach CMakeParseImplicitLinkInfo to parse object files that match some tool-specific regular expression.
* | | | | | Merge topic 'CPackSTGZ-NoSubstitution'Brad King2010-12-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07bd856 CPackSTGZ quote here-doc, fix bug10518
| * | | | | | CPackSTGZ quote here-doc, fix bug10518Eric NOULARD2010-12-151-1/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'CPack-MoreComponentControls'Brad King2010-12-164-4/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d94ea3 CPack use IsOn when it's better than IsSet
| * | | | | | CPack use IsOn when it's better than IsSetEric NOULARD2010-12-124-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This authorize more control because one can set CPACK_ARCHIVE_COMPONENT_INSTALL to ON globally and then set it selectively to OFF inside a CPack project config file. Sidenote: GetOption ought to be a 'const' method.
* | | | | | | Merge topic 'CPack-DynMONOLITHIC_INSTALL'Brad King2010-12-161-1/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17b05e6 CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time too
| * | | | | | | CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time tooEric NOULARD2010-12-121-1/+8
| |/ / / / / /
* | | | | | | KWSys Nightly Date StampKWSys Robot2010-12-161-1/+1
| |/ / / / / |/| | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2010-12-151-1/+1
| | | | | |
* | | | | | KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206)Brad King2010-12-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method replaces '//' with '/' to make the paths look nicer. Originally it correctly skipped a leading '//' in a UNC path as the comment says. However, commit "Removed extra variable initializations" (2005-04-15) accidentally removed the "pos=1" initializer. It was then incorrectly restored by commit "Added missing variable initialization" (2005-04-15) as just "pos=0". Restore the proper initializer. The test for this added by commit "better coverage" (2006-07-31) included incorrect output for a sample UNC-like path. Fix it.
* | | | | | Merge topic 'dev/support-substring-negative-indices'Brad King2010-12-142-1/+25
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36cb701 allow STRING(SUBSTRING) work with length -1 as "rest of the string"
| * | | | | | allow STRING(SUBSTRING) work with length -1 as "rest of the string"Rolf Eike Beer2010-12-082-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the first half of bug 10740.
* | | | | | | Merge topic 'external-project-args-file'Brad King2010-12-141-1/+52
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bc828d Fixed bug where last entry would be lost. b316087 Escape file write expansion, and build up lists. 68cd3fe Added CMAKE_CACHE_ARGS to ExternalProject.
| * | | | | | | Fixed bug where last entry would be lost.Marcus D. Hanwell2010-12-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code to build up a list was missing the final entry in an initial cache.
| * | | | | | | Escape file write expansion, and build up lists.Marcus D. Hanwell2010-12-111-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Escaped the @var@ in the file writes - this was being expanded at file write and so not causing a reconfigure at the right time. I also took care of build up lists of lists in the variables, especially important for things like MPI_EXTRA_LIBRARY. Added some error checking, and use the tmp_dir for initial cache file.
| * | | | | | | Added CMAKE_CACHE_ARGS to ExternalProject.Marcus D. Hanwell2010-12-101-0/+33
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows the limit for command line arguments is 8192 characters, and this was limiting longer paths with some of our more nested projects such as Library. Placing the -D arguments into CMAKE_CACHE_ARGS will write out an initial cache file, that will be passed to CMake with a -C argument as the initial cache. By forcing the cache variables we preserve the existing behavior with -D, to change the values of cache variables in our inner projects.
* | | | | | | Merge topic 'CPackRPM-Fix0011595'Brad King2010-12-141-3/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d366cd CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)
| * | | | | | | CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)Eric NOULARD2010-12-131-3/+2
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'ParallelEclipseMakefiles2'Brad King2010-12-143-8/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27ee50a Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631) 50d21d4 Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
| * | | | | | | Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631)Alex Neundorf2010-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable has been supported since 2.6 I think, having it in the cache makes it easier to use (see bug report #9631) Alex
| * | | | | | | Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generatorAlex Neundorf2010-12-123-8/+14
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable can be set to command line arguments which will be passed to make when eclipse invokes make, e.g. you can enter "-j8" to get 8 parallel builds (#9930) Alex
* | | | | | | Merge topic 'vim-help'Brad King2010-12-141-0/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce01321 Inline help in vim with vertical split.
| * | | | | | | Inline help in vim with vertical split.Matthias Kretz2010-12-131-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a small script to open a vertical split window with the output of cmake --help-command for the word under the cursor.
* | | | | | | | Merge topic 'custom-command-depend'Brad King2010-12-148-39/+54
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ced1d5e Skip file-level dependencies on custom targets (#11332) e30a775 Improve signature of cmLocalGenerator::GetRealDependency