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