* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[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 spec2def(mpr.dll mpr.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 auth.c
11 mpr_main.c
12 multinet.c
13 nps.c
14 pwcache.c
15 wnet.c
16 precomp.h
17 ${CMAKE_CURRENT_BINARY_DIR}/mpr_stubs.c)
18
19 add_library(mpr SHARED
20 ${SOURCE}
21 mpr.rc
22 ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
23
24 set_module_type(mpr win32dll)
25 target_link_libraries(mpr wine)
26 add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
27 add_pch(mpr precomp.h SOURCE)
28 add_cd_file(TARGET mpr DESTINATION reactos/system32 FOR all)