2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
2011-06-13 15:31:11 +00:00
|
|
|
-D_WINE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2021-03-31 21:41:24 +00:00
|
|
|
autocomp.cpp
|
2011-05-16 13:12:07 +00:00
|
|
|
cdlg32.c
|
|
|
|
colordlg.c
|
|
|
|
filedlg.c
|
|
|
|
filedlg31.c
|
|
|
|
filedlgbrowser.c
|
|
|
|
finddlg.c
|
|
|
|
fontdlg.c
|
2013-12-23 14:17:45 +00:00
|
|
|
#itemdlg.c /* Win 7 */
|
2011-05-16 13:12:07 +00:00
|
|
|
printdlg.c
|
2018-03-09 11:54:34 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/comdlg32_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(comdlg32 MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
|
|
|
|
|
|
|
|
set_module_type(comdlg32 win32dll)
|
|
|
|
target_link_libraries(comdlg32 uuid wine)
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(comdlg32 ole32)
|
2013-10-05 20:43:34 +00:00
|
|
|
add_importlibs(comdlg32 shell32 shlwapi comctl32 winspool user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-09 11:54:34 +00:00
|
|
|
add_pch(comdlg32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET comdlg32 DESTINATION reactos/system32 FOR all)
|