summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | CMake: Write symlinks to directories as files in archives (#12284)Johan Björk2011-09-061-1/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not recurse through directory symlinks when adding files. Recursing through directory symlinks will generate broken archives, i.e., they will look something like this: foo -> bar/bar foo/Info <- Shouldn't be in archive. bar/bar bar/bar/Info
* | | | Merge topic 'fix-12260-fix-valgrind-output-parsing'David Cole2011-09-071-12/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | eb4af16 CTest: Fixed valgrind output parsing (#12260)
| * | | | CTest: Fixed valgrind output parsing (#12260)Johannes Stallkamp2011-09-051-12/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | Previous code was missing some matches in the output. This commit fixes the regular expressions used for output matching to detect numbers reported with commas in them, too.
* | | | Merge topic 'fix-12370-no-space-in-target-name'David Cole2011-09-071-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | e05e0f1 Xcode: No spaces in makefile target names (#12370)
| * | | | Xcode: No spaces in makefile target names (#12370)Johan Björk2011-09-051-1/+3
| |/ / / | | | | | | | | | | | | Don't use spaces for target names in the makefiles.
* | | | Merge topic 'fix-errors-from-cppcheck-issue-12440'David Cole2011-09-075-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1751fb ccmake: Fix off-by-one memory access error 4868921 Fix file() command descriptor leak on error f47393c CTest: Fix memory leaks on error
| * | | | ccmake: Fix off-by-one memory access errorThomas Jarosch2011-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credit goes to "cppcheck". Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
| * | | | Fix file() command descriptor leak on errorThomas Jarosch2011-09-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credit goes to "cppcheck". Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
| * | | | CTest: Fix memory leaks on errorThomas Jarosch2011-09-023-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credit goes to "cppcheck". Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
* | | | | Merge topic 'fortran-format'David Cole2011-09-079-2/+158
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90efed6 Xcode: Honor Fortran_FORMAT target and source file property 5c0c635 Fortran: Add support for free- and fixed-form flags 47a0c75 VS: Map Fortran free- and fixed-format flags to IDE options d6e2a06 VS: Map per-source Fortran flags to IDE options
| * | | | | Xcode: Honor Fortran_FORMAT target and source file propertyBrad King2011-09-011-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert the target property to the IFORT_LANG_SRCFMT build setting. Convert the source property to the per-source COMPILER_FLAGS setting.
| * | | | | Fortran: Add support for free- and fixed-form flagsBrad King2011-08-318-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a "Fortran_FORMAT" target and source file property. Initialize the target property from a "CMAKE_Fortran_FORMAT" variable. Interpret values "FIXED" and "FREE" to indicate the source file format. Append corresponding flags to the compiler command line.
| * | | | | VS: Map Fortran free- and fixed-format flags to IDE optionsBrad King2011-08-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Intel Fortran flags "-free" and "-fixed" to the table so they appear in the IDE correctly.
| * | | | | VS: Map per-source Fortran flags to IDE optionsBrad King2011-08-311-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the VS generator per-source flag parsing to use the Fortran flag map for Fortran sources.
* | | | | | Merge topic 'fix-zero-check-mistake'David Cole2011-09-071-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57bc42a Xcode: Do not emit the ZERO_CHECK target more than once
| * | | | | | Xcode: Do not emit the ZERO_CHECK target more than onceJohan Bjork2011-09-011-1/+2
| | | | | | |
* | | | | | | Merge topic 'save-cache-at-end-of-generate'David Cole2011-09-071-0/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c28b48 CMake: Add SaveCache at the end of successful Generate calls
| * | | | | | | CMake: Add SaveCache at the end of successful Generate callsDavid Cole2011-09-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this call, recent refactoring changes in the Visual Studio generators yield no GUIDs saved in the cache. Putting the SaveCache here *once* avoids scattering many calls to it in specific generators.
* | | | | | | | KWSys Nightly Date StampKWSys Robot2011-09-071-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | KWSys: Add symlinks to directories as files (#12284)David Cole2011-09-061-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This behaviour was previously broken; regardless of the RecurseThroughSymLinks value, symlinks to directories were NEVER added as files in the results. When RecurseThroughSymLinks is ON, symlinks to directories should be recursed as if they were the actual directories to gather the files within. However, when RecurseThroughSymLinks is OFF, symlinks to directories should be returned as files in the result. Inspired-by: Johan Björk <phb@spotify.com>
* | | | | | | KWSys: Remove always-true dir_only parameterDavid Cole2011-09-062-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Its presence confuses, and, since it is always true, is useless.
* | | | | | | KWSys Nightly Date StampKWSys Robot2011-09-061-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-09-051-1/+1
| | | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-09-041-1/+1
| | | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-09-031-1/+1
| |_|_|/ / |/| | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-09-021-1/+1
| | | | |
* | | | | Merge topic 'fix-xcode4-test-failures'David Cole2011-09-011-1/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0cf4fa5 Xcode4: Requires more quoting of single quote char
| * | | | | Xcode4: Requires more quoting of single quote charDavid Cole2011-08-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically in per-target and per-file compiler definition string values. The Preprocessor test now passes on Xcode 4 builds after this commit.
* | | | | | Merge topic 'AutomocForQt'David Cole2011-09-011-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | 7bf2c1a Create moc files in the current binary dir, not the top level.
| * | | | | Create moc files in the current binary dir, not the top level.Stephen Kelly2011-08-251-1/+1
| | | | | |
* | | | | | KWSys: Fix std::string hash function for BorlandBrad King2011-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Borland ignores "const" qualifiers in template specializations.
* | | | | | KWSys: Add hash function for std::stringBrad King2011-09-011-0/+11
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added hashing fuction for std::string. This adds default support for std::strings to KWSys hashing containers. Author: Bradley Lowekamp <blowekamp@mail.nih.gov> Suggested-by: Arnaud Gelas <arnaud_gelas@hms.harvard.edu> Change-Id: I7e7a0c356b73d19868a3df1db57b702ec7fffe9d
* | | | | KWSys Nightly Date StampKWSys Robot2011-09-011-2/+2
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-08-311-1/+1
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-08-301-1/+1
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-08-291-1/+1
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-08-281-1/+1
| | | | |
* | | | | KWSys Nightly Date StampKWSys Robot2011-08-271-1/+1
| |_|/ / |/| | |
* | | | KWSys Nightly Date StampKWSys Robot2011-08-261-1/+1
| | | |
* | | | Merge topic 'fix-11690-preserve-xcode-objectids'David Cole2011-08-254-21/+89
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1834f23 Xcode: Save object id values in CMakeCache.txt (#11690)
| * | | | Xcode: Save object id values in CMakeCache.txt (#11690)David Cole2011-08-244-21/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For project and target objects, save their ids in CMakeCache.txt. Hopefully, that will be enough to allow user settings to be saved across multiple CMake generate operations. Other object types may also need their ids saved: if so, more code than this commit will be necessary...
* | | | | Merge topic 'fix_nmake_var_plus'David Cole2011-08-251-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 281f51e Fix for bug #12413, nmake did not handle targets with + in the name.
| * | | | | Fix for bug #12413, nmake did not handle targets with + in the name.Bill Hoffman2011-08-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you had a + in the name of a target with nmake, it created a variable in the makefile that used + in its name, which is not allowed by nmake. To make the implementation easier, + is now not allowed for any make generators as part of a variable name.
* | | | | | Merge topic 'UsingCMakeLikePkgConfig2'David Cole2011-08-256-25/+181
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59238dc Fix --find-package mode on Cygwin, where enable_language(RC) is called 98472e4 Require the current cmake version in --find-package mode a6ccf3c Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile 4386918 Fix line length 7d69310 Only enable the test when using GNU make 3011149 Make the test harder by always having a space in the include dirs ab57ff6 Make the --find-package test harder 626fc71 Much improved test, should now be executed on all UNIXes ec6982d Disable any STATUS output in --find-package mode e552ae7 Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode e589589 Rename helper macros print_compile_flags() to set_compile_flags_var() aecfc1f Fix test on OpenBSD with BSD make 6bb4ca3 The makefile for the test was kindof wrong fd15b5e Only run the test if we are using a makefile generator under UNIX 9fc87c6 Add a test for the new --find-package mode d3ae0ff Improve documentation for --find-package mode bf07375 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig b0e3578 Use the file-utility to test for 64bit if there is no /usr/lib64 53edfb2 Better support for lib64 and Debian multiarch b8fdaa1 Fix copyright notice in new CMakeFindPackageMode.cmake 7690edf Replace cmake::GetScriptMode() with GetWorkingMode() e4f603b Implement find-package mode of cmake a91d662 Add find-package mode, which does nothing yet b976e70 Make clLocalGenerator::GetTargetFlags() public
| * | | | | | Fix line lengthAlex Neundorf2011-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | Disable any STATUS output in --find-package modeAlex Neundorf2011-08-151-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any STATUS output will be fed directly to the compiler, which will not understand any status messages. Error messages are fine, since they are errors and it is ok if the compiler fails in such cases. Alex
| * | | | | | Improve documentation for --find-package modeAlex Neundorf2011-08-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
| * | | | | | Replace cmake::GetScriptMode() with GetWorkingMode()Alex Neundorf2011-08-095-31/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
| * | | | | | Implement find-package mode of cmakeAlex Neundorf2011-07-021-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In find-package mode, cmake executes Modules/CMakeFindPackage.cmake, which calls find_package(), and this is then evaluated in cmake.cxx, which prints an appropriate message to stdout, so it can be used e.g. in a normal Makefile: $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=EXIST JPEG found. $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK -rdynamic -ljpeg Alex
| * | | | | | Add find-package mode, which does nothing yetAlex Neundorf2011-07-024-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -add command line argument --find-package and handle it, i.e. call an empty function cmake::FindPackage() -add basic help Alex