6
次の例のように、CMakeの関数からどのように早く戻ってきますか?cmakeの関数からどのように早く戻ってきますか?
function do_the_thing(HAS_PROPERTY_A)
# don't do things that have property A when property A is disabled globally
if (PROPERTY_A_DISABLED AND HAS_PROPERTY_A)
# What do you put here to return?
endif()
# do things and implement magic
endfunction()
* double facepalm * –