# 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)