2009-10-26 10:54:37 +03:00
|
|
|
SET(root_cmd_synergys ${root_dir}/cmd/synergys)
|
|
|
|
|
|
|
|
SET(src_cmd_synergys_common
|
|
|
|
${root_cmd_synergys}/synergys.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(src_cmd_synergys_xwindows
|
|
|
|
${root_cmd_synergys}/CXWindowsServerTaskBarReceiver.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(src_cmd_synergys_mswindows
|
|
|
|
${root_cmd_synergys}/CMSWindowsServerTaskBarReceiver.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(inc_cmd_synergys_mswindows
|
|
|
|
${root_cmd_synergys}/CMSWindowsServerTaskBarReceiver.h
|
2010-06-02 22:41:13 +04:00
|
|
|
${root_cmd_synergys}/resource.h
|
2009-10-26 10:54:37 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
SET(res_cmd_synergys_mswindows
|
|
|
|
${root_cmd_synergys}/synergys.ico
|
|
|
|
${root_cmd_synergys}/synergys.rc
|
|
|
|
${root_cmd_synergys}/tb_error.ico
|
|
|
|
${root_cmd_synergys}/tb_idle.ico
|
|
|
|
${root_cmd_synergys}/tb_run.ico
|
|
|
|
${root_cmd_synergys}/tb_wait.ico
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(src_cmd_synergys_carbon
|
|
|
|
${root_cmd_synergys}/COSXServerTaskBarReceiver.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(src_cmd_synergys ${src_cmd_synergys_common})
|
|
|
|
|
|
|
|
IF(UNIX)
|
|
|
|
|
|
|
|
IF(APPLE)
|
|
|
|
LIST(APPEND src_cmd_synergys ${src_cmd_synergys_carbon})
|
|
|
|
ELSE(APPLE)
|
|
|
|
LIST(APPEND src_cmd_synergys ${src_cmd_synergys_xwindows})
|
|
|
|
ENDIF(APPLE)
|
|
|
|
|
|
|
|
ELSE(UNIX)
|
|
|
|
|
|
|
|
LIST(APPEND src_cmd_synergys
|
|
|
|
${inc_cmd_synergys_mswindows}
|
|
|
|
${res_cmd_synergys_mswindows}
|
|
|
|
${src_cmd_synergys_mswindows}
|
|
|
|
)
|
|
|
|
|
|
|
|
ENDIF(UNIX)
|
|
|
|
|
|
|
|
SET(inc_dirs_cmd_synergys
|
|
|
|
${root_dir}
|
|
|
|
${root_dir}/lib
|
|
|
|
${root_dir}/lib/arch
|
|
|
|
${root_dir}/lib/base
|
|
|
|
${root_dir}/lib/common
|
|
|
|
${root_dir}/lib/io
|
|
|
|
${root_dir}/lib/mt
|
|
|
|
${root_dir}/lib/net
|
|
|
|
${root_dir}/lib/platform
|
|
|
|
${root_dir}/lib/synergy
|
|
|
|
${root_dir}/lib/server
|
|
|
|
)
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${inc_dirs_cmd_synergys})
|
2010-06-01 01:30:29 +04:00
|
|
|
ADD_EXECUTABLE(synergys ${src_cmd_synergys})
|
2009-10-26 10:54:37 +03:00
|
|
|
TARGET_LINK_LIBRARIES(synergys synergy ${libs})
|