[CMAKE]
[reactos.git] / dll / win32 / rasapi32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 set_rc_compiler()
6 spec2def(rasapi32.dll rasapi32.spec)
7
8 list(APPEND SOURCE
9 rasapi.c
10 ${CMAKE_CURRENT_BINARY_DIR}/rasapi32_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def)
12
13 add_library(rasapi32 SHARED ${SOURCE})
14 set_entrypoint(rasapi32 0)
15
16 target_link_libraries(rasapi32 wine)
17
18 add_importlibs(rasapi32 kernel32 ntdll)
19 add_importlib_target(rasapi32.spec)
20 add_dependencies(rasapi32 psdk)
21 add_cd_file(TARGET rasapi32 DESTINATION reactos/system32)