de2f8da234b6a20ac183464b49d16381cc9771a8
[reactos.git] / dll / win32 / mscat32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(mscat32 ${CMAKE_CURRENT_SOURCE_DIR}/mscat32.spec ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
7
8 add_library(mscat32 SHARED main.c)
9
10 set_module_type(mscat32 win32dll)
11
12 target_link_libraries(mscat32
13 ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def
14 wine)
15
16 add_importlibs(mscat32 wintrust kernel32 ntdll)
17 add_dependencies(mscat32 mscat32_def)
18 add_livecd_target(mscat32 reactos/system32)