stuff-from-scratch/src/network/CMakeLists.txt
2020-05-02 08:31:03 +01:00

14 lines
No EOL
494 B
CMake

list(APPEND network_LIB_INCLUDES
NetworkManager.cpp
sockets/Socket.cpp
sockets/UnixSocketInterface.cpp)
add_library(network SHARED ${network_LIB_INCLUDES})
target_include_directories(network PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}/sockets"
"${PROJECT_SOURCE_DIR}/src/core/http"
)
target_link_libraries(network PUBLIC core)