| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
91053cd ExternalProject: Add Mercurial (hg) repository support
ea5bfb1 Add FindHg module to find Mercurial
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Also teach the CMakeOnly.AllFindModules to verify Hg version detection.
|
|\ \
| | |
| | |
| | |
| | | |
0ddfc51 Add -DNDEBUG to RelWithDebInfo flags where where Release flags had it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, it was inconsistent in that some platforms/compilers
had this flag for the RelWithDebInfo configuration and some didn't.
This fixes issue #11366.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
1e3248c DeployQt4: Include DESTDIR for some cpack generators.
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
213a9e5 fphsa: clarify message about minimum required version found.
|
| |/ /
| | |
| | |
| | | |
Thanks to Dubrovskiy Viacheslav.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
0eaaa86 CMake: Clarify the documentation for if(f1 IS_NEWER_THAN f2)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
08c71ac CMake.List test: explicitely test with lists containing only an empty string
52d9c38 list command: error on too many arguments
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
SORT, REVERSE, and REMOVE_DUPLICATES can only operate on exactly one argument.
Until now all other arguments were silently ignored. Give an error instead.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
84b49be Remove CMake multiline block-end command arguments
|
| |/ /
| | |
| | |
| | | |
removing arguments omitted in 9db3116226cb99fcf54e936c833953abcde9b729
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
dd784dd FindX11: avoid calling list(REMOVE_DUPLICATES) on an empty list
97c338b FindX11: remove duplicates from X11 include path list (#13316)
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
97140d3 Tests/Assembler: Do not use assembler in universal binaries
f3477ed Xcode: Set ASM source language in project file (#13472)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
If CMAKE_OSX_ARCHITECTURES is set then the computed assembler .s source
file may not work for all architectures. Skip it in that case.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also teach the Assembler test to build under Xcode.
Suggested-by: Tobias Pape <tobiaspape@gmail.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
7e8471c Recognize Clang ASM support (#13473)
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
9d9f616 Add $<CONFIG:...> boolean query generator expression
ebf05ab Add boolean generator expressions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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 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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
c6fed68 CheckTypeSize: add a test for size of struct members
48783b7 CheckTypeSize: show in documentation how to get struct member size (#10579)
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
d593cef Enhance DESTDIR documentation. Fixes #0012374.
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
d269984 GetPrerequisites: Mark file_cmd as advanced cache entry
|
| |/ /
| | |
| | |
| | |
| | | |
This internal implementation detail should not pollute the main
cache view of projects that include GetPrerequisites.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |\
| |/
|/|
| |
| | |
Conflicts:
Source/CMakeVersion.cmake
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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'.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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/ \+$//'
|
| |\
|/ /
| |
| | |
af42ae4 Watcom: Simplify compiler version detection (#11866)
|