summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'hg-modules'David Cole2012-08-205-4/+249
|\ | | | | | | | | | | 91053cd ExternalProject: Add Mercurial (hg) repository support ea5bfb1 Add FindHg module to find Mercurial
| * ExternalProject: Add Mercurial (hg) repository supportBrad King2012-08-163-3/+200
| | | | | | | | | | | | | | Add options HG_REPOSITORY and HG_TAG to specify an external project hosted in a Mercurial repository. Teach ExternalProject to clone the repository and update from it. Extend the ExternalProject test to try a Mercurial repository when hg is available.
| * Add FindHg module to find MercurialBrad King2012-08-142-1/+49
| | | | | | | | Also teach the CMakeOnly.AllFindModules to verify Hg version detection.
* | Merge topic 'relwithdebinfo-consistency'David Cole2012-08-2010-10/+10
|\ \ | | | | | | | | | | | | 0ddfc51 Add -DNDEBUG to RelWithDebInfo flags where where Release flags had it.
| * | Add -DNDEBUG to RelWithDebInfo flags where where Release flags had it.Clinton Stimpson2012-08-1610-10/+10
| | | | | | | | | | | | | | | | | | Previously, it was inconsistent in that some platforms/compilers had this flag for the RelWithDebInfo configuration and some didn't. This fixes issue #11366.
* | | Merge topic 'deployqt4-destdir'David Cole2012-08-201-2/+2
|\ \ \ | | | | | | | | | | | | | | | | 1e3248c DeployQt4: Include DESTDIR for some cpack generators.
| * | | DeployQt4: Include DESTDIR for some cpack generators.Clinton Stimpson2012-08-161-2/+2
| |/ /
* | | Merge topic 'fphsa-message'David Cole2012-08-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 213a9e5 fphsa: clarify message about minimum required version found.
| * | | fphsa: clarify message about minimum required version found.Clinton Stimpson2012-08-161-1/+1
| |/ / | | | | | | | | | Thanks to Dubrovskiy Viacheslav.
* | | Merge topic 'clarify-if-is_newer_than-docs'David Cole2012-08-201-1/+6
|\ \ \ | | | | | | | | | | | | | | | | 0eaaa86 CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)
| * | | CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)David Cole2012-08-151-1/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | ...comparison operator in the IF command. In the event of a tie, we intentionally return "true" so that dependent build operations are guaranteed to occur until one file is definitively newer than the other file. A tie means we're not sure, so return true to be on the safe side.
* | | Merge topic 'list-command-argument-fixes'David Cole2012-08-202-0/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | 08c71ac CMake.List test: explicitely test with lists containing only an empty string 52d9c38 list command: error on too many arguments
| * | | CMake.List test: explicitely test with lists containing only an empty stringRolf Eike Beer2012-08-151-0/+11
| | | |
| * | | list command: error on too many argumentsRolf Eike Beer2012-08-151-0/+18
| |/ / | | | | | | | | | | | | SORT, REVERSE, and REMOVE_DUPLICATES can only operate on exactly one argument. Until now all other arguments were silently ignored. Give an error instead.
* | | Merge topic 'more-endif-closing-style-cleanups'David Cole2012-08-209-41/+16
|\ \ \ | | | | | | | | | | | | | | | | 84b49be Remove CMake multiline block-end command arguments
| * | | Remove CMake multiline block-end command argumentsMarcin Wojdyr2012-08-159-41/+16
| |/ / | | | | | | | | | removing arguments omitted in 9db3116226cb99fcf54e936c833953abcde9b729
* | | Merge topic 'FindX11-duplicate-includes-13316'David Cole2012-08-201-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | dd784dd FindX11: avoid calling list(REMOVE_DUPLICATES) on an empty list 97c338b FindX11: remove duplicates from X11 include path list (#13316)
| * | | FindX11: avoid calling list(REMOVE_DUPLICATES) on an empty listRolf Eike Beer2012-08-151-1/+3
| | | |
| * | | FindX11: remove duplicates from X11 include path list (#13316)Rolf Eike Beer2012-08-141-0/+3
| | |/ | |/| | | | | | | | | | Most if not all X11 includes are typically in the same directory, so this usually returns a huge list with only very few different entries.
* | | Merge topic 'xcode-asm'David Cole2012-08-202-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | 97140d3 Tests/Assembler: Do not use assembler in universal binaries f3477ed Xcode: Set ASM source language in project file (#13472)
| * | | Tests/Assembler: Do not use assembler in universal binariesBrad King2012-08-151-1/+2
| | | | | | | | | | | | | | | | | | | | If CMAKE_OSX_ARCHITECTURES is set then the computed assembler .s source file may not work for all architectures. Skip it in that case.
| * | | Xcode: Set ASM source language in project file (#13472)Brad King2012-08-152-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also teach the Assembler test to build under Xcode. Suggested-by: Tobias Pape <tobiaspape@gmail.com>
* | | | Merge topic 'clang-asm'David Cole2012-08-202-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | 7e8471c Recognize Clang ASM support (#13473)
| * | | Recognize Clang ASM support (#13473)Brad King2012-08-152-1/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Since commit 571dc748 (Recognize Clang C and C++ compilers, 2010-05-17) we recognize Clang C and C++ support. Add Compiler/Clang-ASM.cmake to enable use of Clang for ASM too. Also teach Assembler test to try Clang as an assembler. Suggested-by: Tobias Pape <tobiaspape@gmail.com>
* | | Merge topic 'generator-expression-conditions'David Cole2012-08-2021-1/+227
|\ \ \ | | | | | | | | | | | | | | | | | | | | 9d9f616 Add $<CONFIG:...> boolean query generator expression ebf05ab Add boolean generator expressions
| * | | Add $<CONFIG:...> boolean query generator expressionBrad King2012-08-159-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This expression evaluates to '1' or '0' to indicate whether the build configuration for which the expression is evaluated matches tha named configuration. In combination with the "$<0:...>" and "$<1:...>" expressions this allows per-configuration content to be generated.
| * | | Add boolean generator expressionsBrad King2012-08-1517-1/+199
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add generator expressions that combine and use boolean test results: $<0:...> = empty string (ignores "...") $<1:...> = content of "..." $<AND:?[,?]...> = '1' if all '?' are '1', else '0' $<OR:?[,?]...> = '0' if all '?' are '0', else '1' $<NOT:?> = '0' if '?' is '1', else '1' These will be useful to evaluate (future) boolean query expressions and condition content on the results. Include tests and documentation.
* | | Merge topic 'CheckTypeSize-doc-10579'David Cole2012-08-205-2/+73
|\ \ \ | | | | | | | | | | | | | | | | | | | | c6fed68 CheckTypeSize: add a test for size of struct members 48783b7 CheckTypeSize: show in documentation how to get struct member size (#10579)
| * | | CheckTypeSize: add a test for size of struct membersRolf Eike Beer2012-08-144-2/+68
| | | |
| * | | CheckTypeSize: show in documentation how to get struct member size (#10579)Rolf Eike Beer2012-08-141-0/+5
| |/ /
* | | Merge topic 'DESTDIR-documentation-enhancement'David Cole2012-08-203-5/+22
|\ \ \ | | | | | | | | | | | | | | | | d593cef Enhance DESTDIR documentation. Fixes #0012374.
| * | | Enhance DESTDIR documentation. Fixes #0012374.Eric NOULARD2012-08-143-5/+22
| |/ /
* | | Merge topic 'GetPrerequisites-file_cmd-advanced'David Cole2012-08-201-0/+1
|\ \ \ | | | | | | | | | | | | | | | | d269984 GetPrerequisites: Mark file_cmd as advanced cache entry
| * | | GetPrerequisites: Mark file_cmd as advanced cache entryBrad King2012-08-141-0/+1
| |/ / | | | | | | | | | | | | This internal implementation detail should not pollute the main cache view of projects that include GetPrerequisites.
* | | CMake Nightly Date StampKitware Robot2012-08-201-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2012-08-191-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2012-08-181-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2012-08-171-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2012-08-161-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2012-08-151-1/+1
|/
* Merge topic 'cleanup-style'Brad King2012-08-141063-20956/+20943
|\ | | | | | | | | | | | | | | | | | | | | | | | | 68bc863 Merge branch 'master' into cleanup-style a05eba5 CMakeVersion.bash: Update sed expression for lower-case 'set' 3c0488d Fix WarnUnusedUnusedViaUnset test pass/fail regex 6c2c483 Remove trailing TAB from NSIS.template.in 9db3116 Remove CMake-language block-end command arguments 77543bd Convert CMake-language commands to lower case 7bbaa42 Remove trailing whitespace from most CMake and C/C++ code be9db98 Merge topic 'watcom-compiler-version' af42ae4 Watcom: Simplify compiler version detection (#11866)
| * Merge branch 'master' into cleanup-styleBrad King2012-08-141-1/+1
| |\ | |/ |/| | | | | Conflicts: Source/CMakeVersion.cmake
* | CMake Nightly Date StampKitware Robot2012-08-141-1/+1
| |
| * CMakeVersion.bash: Update sed expression for lower-case 'set'Brad King2012-08-141-1/+1
| | | | | | | | | | | | | | Since commit 77543bde (Convert CMake-language commands to lower case, 2012-08-13) the CMakeVersion.cmake file contains lower-case 'set' commands. Teach CMakeVersion.bash to replace the lower-case name instead of the old upper-case 'SET'.
| * Fix WarnUnusedUnusedViaUnset test pass/fail regexBrad King2012-08-141-2/+2
| | | | | | | | | | | | | | After conversion of Modules .cmake files to lower case the FAIL_REGULAR_EXPRESSION for this test matched warnings in modules other than the test line itself. Make the pass and fail regular expressions specific to the file containing the lines they are testing.
| * Remove trailing TAB from NSIS.template.inBrad King2012-08-141-1/+1
| | | | | | | | | | | | This was missed by commit 7bbaa428 (Remove trailing whitespace from most CMake and C/C++ code, 2012-08-13) which only removed trailing spaces, not TABs.
| * Remove CMake-language block-end command argumentsKitware Robot2012-08-13385-4107/+4107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
| * Convert CMake-language commands to lower caseKitware Robot2012-08-13547-16123/+16123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
| * Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-13614-3951/+3951
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
| * Merge topic 'watcom-compiler-version'Brad King2012-08-131-37/+24
| |\ |/ / | | | | af42ae4 Watcom: Simplify compiler version detection (#11866)