2ceeb8f41fa4f8efd155e22406e92ae571601b42
[reactos.git] / modules / rosapps / lib / vfdlib / CMakeLists.txt
1 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL)
2
3 spec2def(vfd.dll vfdlib.spec ADD_IMPORTLIB)
4
5 add_message_headers(ANSI vfdmsg_lib.mc)
6
7 list(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
22 add_library(vfd SHARED
23 ${SOURCE}
24 vfdlib.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/vfdlib.def)
26
27 include_directories(${REACTOS_SOURCE_DIR}/modules/rosapps/include/vfd
28 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
29 set_module_type(vfd win32dll ENTRYPOINT DllMain 12)
30 target_link_libraries(vfd zlib_solo uuid)
31 add_importlibs(vfd advapi32 user32 gdi32 shell32 comdlg32 comctl32 ole32 version psapi msvcrt kernel32 ntdll)
32 add_dependencies(vfd vfdmsg_lib)
33 add_cd_file(TARGET vfd DESTINATION reactos/system32 FOR all)