1set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL) 2 3spec2def(vfd.dll vfdlib.spec ADD_IMPORTLIB) 4 5add_message_headers(ANSI vfdmsg_lib.mc) 6 7list(APPEND SOURCE 8 vfdctl.c 9 vfdfat.c 10 vfdguiopen.c 11 vfdguisave.c 12 vfdguitip.c 13 vfdguiut.c 14 vfdlib.c 15 vfdshcfact.cpp 16 vfdshext.cpp 17 vfdshmenu.cpp 18 vfdshprop.cpp 19 vfdshutil.cpp 20 vfdzip.c) 21 22if(DBG) 23 add_definitions(-D_DEBUG) 24endif() 25 26add_library(vfd MODULE 27 ${SOURCE} 28 vfdlib.rc 29 ${CMAKE_CURRENT_BINARY_DIR}/vfd.def) 30 31include_directories(${REACTOS_SOURCE_DIR}/modules/rosapps/include/vfd 32 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib) 33set_module_type(vfd win32dll ENTRYPOINT DllMain 12) 34target_link_libraries(vfd zlib_solo uuid) 35add_importlibs(vfd advapi32 user32 gdi32 shell32 comdlg32 comctl32 ole32 version psapi msvcrt kernel32 ntdll) 36add_dependencies(vfd vfdmsg_lib) 37add_cd_file(TARGET vfd DESTINATION reactos/system32 FOR all) 38