审议以下<代码>CMakeLists.txt文档:
add_subdirectory(execA)
add_subdirectory(libB)
install(TARGETS execA libB
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
我有以下错误:
install TARGETS given target "execA" which does not exist in this
directory
www.un.org/Depts/DGACM/index_spanish.htm 有自己的<代码>CMakeList.txt文档,并位于> 项目
目录以及建筑名录Im 每天cmake/code>(
cmake .
):
project
|------ CMakeList.txt (the one with the code)
|----execA
| - .cpp, .hpp and CMakelist.txt
|----libB
| - .cpp, .hpp and CMakelist.txt
|---- lib
|---- bin
---- build (where I´m commanding: $ cmake ..
我如何纠正这一错误?