[CMAKE]
[reactos.git] / dll / win32 / mscoree / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(mscoree.dll mscoree.spec)
6
7 list(APPEND SOURCE
8 corruntimehost.c
9 mscoree_main.c
10 ${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
12
13 add_library(mscoree SHARED ${SOURCE})
14
15 set_module_type(mscoree win32dll)
16 target_link_libraries(mscoree wine uuid)
17 add_importlibs(mscoree advapi32 shell32 msvcrt kernel32 ntdll)
18 add_cab_target(mscoree 1)