6802f6b1088216b6ae2063e4af29fff1a22e2043
[reactos.git] / dll / shellext / shellbtrfs / CMakeLists.txt
1 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS WITH_STL)
2
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x603)
5
6 include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/btrfs)
7
8 spec2def(shellbtrfs.dll shellbtrfs.spec)
9
10 list(APPEND SOURCE
11 balance.cpp
12 contextmenu.cpp
13 devices.cpp
14 factory.cpp
15 iconoverlay.cpp
16 main.cpp
17 propsheet.cpp
18 reactos.cpp
19 recv.cpp
20 scrub.cpp
21 send.cpp
22 volpropsheet.cpp
23 precomp.h)
24
25 add_library(shellbtrfs SHARED
26 ${SOURCE}
27 guid.c
28 shellbtrfs.rc
29 ${CMAKE_CURRENT_BINARY_DIR}/shellbtrfs.def)
30
31 file(GLOB shellbtrfs_rc_deps *.ico)
32 add_rc_deps(shellbtrfs.rc ${shellbtrfs_rc_deps})
33
34 set_module_type(shellbtrfs win32dll UNICODE)
35 target_link_libraries(shellbtrfs uuid)
36 add_importlibs(shellbtrfs advapi32 advapi32_vista ole32 shell32 shlwapi user32 comctl32 uxtheme setupapi comdlg32 gdi32 msvcrt kernel32_vista kernel32 ntdll)
37 add_pch(shellbtrfs precomp.h SOURCE)
38 add_cd_file(TARGET shellbtrfs DESTINATION reactos/system32 FOR all)