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
ff6ae3ecfc
CMake
/
Tests
/
FunctionTest
/
Util.cmake
4 lines
91 B
CMake
Raw
Normal View
History
Unescape
Escape
ENH: change raise_scope signature to be safer for returned varuables
2008-01-03 19:22:33 +03:00
function
(
tester
)
ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE) Alex
2008-01-18 23:52:54 +03:00
set
(
tester_res
"${CMAKE_CURRENT_LIST_FILE}"
PARENT_SCOPE
)
Remove CMake-language block-end command arguments 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
2012-08-13 21:50:14 +04:00
endfunction
(
)