cc5ab3a23cb25b115a18c351cf13d1b762446195
[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 ${CMAKE_CURRENT_SOURCE_DIR}/oledlg.spec ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def)
6
7 add_library(oledlg SHARED
8 insobjdlg.c
9 oledlg_main.c
10 pastespl.c
11 rsrc.rc)
12
13 set_module_type(oledlg win32dll)
14
15 target_link_libraries(oledlg
16 ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def
17 wine)
18
19 add_importlibs(oledlg ole32 comdlg32 user32 advapi32 kernel32 ntdll)
20 add_dependencies(oledlg oledlg_def)