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
NTCPSession.cpp NTCPSession.cpp
RouterContext.cpp RouterContext.cpp
SSU.cpp SSU.cpp
SSUData.cpp
TransitTunnel.cpp TransitTunnel.cpp
Tunnel.cpp Tunnel.cpp
TunnelGateway.cpp TunnelGateway.cpp
@ -37,6 +38,7 @@ set ( SOURCES
TunnelEndpoint.cpp TunnelEndpoint.cpp
TunnelPool.cpp TunnelPool.cpp
util.cpp util.cpp
Daemon.cpp
) )
set ( HEADERS set ( HEADERS
@ -48,6 +50,7 @@ set ( HEADERS
NTCPSession.h NTCPSession.h
RouterContext.h RouterContext.h
SSU.h SSU.h
SSUData.h
TransitTunnel.h TransitTunnel.h
Tunnel.h Tunnel.h
TunnelGateway.h TunnelGateway.h
@ -64,8 +67,17 @@ set ( HEADERS
TunnelEndpoint.h TunnelEndpoint.h
TunnelPool.h TunnelPool.h
util.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 ("Header Files" FILES ${HEADERS})
source_group ("Source Files" FILES ${SOURCES}) source_group ("Source Files" FILES ${SOURCES})

Loading…
Cancel
Save