mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add block() and endblock() commands offering the capability to create new scopes for variables and/or policies. Fixes: #20171
7 lines
52 B
CMake
7 lines
52 B
CMake
|
|
block()
|
|
if (TRUE)
|
|
elseif(FALSE)
|
|
endblock()
|
|
endif()
|