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