forked from shikanokotan/s3tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
25 lines (19 loc) · 747 Bytes
/
CMakeLists.txt
File metadata and controls
25 lines (19 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake_minimum_required(VERSION 3.4)
project(s3tp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
set(CONNECTOR_SRC_FILES
connector/S3tpConnector.cpp
connector/S3tpConnector.h
core/S3tpShared.h
core/S3tpShared.cpp
core/Logger.h
connector/S3tpCallback.h)
add_library(s3tp SHARED ${CONNECTOR_SRC_FILES})
target_link_libraries(s3tp pthread)
install(DIRECTORY connector/ DESTINATION include/s3tp/s3tp/connector)
install(DIRECTORY core/ DESTINATION include/s3tp/s3tp/core)
install(TARGETS s3tp LIBRARY DESTINATION lib/s3tp)
install(FILES s3tp-config.cmake DESTINATION lib/s3tp)
#add_subdirectory(test)
#add_subdirectory(debug)