This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
8cdac469d1
CMake
/
Tests
/
RunCMake
/
GeneratorExpression
/
CMakeLists.txt
4 lines
101 B
CMake
Raw
Normal View
History
Unescape
Escape
Cygwin: Avoid legacy warnings in RunCMake.* tests Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
2013-08-13 17:46:14 +04:00
cmake_minimum_required
(
VERSION
2.8.4
)
Add boolean generator expressions 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.
2012-08-13 17:49:53 +04:00
project
(
${
RunCMake_TEST
}
NONE
)
include
(
${
RunCMake_TEST
}
.cmake
)