mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
19 lines
463 B
CMake
19 lines
463 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_typelib(std_ole_v1 std_ole_v1.idl)
|
|
|
|
spec2def(stdole32.tlb stdole32.tlb.spec)
|
|
|
|
list(APPEND SOURCE
|
|
rsrc.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/stdole32.def)
|
|
|
|
add_library(stdole32.tlb SHARED ${SOURCE})
|
|
|
|
set_entrypoint(stdole32.tlb 0)
|
|
set_target_properties(stdole32.tlb PROPERTIES SUFFIX "")
|
|
|
|
add_dependencies(stdole32.tlb std_ole_v1)
|
|
add_cab_target(stdole32.tlb 1)
|