mirror of
https://github.com/reactos/reactos.git
synced 2024-10-27 08:35:28 +00:00
19 lines
528 B
CMake
19 lines
528 B
CMake
|
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||
|
|
||
|
spec2def(mscoree.dll mscoree.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
corruntimehost.c
|
||
|
mscoree_main.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
|
||
|
|
||
|
add_library(mscoree SHARED ${SOURCE})
|
||
|
|
||
|
set_module_type(mscoree win32dll)
|
||
|
target_link_libraries(mscoree wine uuid)
|
||
|
add_importlibs(mscoree advapi32 shell32 msvcrt kernel32 ntdll)
|
||
|
add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)
|