+set_cpp(WITH_RUNTIME)
+
+if(NOT MSVC)
+ # HACK: this should be enabled globally!
+ add_compile_flags_language("-std=c++11" "CXX")
+endif()
+
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D_NETSHELL_)
-set_cpp()
+
spec2def(netshell.dll netshell.spec)
list(APPEND SOURCE