2011-05-16 13:12:07 +00:00
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(hnetcfg.dll hnetcfg.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
apps.c
|
|
|
|
hnetcfg.c
|
|
|
|
manager.c
|
|
|
|
policy.c
|
|
|
|
port.c
|
|
|
|
profile.c
|
|
|
|
service.c
|
2018-03-15 11:23:02 +00:00
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(hnetcfg MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
|
|
|
hnetcfg.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
|
|
|
|
|
2013-09-19 17:25:36 +00:00
|
|
|
add_typelib(hnetcfg_tlb.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-19 17:25:36 +00:00
|
|
|
list(APPEND hnetcfg_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hnetcfg.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hnetcfg_tlb.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hnetcfg_tlb.tlb)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-19 17:25:36 +00:00
|
|
|
set_source_files_properties(hnetcfg.rc PROPERTIES OBJECT_DEPENDS "${hnetcfg_rc_deps}")
|
|
|
|
set_module_type(hnetcfg win32dll)
|
2014-10-01 11:12:48 +00:00
|
|
|
add_dependencies(hnetcfg stdole2)
|
2013-09-19 17:25:36 +00:00
|
|
|
target_link_libraries(hnetcfg wine uuid)
|
2019-10-20 19:03:33 +00:00
|
|
|
add_importlibs(hnetcfg ole32 oleaut32 advapi32 mpr msvcrt kernel32 ntdll)
|
2018-03-15 11:23:02 +00:00
|
|
|
add_pch(hnetcfg precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET hnetcfg DESTINATION reactos/system32 FOR all)
|