add socks_decoder, stratum_decoder and session_flags
This commit is contained in:
13
decoders/socks/CMakeLists.txt
Normal file
13
decoders/socks/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
add_definitions(-fPIC)
|
||||
|
||||
set(SOCKS_SRC socks_decoder.cpp)
|
||||
|
||||
add_library(socks STATIC ${SOCKS_SRC})
|
||||
add_library(socks_dyn SHARED ${SOCKS_SRC})
|
||||
set_target_properties(socks PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/version.map")
|
||||
target_include_directories(socks PUBLIC ${CMAKE_SOURCE_DIR}/deps/)
|
||||
target_link_libraries(socks toml)
|
||||
set_target_properties(socks PROPERTIES PREFIX "")
|
||||
|
||||
set_target_properties(socks_dyn PROPERTIES PREFIX "")
|
||||
target_link_libraries(socks_dyn toml)
|
||||
Reference in New Issue
Block a user