reactos/dll/win32/mscat32/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

18 lines
484 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(mscat32 ${CMAKE_CURRENT_SOURCE_DIR}/mscat32.spec ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
add_library(mscat32 SHARED main.c)
set_module_type(mscat32 win32dll)
target_link_libraries(mscat32
${CMAKE_CURRENT_BINARY_DIR}/mscat32.def
wine)
add_importlibs(mscat32 wintrust kernel32 ntdll)
add_dependencies(mscat32 mscat32_def)
add_livecd_target(mscat32 reactos/system32)