CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

PROJECT(marketctp)
SET(CMAKE_CXX_STANDARD 17)


INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../include)

SET(src MarketCTP.cc)
FIND_PACKAGE(Threads REQUIRED)
SET(LIBS 
    boost_filesystem 
    ${CMAKE_CURRENT_SOURCE_DIR}/../../lib/libthostmduserapi_se.so
    ${CMAKE_THREAD_LIBS_INIT}
)
ADD_LIBRARY(marketctp SHARED ${src})

TARGET_LINK_LIBRARIES(marketctp PRIVATE
    ${LIBS}
)