Sunc with trunk revision 58971.
[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.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
20 ${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
21
22 add_library(mscoree SHARED ${SOURCE})
23 set_module_type(mscoree win32dll)
24 target_link_libraries(mscoree wine uuid)
25 add_importlibs(mscoree dbghelp advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
26 add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)