2011-05-16 13:12:07 +00:00
|
|
|
|
2012-06-04 10:46:54 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
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)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mscoree MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${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)
|