Use shim in Listener/Deci2Server

This commit is contained in:
Tyler Wilding
2020-09-07 19:59:44 -04:00
parent 1ab8329e3c
commit 84e0bee6f4
8 changed files with 88 additions and 81 deletions
+3 -4
View File
@@ -18,9 +18,8 @@ add_executable(goalc-test
IF (WIN32)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
# TODO - implement windows listener
message("Windows Listener Not Implemented!")
target_link_libraries(goalc-test mman goos util runtime compiler type_system gtest)
# TODO - split out these declarations for platform specific includes
target_link_libraries(goalc-test cross_sockets listener mman goos util runtime compiler type_system gtest)
ELSE()
target_link_libraries(goalc-test goos util listener runtime compiler type_system gtest)
target_link_libraries(goalc-test cross_sockets goos util listener runtime compiler type_system gtest)
ENDIF()
-4
View File
@@ -1,5 +1,3 @@
#ifdef __linux__
#include "gtest/gtest.h"
#include "goalc/listener/Listener.h"
#include "game/system/Deci2Server.h"
@@ -126,5 +124,3 @@ TEST(Listener, ListenerMultipleDecis) {
l.disconnect();
}
}
#endif