2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
5 spec2def(oledlg.dll oledlg.spec)
12 ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def)
14 add_library(oledlg SHARED ${SOURCE})
16 set_module_type(oledlg win32dll)
17 target_link_libraries(oledlg wine)
18 add_importlibs(oledlg ole32 comdlg32 user32 advapi32 msvcrt kernel32 ntdll)
19 add_importlib_target(oledlg.spec)
20 add_cd_file(TARGET oledlg DESTINATION reactos/system32 FOR all)