70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
|
IF(WIN32)
|
||
|
SET(root_cmd_launcher ${root_dir}/cmd/launcher)
|
||
|
|
||
|
SET(src_cmd_launcher_mswindows
|
||
|
${root_cmd_launcher}/CAddScreen.cpp
|
||
|
${root_cmd_launcher}/CAdvancedOptions.cpp
|
||
|
${root_cmd_launcher}/CAutoStart.cpp
|
||
|
${root_cmd_launcher}/CGlobalOptions.cpp
|
||
|
${root_cmd_launcher}/CHotkeyOptions.cpp
|
||
|
${root_cmd_launcher}/CInfo.cpp
|
||
|
${root_cmd_launcher}/CScreensLinks.cpp
|
||
|
${root_cmd_launcher}/LaunchUtil.cpp
|
||
|
${root_cmd_launcher}/launcher.cpp
|
||
|
)
|
||
|
|
||
|
SET(inc_cmd_launcher_mswindows
|
||
|
${root_cmd_launcher}/CAddScreen.h
|
||
|
${root_cmd_launcher}/CAdvancedOptions.h
|
||
|
${root_cmd_launcher}/CAutoStart.h
|
||
|
${root_cmd_launcher}/CGlobalOptions.h
|
||
|
${root_cmd_launcher}/CHotkeyOptions.h
|
||
|
${root_cmd_launcher}/CInfo.h
|
||
|
${root_cmd_launcher}/CScreensLinks.h
|
||
|
${root_cmd_launcher}/LaunchUtil.h
|
||
|
${root_cmd_launcher}/resource.h
|
||
|
)
|
||
|
|
||
|
SET(res_cmd_launcher_mswindows
|
||
|
${root_cmd_launcher}/launcher.rc
|
||
|
${root_cmd_launcher}/synergy.ico
|
||
|
)
|
||
|
|
||
|
SET(src_cmd_launcher)
|
||
|
|
||
|
IF(UNIX)
|
||
|
IF(APPLE)
|
||
|
LIST(APPEND src_cmd_launcher ${src_cmd_launcher_carbon})
|
||
|
ELSE(APPLE)
|
||
|
LIST(APPEND src_cmd_launcher ${src_cmd_launcher_xwindows})
|
||
|
ENDIF(APPLE)
|
||
|
ENDIF(UNIX)
|
||
|
|
||
|
IF(WIN32)
|
||
|
LIST(APPEND src_cmd_launcher
|
||
|
${inc_cmd_launcher_mswindows}
|
||
|
${res_cmd_launcher_mswindows}
|
||
|
${src_cmd_launcher_mswindows}
|
||
|
)
|
||
|
ENDIF(WIN32)
|
||
|
|
||
|
SET(inc_dirs_cmd_launcher
|
||
|
${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_launcher})
|
||
|
ADD_EXECUTABLE(launcher WIN32 ${src_cmd_launcher})
|
||
|
TARGET_LINK_LIBRARIES(launcher synergy ${libs})
|
||
|
|
||
|
ENDIF(WIN32)
|