1 add_definitions(-D_NETSHELL_)
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
6 spec2def(netshell.dll netshell.spec)
17 ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
20 add_library(netshell SHARED
21 ${CMAKE_CURRENT_BINARY_DIR}/netshell_precomp.h.gch
24 set_module_type(netshell win32dll)
26 target_link_libraries(netshell
30 add_importlibs(netshell
45 add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
47 add_cab_target(netshell 1)