mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +00:00
28 lines
480 B
CMake
28 lines
480 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
spec2def(ntmarta.dll ntmarta.spec)
|
|
|
|
list(APPEND SOURCE
|
|
ntmarta.c
|
|
ntmarta.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
|
|
|
|
add_library(ntmarta SHARED ${SOURCE})
|
|
|
|
set_module_type(ntmarta win32dll)
|
|
|
|
add_importlibs(ntmarta
|
|
user32
|
|
advapi32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_cd_file(TARGET ntmarta DESTINATION reactos/system32 FOR all)
|