1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
project(ArchiveEx) add_library( ArchiveEx Archive.cpp ) target_include_directories( ArchiveEx PUBLIC . ) target_link_libraries( ArchiveEx PRIVATE Zlib::zlib ) add_executable( dat dat.cpp ) target_link_libraries( dat PRIVATE ArchiveEx )