From f9bc90d009d7c96d97e4bfa7a5679e01dddd5dfd Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 28 Sep 2021 21:51:34 +0200 Subject: Created best-guess cmake stubs Structure of the project as whole is... questionable. It looks that the directories are intermingled even if they appear separated. This is a first guess to have at least something in place. --- NetEx/CMakeLists.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 NetEx/CMakeLists.txt (limited to 'NetEx/CMakeLists.txt') diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt new file mode 100644 index 0000000..8cf742e --- /dev/null +++ b/NetEx/CMakeLists.txt @@ -0,0 +1,23 @@ +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 + ) +target_include_directories( + NetEx + PUBLIC . + ) -- cgit v1.1 From be0a9e251a9c217ce49ac84c3ad6e5383b2d3f4a Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 28 Sep 2021 22:39:53 +0200 Subject: Added missing FoundationEx dependencies --- NetEx/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NetEx/CMakeLists.txt') diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt index 8cf742e..553ab30 100644 --- a/NetEx/CMakeLists.txt +++ b/NetEx/CMakeLists.txt @@ -21,3 +21,7 @@ target_include_directories( NetEx PUBLIC . ) +target_link_libraries( + NetEx + PUBLIC FoundationEx + ) -- cgit v1.1 From 545889c990d9155635dfca73345be37f207b2d68 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 16:49:25 +0200 Subject: Fixed NetEx includes against win sdk --- NetEx/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NetEx/CMakeLists.txt') diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt index 553ab30..ccb0f01 100644 --- a/NetEx/CMakeLists.txt +++ b/NetEx/CMakeLists.txt @@ -17,9 +17,11 @@ add_library( 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 . + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} + PUBLIC ${WINDOWSSDK_PATH} # FIXME ) target_link_libraries( NetEx -- cgit v1.1