reactos/dll/win32/mlang/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

33 lines
718 B
CMake

add_definitions(-D__WINESRC__)
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)
list(APPEND SOURCE
mlang.c
regsvr.c
${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
add_library(mlang SHARED ${SOURCE})
set_module_type(mlang win32dll ENTRYPOINT 0 )
target_link_libraries(mlang uuid wine)
add_delay_importlibs(mlang oleaut32)
add_importlibs(mlang
ole32
user32
gdi32
advapi32
kernel32
ntdll)
add_importlib_target(mlang.spec)
add_dependencies(mlang psdk)
add_cd_file(TARGET mlang DESTINATION reactos/system32 FOR all)