7d2f911c1b2f88660abf15690bf395a752c3b730
[reactos.git] / dll / win32 / oledlg / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 add_library(oledlg SHARED
6 insobjdlg.c
7 oledlg_main.c
8 pastespl.c
9 rsrc.rc
10 oledlg.def)
11
12 if(NOT MSVC)
13 set_source_files_properties(oledlg.def PROPERTIES EXTERNAL_OBJECT TRUE)
14 endif()
15
16 set_module_type(oledlg win32dll)
17
18 target_link_libraries(oledlg wine)
19
20 add_importlibs(oledlg ole32 comdlg32 user32 advapi32 kernel32 ntdll)
21
22 add_cab_target(oledlg 1)