00cc962b317812c5fde5c83158fbab9432963d23
[reactos.git] / dll / win32 / rasapi32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(rasapi32 ${CMAKE_CURRENT_SOURCE_DIR}/rasapi32.spec ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def)
6
7 add_library(rasapi32 SHARED rasapi.c)
8
9 set_entrypoint(rasapi32 0)
10
11 target_link_libraries(rasapi32
12 ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def
13 wine)
14
15 add_importlibs(rasapi32 kernel32 ntdll)
16 add_dependencies(rasapi32 rasapi32_def psdk buildno_header)
17 add_livecd_target(rasapi32 reactos/system32)