* Sync up to trunk head (r64921).
[reactos.git] / dll / win32 / mprapi / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(mprapi.dll mprapi.spec)
5
6 list(APPEND SOURCE
7 mprapi.c
8 ${CMAKE_CURRENT_BINARY_DIR}/mprapi_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def)
10
11 add_library(mprapi SHARED ${SOURCE})
12 set_module_type(mprapi win32dll)
13 target_link_libraries(mprapi wine)
14 add_importlibs(mprapi msvcrt kernel32 ntdll)
15 add_cd_file(TARGET mprapi DESTINATION reactos/system32 FOR all)