2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(snmpapi.dll snmpapi.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/snmpapi_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
|
|
|
|
|
2013-09-26 16:55:40 +00:00
|
|
|
add_library(snmpapi SHARED ${SOURCE} snmpapi.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(snmpapi win32dll)
|
|
|
|
target_link_libraries(snmpapi wine)
|
2014-09-25 18:25:47 +00:00
|
|
|
add_importlibs(snmpapi msvcrt kernel32_vista kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET snmpapi DESTINATION reactos/system32 FOR all)
|