wangzhengquan
2021-01-25 6c5289ee6886ffa78e5cc95a5b6947145d2001e1
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)