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