2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(oledlg.dll oledlg.spec ADD_IMPORTLIB)
10 ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def)
12 add_library(oledlg SHARED ${SOURCE} rsrc.rc)
13 set_module_type(oledlg win32dll)
14 target_link_libraries(oledlg wine)
15 add_importlibs(oledlg ole32 comdlg32 user32 advapi32 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET oledlg DESTINATION reactos/system32 FOR all)