[CMAKE]
[reactos.git] / dll / win32 / oledlg / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(oledlg.dll oledlg.spec)
6
7 list(APPEND SOURCE
8 insobjdlg.c
9 oledlg_main.c
10 pastespl.c
11 rsrc.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def)
13
14 add_library(oledlg SHARED ${SOURCE})
15
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)