[ACCEPTED]-How to abort processing CMakeLists for current directory-cmake
Accepted answer
From the CMake documentation
return: Return from a directory 7 or function.
return()
Returns from a directory or 6 function. When this command is encountered, it caused 5 process of the current function or directory 4 to stop and control is return to the caller 3 of the function, or the parent directory 2 if any. Note that a macro is not a function 1 and does not handle return like a function does.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.