2017-12-16 21:48:17 +01:00
|
|
|
|
|
|
|
spec2def(vfd.dll vfdlib.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
add_message_headers(ANSI vfdmsg_lib.mc)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
vfdctl.c
|
|
|
|
vfdfat.c
|
|
|
|
vfdguiopen.c
|
|
|
|
vfdguisave.c
|
|
|
|
vfdguitip.c
|
|
|
|
vfdguiut.c
|
|
|
|
vfdlib.c
|
|
|
|
vfdshcfact.cpp
|
|
|
|
vfdshext.cpp
|
|
|
|
vfdshmenu.cpp
|
|
|
|
vfdshprop.cpp
|
|
|
|
vfdshutil.cpp
|
|
|
|
vfdzip.c)
|
|
|
|
|
2017-12-16 21:57:11 +01:00
|
|
|
if(DBG)
|
|
|
|
add_definitions(-D_DEBUG)
|
|
|
|
endif()
|
|
|
|
|
2019-03-20 14:19:48 +01:00
|
|
|
add_library(vfd MODULE
|
2017-12-16 21:48:17 +01:00
|
|
|
${SOURCE}
|
|
|
|
vfdlib.rc
|
2017-12-16 22:00:41 +01:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/vfd.def)
|
2017-12-16 21:48:17 +01:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/modules/rosapps/include/vfd
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
|
|
|
set_module_type(vfd win32dll ENTRYPOINT DllMain 12)
|
2020-09-18 09:34:18 +02:00
|
|
|
target_link_libraries(vfd zlib_solo uuid cppstl)
|
|
|
|
set_target_cpp_properties(vfd WITH_EXCEPTIONS)
|
2024-04-17 20:24:33 -07:00
|
|
|
|
|
|
|
# Okay - After a long investigation this modules PDBs are just absolutely fighting github actions
|
|
|
|
if(MSVC)
|
|
|
|
target_link_options(vfd PRIVATE "/DEBUG:NONE")
|
|
|
|
endif()
|
|
|
|
|
2017-12-16 21:48:17 +01:00
|
|
|
add_importlibs(vfd advapi32 user32 gdi32 shell32 comdlg32 comctl32 ole32 version psapi msvcrt kernel32 ntdll)
|
|
|
|
add_dependencies(vfd vfdmsg_lib)
|
|
|
|
add_cd_file(TARGET vfd DESTINATION reactos/system32 FOR all)
|