[CMAKE]
[reactos.git] / dll / shellext / deskadp / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/deskadp.spec ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
5
6 list(APPEND SOURCE
7 deskadp.c
8 shxiface.c
9 deskadp.rc)
10
11 add_library(deskadp SHARED ${CMAKE_CURRENT_BINARY_DIR}/deskadp_precomp.h.gch ${SOURCE})
12
13 set_module_type(deskadp win32dll)
14
15 target_link_libraries(deskadp ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def uuid)
16
17 add_importlibs(deskadp
18 user32
19 gdi32
20 comctl32
21 ole32
22 kernel32
23 ntdll)
24
25 add_pch(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
26 add_dependencies(deskadp deskadp_def)
27 add_livecd_target(deskadp reactos/system32)