[MMIXER] Fix additional data size initialization for different audio formats (#6753)
[reactos.git] / dll / shellext / zipfldr / CMakeLists.txt
1
2 set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
3 if(NOT MSVC)
4 # HACK: this should be enabled globally!
5 add_compile_flags_language("-std=c++11" "CXX")
6 endif()
7
8 remove_definitions(-D_WIN32_WINNT=0x502)
9 add_definitions(-D_WIN32_WINNT=0x600)
10
11 add_definitions(
12 -D_ATL_NO_EXCEPTIONS)
13
14 include_directories(
15 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib
16 ${REACTOS_SOURCE_DIR}/sdk/lib/atl
17 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/zlib/contrib)
18
19 spec2def(zipfldr.dll zipfldr.spec ADD_IMPORTLIB)
20
21
22 list(APPEND SOURCE
23 zipfldr.cpp
24 zippidl.cpp
25 zippidl.hpp
26 IZip.hpp
27 CConfirmReplace.cpp
28 CExplorerCommand.cpp
29 CEnumZipContents.cpp
30 CFolderViewCB.cpp
31 CSendToZip.cpp
32 CZipCreator.cpp
33 CZipEnumerator.hpp
34 CZipExtract.cpp
35 CZipFolder.hpp
36 CZipPassword.cpp
37 Debug.cpp
38 zipfldr.spec
39 precomp.h
40 resource.h)
41
42 add_library(zipfldr MODULE
43 ${SOURCE}
44 ${ZLIB_SOURCE}
45 zipfldr.rc
46 ${CMAKE_CURRENT_BINARY_DIR}/zipfldr.def)
47
48
49 set_module_type(zipfldr win32dll UNICODE)
50 target_link_libraries(zipfldr minizip zlib uuid)
51 add_importlibs(zipfldr oleaut32 ole32 shlwapi comctl32 shell32 user32 advapi32 msvcrt kernel32 ntdll)
52 add_pch(zipfldr precomp.h SOURCE)
53 add_cd_file(TARGET zipfldr DESTINATION reactos/system32 FOR all)
54