d2e82582e042c42aa2157acc070de89c84c58233
[reactos.git] / dll / win32 / comdlg32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE
5 -D_DLL -D__USE_CRTIMP)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10
11 spec2def(comdlg32.dll comdlg32.spec)
12
13 list(APPEND SOURCE
14 cdlg32.c
15 colordlg.c
16 filedlg.c
17 filedlg31.c
18 filedlgbrowser.c
19 finddlg.c
20 fontdlg.c
21 printdlg.c
22 rsrc.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
24
25 add_library(comdlg32 SHARED ${SOURCE})
26
27 set_module_type(comdlg32 win32dll)
28
29 target_link_libraries(comdlg32 uuid wine)
30
31 add_importlibs(comdlg32
32 shell32
33 shlwapi
34 comctl32
35 winspool
36 user32
37 gdi32
38 advapi32
39 ole32
40 msvcrt
41 kernel32
42 ntdll)
43
44 add_cab_target(comdlg32 1)
45 add_importlib_target(comdlg32.spec)