2 project(libt2n-example1-client-wrapper)
4 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
7 set(CMAKE_COLOR_MAKEFILE ON)
8 cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
10 # Source package generation
11 set(CPACK_SOURCE_GENERATOR TGZ)
12 set(CPACK_SOURCE_IGNORE_FILES "~$;\\\\.git;build;build-rpm")
13 set(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION}")
15 # Find external packages
16 # include(FindPkgConfig)
18 # pkg_check_modules(T2NEXAMPLE REQUIRED t2nexample=0.1)
19 # include_directories(${T2NEXAMPLE_INCLUDE_DIRS})
20 # link_directories(${T2NEXAMPLE_LIBRARY_DIRS})
25 set(libt2n_example1_client_wrapper_SOURCES
30 add_executable(libt2n-example1-client-wrapper ${libt2n_example1_client_wrapper_SOURCES})
33 # target_link_libraries(libt2n-example1-client-wrapper ${T2NEXAMPLE_LIBRARIES})
34 target_link_libraries(libt2n-example1-client-wrapper t2nexample)
37 # install(TARGETS libt2n-example1-client-wrapper DESTINATION bin)