Skip to content

Commit a06edac

Browse files
committed
cmake: Zip cleanup
- explicitly list files Reviewed-by: Roger Meier <r.meier@siemens.com>
1 parent 478360f commit a06edac

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

Zip/CMakeLists.txt

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
11
set(LIBNAME "PocoZip")
22

3-
aux_source_directory(src SRCS)
3+
set(SRCS
4+
src/Add.cpp
5+
src/AutoDetectStream.cpp
6+
src/Compress.cpp
7+
src/Decompress.cpp
8+
src/Delete.cpp
9+
src/Keep.cpp
10+
src/ParseCallback.cpp
11+
src/PartialStream.cpp
12+
src/Rename.cpp
13+
src/Replace.cpp
14+
src/SkipCallback.cpp
15+
src/ZipArchive.cpp
16+
src/ZipArchiveInfo.cpp
17+
src/ZipCommon.cpp
18+
src/ZipDataInfo.cpp
19+
src/ZipException.cpp
20+
src/ZipFileInfo.cpp
21+
src/ZipLocalFileHeader.cpp
22+
src/ZipManipulator.cpp
23+
src/ZipOperation.cpp
24+
src/ZipStream.cpp
25+
src/ZipUtil.cpp
26+
)
427

528
if (NOT POCO_STATIC)
629
add_definitions(-DZip_EXPORTS)
730
endif (NOT POCO_STATIC)
831

932
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
10-
set_target_properties( ${LIBNAME}
33+
set_target_properties( ${LIBNAME}
1134
PROPERTIES
1235
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
1336
target_link_libraries( ${LIBNAME} PocoUtil PocoXML PocoFoundation)
@@ -17,7 +40,7 @@ install(
1740
DESTINATION include
1841
PATTERN ".svn" EXCLUDE
1942
)
20-
43+
2144
install(
2245
TARGETS ${LIBNAME}
2346
LIBRARY DESTINATION lib${LIB_SUFFIX}

0 commit comments

Comments
 (0)