wangzhengquan
2021-01-18 01e202b60cc8aceb65fd6c82949e2a2b08142f8c
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)