[CMAKE]
[reactos.git] / dll / win32 / stdole32.tlb / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 add_typelib(std_ole_v1 std_ole_v1.idl)
6
7 spec2def(stdole32.tlb stdole32.tlb.spec)
8
9 list(APPEND SOURCE
10 rsrc.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/stdole32.def)
12
13 add_library(stdole32.tlb SHARED ${SOURCE})
14
15 set_entrypoint(stdole32.tlb 0)
16 set_target_properties(stdole32.tlb PROPERTIES SUFFIX "")
17
18 add_dependencies(stdole32.tlb std_ole_v1)
19 add_cab_target(stdole32.tlb 1)