medit/moo/eggsmclient/eggsmclient.cmake

27 lines
797 B
CMake
Raw Normal View History

2015-07-18 14:24:48 -07:00
SET(eggsmclient_sources
2015-07-18 14:47:46 -07:00
eggsmclient/eggsmclient.cmake
2015-04-19 15:24:28 -07:00
eggsmclient/eggsmclient.c
eggsmclient/eggsmclient.h
eggsmclient/eggsmclient-mangle.h
eggsmclient/eggsmclient-private.h
)
2015-07-18 14:24:48 -07:00
SET(eggsmclient_extra_dist
eggsmclient/eggsmclient-win32.c
eggsmclient/eggsmclient-dummy.c
eggsmclient/eggsmclient-xsmp.c
eggsmclient/eggdesktopfile.h
eggsmclient/eggdesktopfile.c
)
2015-04-19 15:24:28 -07:00
if(MOO_OS_WIN32)
2015-07-18 14:24:48 -07:00
LIST(APPEND eggsmclient_sources eggsmclient/eggsmclient-win32.c)
2015-04-19 15:24:28 -07:00
elseif(MOO_OS_DARWIN)
2015-07-18 14:24:48 -07:00
LIST(APPEND eggsmclient_sources eggsmclient/eggsmclient-dummy.c)
2015-04-19 15:24:28 -07:00
else(MOO_OS_WIN32)
add_definitions(-DEGG_SM_CLIENT_BACKEND_XSMP)
2015-07-18 14:24:48 -07:00
LIST(APPEND eggsmclient_sources eggsmclient/eggsmclient-xsmp.c eggsmclient/eggdesktopfile.h eggsmclient/eggdesktopfile.c)
2015-04-19 15:24:28 -07:00
endif(MOO_OS_WIN32)
# -%- strip:true -%-