reactos/dll/win32/olesvr32/CMakeLists.txt
Sylvain Petreolle c56d82e4c8 [CMAKE]
Livecd: Add dlls that aren't win32dll modules.

svn path=/branches/cmake-bringup/; revision=49223
2010-10-22 14:05:00 +00:00

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)