barrier/cmake/CMakeLists_synergyc.txt

70 lines
1.6 KiB
Plaintext
Raw Normal View History

2009-10-26 07:54:37 +00:00
SET(root_cmd_synergyc ${root_dir}/cmd/synergyc)
SET(src_cmd_synergyc_common
${root_cmd_synergyc}/synergyc.cpp
)
SET(src_cmd_synergyc_xwindows
${root_cmd_synergyc}/CXWindowsClientTaskBarReceiver.cpp
)
SET(src_cmd_synergyc_mswindows
${root_cmd_synergyc}/CMSWindowsClientTaskBarReceiver.cpp
)
SET(inc_cmd_synergyc_mswindows
${root_cmd_synergyc}/CMSWindowsClientTaskBarReceiver.h
${root_cmd_synergyc}/resource.h
)
SET(res_cmd_synergyc_mswindows
${root_cmd_synergyc}/synergyc.ico
${root_cmd_synergyc}/synergyc.rc
${root_cmd_synergyc}/tb_error.ico
${root_cmd_synergyc}/tb_idle.ico
${root_cmd_synergyc}/tb_run.ico
${root_cmd_synergyc}/tb_wait.ico
)
SET(src_cmd_synergyc_carbon
${root_cmd_synergyc}/COSXClientTaskBarReceiver.cpp
)
SET(src_cmd_synergyc ${src_cmd_synergyc_common})
IF(UNIX)
IF(APPLE)
LIST(APPEND src_cmd_synergyc ${src_cmd_synergyc_carbon})
ELSE(APPLE)
LIST(APPEND src_cmd_synergyc ${src_cmd_synergyc_xwindows})
ENDIF(APPLE)
ELSE(UNIX)
LIST(APPEND src_cmd_synergyc
${inc_cmd_synergyc_mswindows}
${res_cmd_synergyc_mswindows}
${src_cmd_synergyc_mswindows}
)
ENDIF(UNIX)
SET(inc_dirs_cmd_synergyc
${root_dir}
${root_dir}/lib
${root_dir}/lib/arch
${root_dir}/lib/base
${root_dir}/lib/client
${root_dir}/lib/common
${root_dir}/lib/io
${root_dir}/lib/mt
${root_dir}/lib/net
${root_dir}/lib/platform
${root_dir}/lib/synergy
)
INCLUDE_DIRECTORIES(${inc_dirs_cmd_synergyc})
ADD_EXECUTABLE(synergyc ${src_cmd_synergyc})
2009-10-26 07:54:37 +00:00
TARGET_LINK_LIBRARIES(synergyc synergy ${libs})