mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
c56d82e4c8
Livecd: Add dlls that aren't win32dll modules. svn path=/branches/cmake-bringup/; revision=49223
18 lines
No EOL
520 B
CMake
18 lines
No EOL
520 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
spec2def(olesvr32 ${CMAKE_CURRENT_SOURCE_DIR}/olesvr32.spec ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
|
|
|
|
add_library(olesvr32 SHARED olesvr_main.c)
|
|
|
|
set_entrypoint(olesvr32 0)
|
|
|
|
target_link_libraries(olesvr32
|
|
${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def
|
|
wine
|
|
mingw_common)
|
|
|
|
add_importlibs(olesvr32 kernel32 ntdll)
|
|
add_dependencies(olesvr32 olesvr32_def psdk buildno_header)
|
|
add_livecd_target(olesvr32 reactos/system32) |