Browse Source

fix CMAKE build

pull/70/head
cpubug 11 years ago
parent
commit
cba921eb3e
  1. 12
      build/CMakeLists.txt

12
build/CMakeLists.txt

@ -21,6 +21,7 @@ set ( SOURCES @@ -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 @@ -37,6 +38,7 @@ set ( SOURCES
TunnelEndpoint.cpp
TunnelPool.cpp
util.cpp
Daemon.cpp
)
set ( HEADERS
@ -48,6 +50,7 @@ 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 @@ -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})

Loading…
Cancel
Save