* Sync the recent cmake branch changes.
[reactos.git] / dll / win32 / stdole2.tlb / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 add_typelib(std_ole_v2 std_ole_v2.idl)
6
7 spec2def(stdole2.tlb stdole2.tlb.spec)
8
9 list(APPEND SOURCE
10 rsrc.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/stdole2.def)
12
13 add_library(stdole2.tlb SHARED ${SOURCE})
14
15 set_entrypoint(stdole2.tlb 0)
16 set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
17 add_dependencies(stdole2.tlb std_ole_v2)
18 add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)