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
25 lines
512 B
CMake
25 lines
512 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
add_definitions(-D_WINE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mpr ${CMAKE_CURRENT_SOURCE_DIR}/mpr.spec ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
|
|
|
|
add_library(mpr SHARED
|
|
auth.c
|
|
mpr_main.c
|
|
multinet.c
|
|
nps.c
|
|
pwcache.c
|
|
wnet.c
|
|
mpr.rc)
|
|
|
|
set_module_type(mpr win32dll)
|
|
|
|
target_link_libraries(mpr
|
|
${CMAKE_CURRENT_BINARY_DIR}/mpr.def
|
|
wine)
|
|
|
|
add_importlibs(mpr advapi32 user32 kernel32 ntdll)
|
|
add_dependencies(mpr mpr_def)
|