mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
da7764cd5c
- Improve some dlls. - Fix cmd and stlport. - Add libgcc as a C standard lib. svn path=/branches/cmake-bringup/; revision=49056
16 lines
422 B
CMake
16 lines
422 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mprapi ${CMAKE_CURRENT_SOURCE_DIR}/mprapi.spec ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def)
|
|
|
|
add_library(mprapi SHARED mprapi.c)
|
|
|
|
set_module_type(mprapi win32dll)
|
|
|
|
target_link_libraries(mprapi
|
|
${CMAKE_CURRENT_BINARY_DIR}/mprapi.def
|
|
wine)
|
|
|
|
add_importlibs(mprapi kernel32 ntdll)
|
|
add_dependencies(mprapi mprapi_def)
|