reactos/dll/cpl/desk/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

48 lines
790 B
CMake

set_unicode()
add_definitions(-D_WIN32)
add_definitions(-D_DLL -D__USE_CRTIMP)
spec2def(desk ${CMAKE_CURRENT_SOURCE_DIR}/desk.spec ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
add_library(desk SHARED
advmon.c
appearance.c
background.c
classinst.c
desk.c
devsett.c
dibitmap.c
misc.c
preview.c
screensaver.c
advappdlg.c
effappdlg.c
settings.c
monslctl.c
general.c
desk.rc
draw.c
theme.c)
set_module_type(desk cpl)
target_link_libraries(desk ${CMAKE_CURRENT_BINARY_DIR}/desk.def uuid)
add_importlibs(desk
msvcrt
user32
advapi32
gdi32
comctl32
comdlg32
ole32
setupapi
shell32
msimg32
kernel32
ntdll)
add_dependencies(desk desk_def)
add_livecd_target(desk reactos/system32)