[CMAKE]
[reactos.git] / dll / win32 / snmpapi / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x600)
7
8 spec2def(snmpapi ${CMAKE_CURRENT_SOURCE_DIR}/snmpapi.spec ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
9
10 add_library(snmpapi SHARED main.c snmpapi.rc)
11
12 set_module_type(snmpapi win32dll)
13
14 target_link_libraries(snmpapi
15 ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def
16 wine)
17
18 add_importlibs(snmpapi kernel32 ntdll)
19 add_dependencies(snmpapi snmpapi_def)
20 add_livecd_target(snmpapi reactos/system32)