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