83060ea925f67a53757b55782490145b56663a8c
[reactos.git] / dll / win32 / mpr / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 set_rc_compiler()
9
10 spec2def(mpr.dll mpr.spec)
11
12 list(APPEND SOURCE
13 auth.c
14 mpr_main.c
15 multinet.c
16 nps.c
17 pwcache.c
18 wnet.c
19 mpr.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
21
22 add_library(mpr SHARED ${SOURCE})
23
24 set_module_type(mpr win32dll)
25
26 target_link_libraries(mpr wine)
27 add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
28 add_cab_target(mpr 1)
29 add_importlib_target(mpr.spec)