mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
65ce146169
svn path=/branches/ros-csrss/; revision=57561
35 lines
722 B
CMake
35 lines
722 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-DCOM_NO_WINDOWS_H)
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mlang.dll mlang.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
mlang.c
|
|
mlang.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
|
|
|
|
add_library(mlang SHARED ${SOURCE})
|
|
set_module_type(mlang win32dll UNICODE)
|
|
target_link_libraries(mlang uuid wine)
|
|
add_delay_importlibs(mlang oleaut32)
|
|
|
|
add_importlibs(mlang
|
|
ole32
|
|
gdi32
|
|
advapi32
|
|
msvcrt
|
|
kernel32
|
|
ntdll)
|
|
|
|
|
|
add_dependencies(mlang psdk)
|
|
add_cd_file(TARGET mlang DESTINATION reactos/system32 FOR all)
|