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