[CMAKE]
[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_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
22
23 add_library(mpr SHARED ${SOURCE})
24
25 set_module_type(mpr win32dll)
26
27 target_link_libraries(mpr wine)
28 add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
29 add_cd_file(TARGET mpr DESTINATION reactos/system32)
30 add_importlib_target(mpr.spec)