1aab2a671acdaa6ef2a3c99c2af4e210affb45b4
[reactos.git] / reactos / dll / win32 / mscoree / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 set_rc_compiler()
6 spec2def(mscoree.dll mscoree.spec)
7
8 list(APPEND SOURCE
9 assembly.c
10 config.c
11 cordebug.c
12 corruntimehost.c
13 metadata.c
14 metahost.c
15 mscoree_main.c
16 mscoree.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
19
20 add_library(mscoree SHARED ${SOURCE})
21
22 set_module_type(mscoree win32dll)
23 target_link_libraries(mscoree wine uuid)
24
25 if(MSVC)
26 target_link_libraries(mscoree xml_uuids)
27 endif()
28
29 add_importlibs(mscoree dbghelp advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
30 add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)