project(test) # include include_directories(.) # add src aux_source_directory(. DIR_TEST) # generate target add_executable(${PROJECT_NAME} ${DIR_TEST}) # link libary target_link_libraries(${PROJECT_NAME} unicstl) # install set(CMAKE_INSTALL_PREFIX "./release") install(TARGETS ${PROJECT_NAME} DESTINATION bin)