[MSVCRT_WINETEST] Fix build by adding '-Wno-format'
[reactos.git] / dll / win32 / stdole32.tlb / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 add_typelib(std_ole_v1.idl)
5 spec2def(stdole32.tlb stdole32.tlb.spec)
6
7 list(APPEND SOURCE
8 rsrc.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/stdole32.def)
10
11 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/std_ole_v1.tlb)
12 add_library(stdole32.tlb MODULE ${SOURCE})
13 set_module_type(stdole32.tlb module)
14 set_target_properties(stdole32.tlb PROPERTIES SUFFIX "")
15 add_cd_file(TARGET stdole32.tlb DESTINATION reactos/system32 FOR all)