diff options
author | Aki <please@ignore.pl> | 2021-10-01 23:46:47 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-01 23:46:47 +0200 |
commit | ddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (patch) | |
tree | 4e07bfaebede6531a70984fdebc855bca52f394a /NetEx/CMakeLists.txt | |
parent | 3a507e08b1d4e5970b27401a7e6517570d529400 (diff) | |
parent | c2d2c3551501110fddd78674d5435bfaa70382a3 (diff) | |
download | starshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.zip starshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.tar.gz starshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.tar.bz2 |
Project is now built with CMake
Diffstat (limited to 'NetEx/CMakeLists.txt')
-rw-r--r-- | NetEx/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt new file mode 100644 index 0000000..ccb0f01 --- /dev/null +++ b/NetEx/CMakeLists.txt @@ -0,0 +1,29 @@ +project(NetEx) +add_library( + NetEx + STATIC + HttpClient.cpp + HttpServer.cpp + HttpServlet.cpp + HttpServletExec.cpp + NetAddr.cpp + NetClient.cpp + NetGram.cpp + NetHost.cpp + NetLayer.cpp + NetLink.cpp + NetMsg.cpp + NetPeer.cpp + NetServer.cpp + NetSock.cpp + ) +set(WINDOWSSDK_PATH "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um") +target_include_directories( + NetEx + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} + PUBLIC ${WINDOWSSDK_PATH} # FIXME + ) +target_link_libraries( + NetEx + PUBLIC FoundationEx + ) |