Say that we have the command call How to call I tried to set the search path through But none of these works. Still complained this B / CMKelist Content of Txt Now, everything else in that file, along with another CMakeLists.txt, can also be avoided if you have goals in B / CMKellists Tx , if you have your code If you can modify, then it would be better to define your tasks in the "top level" CMakeLists.txt foo in CMakeLists.txt which is the folder
/ A .
foo is defined in the antirection CMakeLists.txt in the folder
/ B .
foo from
/B/CemakeLists.txt within
/ A / CemakeLists.txt Can be a reference
/ B / CemakeLists.txt :
CMAKE_INCLUDE_PATH
CMAKE_MODULE_PATH
CMAKE_SOURCE_DIR
unknown CMake command "foo"
A / CMKelist Txt
function (foo) message (status "heya") end () Code>
Semicamini Mum_required (version 2.8) includes ($ {CMAKE_CURRENT_SOURCE_DIR} /../A / CMakeLists.txt) foo ()
add_sub directory .
No comments:
Post a Comment