summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | Make clLocalGenerator::GetTargetFlags() publicAlex Neundorf2011-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will later on be used for getting the link flags Alex
* | | | | | Merge topic 'AutomocForQt'David Cole2011-08-2517-74/+990
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 920a046 QtAutomoc: Eliminate compiler warning b00463f QtAutomoc test: Pass QT_QMAKE_EXECUTABLE e78ce44 Fix automoc with VS builds: apply patch from Bill 71165e9 Silence warning in automoc: use long instead of int 1879bcc Fix build: use std::ios::out|ios::trunc instead of std::ios_base::out 678e124 Only enable the automoc test after checking that Qt4 works 71c29d1 Fix bootstrap test with automoc afb3edc Fix warnings add30e9 Fix build: non-void function must return a value 7e6d845 Automoc.cmake is not needed anymore 2963d0b Fix logic which decides when to execute automoc test 77a5c6e Add documentation for AUTOMOC, add initialization via CMAKE_AUTOMOC bf8ef77 Add a test for automoc d045fd4 Nicer progress message for the automoc target 50cd6ce Move automoc processing from add_executable/library to cmGlobalGenerator cbaac2a Remove trailing whitespace c27607b Refactor SetupAutomocTarget() so it can be run after creating the target 24d9b7d Remove trailing whitespace 58b7fe6 Use cout instead of printf() 72caf4d Add the generated automoc.cpp file to the cleaned files ddb517d Color output when running moc 9303295 Initialize verbose based onb the env.var. ace1215 Move code for parsing a cpp-file from the big loop to separate function 735a5bb Fix line lengths 83b730c Add AUTOMOC to the add_library() command 126c6ea Add the cmake module required currently for automoc de91feb Remove the need to check for .h/.cxx during buildtime d65689a Add actual automoc code from automoc d1c0a5f Start implementing skeleton for automoc in cmake a65011b Start work on automoc: add empty cmQtAutomoc class
| * | | | | QtAutomoc: Eliminate compiler warningDavid Cole2011-08-191-1/+1
| | | | | |
| * | | | | Fix automoc with VS builds: apply patch from BillAlex Neundorf2011-08-184-39/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the creation of VS GUIDs from the final pass to AddHelperCommands() and should fix the failing automoc tests with VS. Alex
| * | | | | Silence warning in automoc: use long instead of intAlex Neundorf2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Alex