remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
-spec2def(netshell ${CMAKE_CURRENT_SOURCE_DIR}/netshell.spec ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
+spec2def(netshell.dll netshell.spec)
list(APPEND SOURCE
netshell.c
classfactory.c
connectmanager.c
lanconnectui.c
- lanstatusui.c)
+ lanstatusui.c
+ ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
add_library(netshell SHARED
${CMAKE_CURRENT_BINARY_DIR}/netshell_precomp.h.gch
set_module_type(netshell win32dll)
target_link_libraries(netshell
- ${CMAKE_CURRENT_BINARY_DIR}/netshell.def
uuid
wine)
kernel32)
add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-add_dependencies(netshell netshell_def)
-add_livecd_target(netshell reactos/system32)
+
+add_cab_target(netshell 1)