2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
5 add_definitions(-D_DLL -D__USE_CRTIMP)
7 spec2def(netcfgx ${CMAKE_CURRENT_SOURCE_DIR}/netcfgx.spec ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
9 add_library(netcfgx SHARED
17 set_module_type(netcfgx win32dll)
19 target_link_libraries(netcfgx
20 ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def
24 add_importlibs(netcfgx
35 add_dependencies(netcfgx netcfgx_def)