[KERNEL32_APITEST] Adjust ConsoleCP testcase for Win10 JPN (#2131)
[reactos.git] / dll / win32 / comdlg32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE)
5
6 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 cdlg32.c
11 colordlg.c
12 filedlg.c
13 filedlg31.c
14 filedlgbrowser.c
15 finddlg.c
16 fontdlg.c
17 #itemdlg.c /* Win 7 */
18 printdlg.c
19 precomp.h
20 ${CMAKE_CURRENT_BINARY_DIR}/comdlg32_stubs.c)
21
22 add_library(comdlg32 MODULE
23 ${SOURCE}
24 rsrc.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
26
27 set_module_type(comdlg32 win32dll)
28 target_link_libraries(comdlg32 uuid wine)
29 add_delay_importlibs(comdlg32 ole32)
30 add_importlibs(comdlg32 shell32 shlwapi comctl32 winspool user32 gdi32 advapi32 msvcrt kernel32 ntdll)
31 add_pch(comdlg32 precomp.h SOURCE)
32 add_cd_file(TARGET comdlg32 DESTINATION reactos/system32 FOR all)