tor_multipath_voip/CMakeLists.txt

35 lines
687 B
Text
Raw Normal View History

2019-02-08 14:28:39 +01:00
cmake_minimum_required(VERSION 2.6)
project(donar)
list(APPEND CSOURCES
src/net_tools.h
src/net_tools.c
src/socks5.h
src/socks5.c
src/tor_os.h
src/tor_os.c
2019-02-08 17:37:02 +01:00
src/tor_ctl.h
src/tor_ctl.c
2019-02-11 10:23:38 +01:00
src/donar_client.h
src/donar_client.c
src/donar_server.h
src/donar_server.c
2019-02-11 18:56:52 +01:00
src/evt_core.h
src/evt_core.c
2019-02-11 22:40:00 +01:00
src/algo_skel.h
src/algo_naive.c
2019-02-12 11:17:37 +01:00
src/utils.h
src/utils.c
2019-02-08 14:28:39 +01:00
)
2019-02-12 19:40:12 +01:00
add_executable(donar ${CSOURCES} src/donar.c)
2019-02-08 14:28:39 +01:00
2019-02-11 18:56:52 +01:00
find_package(PkgConfig REQUIRED)
pkg_search_module(GLIB REQUIRED glib-2.0)
2019-02-12 19:40:12 +01:00
target_include_directories(donar PRIVATE ${GLIB_INCLUDE_DIRS})
target_link_libraries(donar ${GLIB_LDFLAGS})
2019-02-11 18:56:52 +01:00
2019-02-12 19:40:12 +01:00
install(TARGETS donar
2019-02-08 14:28:39 +01:00
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib)