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