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