2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2010-11-02 18:19:44 +00:00
|
|
|
|
2010-10-10 22:58:42 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2010-11-02 18:19:44 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
add_library(hnetcfg SHARED
|
|
|
|
apps.c
|
|
|
|
hnetcfg.c
|
|
|
|
manager.c
|
|
|
|
policy.c
|
|
|
|
port.c
|
|
|
|
profile.c
|
|
|
|
regsvr.c
|
2010-10-30 16:08:19 +00:00
|
|
|
service.c
|
2010-11-02 18:19:44 +00:00
|
|
|
hnetcfg.def)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
set_source_files_properties(hnetcfg.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
|
|
endif()
|
2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
set_module_type(hnetcfg win32dll)
|
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
target_link_libraries(hnetcfg wine)
|
2010-10-10 22:58:42 +00:00
|
|
|
|
|
|
|
add_importlibs(hnetcfg
|
|
|
|
ole32
|
|
|
|
advapi32
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(hnetcfg 1)
|