wangzhengquan
2021-01-18 71c847e99c0ce99fae955b08c0aafecb0fb9bdd6
1
2
3
4
5
6
7
8
9
10
11
# add the executable
add_executable(test1 test1.cpp )
target_link_libraries(test1 PUBLIC  ${EXTRA_LIBS} )
 
target_include_directories(test1 PUBLIC
                            "${PROJECT_BINARY_DIR}"
                             ${EXTRA_INCLUDES}
                            )
 
# add the install targets
install(TARGETS test1 DESTINATION bin)