From cba921eb3e229e6e79bfc125a886f1e7fba72026 Mon Sep 17 00:00:00 2001 From: cpubug Date: Wed, 23 Apr 2014 22:48:02 +0400 Subject: [PATCH] fix CMAKE build --- build/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 5541301f..ac114a45 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -21,6 +21,7 @@ set ( SOURCES NTCPSession.cpp RouterContext.cpp SSU.cpp + SSUData.cpp TransitTunnel.cpp Tunnel.cpp TunnelGateway.cpp @@ -37,6 +38,7 @@ set ( SOURCES TunnelEndpoint.cpp TunnelPool.cpp util.cpp + Daemon.cpp ) set ( HEADERS @@ -48,6 +50,7 @@ set ( HEADERS NTCPSession.h RouterContext.h SSU.h + SSUData.h TransitTunnel.h Tunnel.h TunnelGateway.h @@ -64,8 +67,17 @@ set ( HEADERS TunnelEndpoint.h TunnelPool.h util.h + Daemon.h ) +if (WIN32) + list (APPEND SOURCES DeamonWin32.cpp) +else () + list (APPEND SOURCES DaemonLinux.cpp) +endif () + + + source_group ("Header Files" FILES ${HEADERS}) source_group ("Source Files" FILES ${SOURCES})