2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2012-06-04 10:46:54 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(mscoree.dll mscoree.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2012-01-28 17:34:24 +00:00
|
|
|
assembly.c
|
|
|
|
config.c
|
|
|
|
cordebug.c
|
2011-05-16 13:12:07 +00:00
|
|
|
corruntimehost.c
|
2012-01-28 17:34:24 +00:00
|
|
|
metadata.c
|
|
|
|
metahost.c
|
2011-05-16 13:12:07 +00:00
|
|
|
mscoree_main.c
|
2014-02-10 12:19:56 +00:00
|
|
|
mscoree_private.h)
|
|
|
|
|
|
|
|
add_library(mscoree SHARED
|
|
|
|
${SOURCE}
|
2013-12-25 15:31:19 +00:00
|
|
|
guid.c
|
2012-01-28 17:34:24 +00:00
|
|
|
mscoree.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
|
|
|
|
|
|
|
|
set_module_type(mscoree win32dll)
|
2013-12-25 15:31:19 +00:00
|
|
|
target_link_libraries(mscoree uuid wine)
|
2012-01-28 17:34:24 +00:00
|
|
|
add_importlibs(mscoree dbghelp advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mscoree mscoree_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)
|