From f9bc90d009d7c96d97e4bfa7a5679e01dddd5dfd Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 28 Sep 2021 21:51:34 +0200 Subject: Created best-guess cmake stubs Structure of the project as whole is... questionable. It looks that the directories are intermingled even if they appear separated. This is a first guess to have at least something in place. --- Datafile/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Datafile/CMakeLists.txt (limited to 'Datafile/CMakeLists.txt') diff --git a/Datafile/CMakeLists.txt b/Datafile/CMakeLists.txt new file mode 100644 index 0000000..28df007 --- /dev/null +++ b/Datafile/CMakeLists.txt @@ -0,0 +1,11 @@ +project(Datafile) +add_executable( + Datafile + Archive.cpp + Main.cpp + ) +target_include_directories( + Datafile + PUBLIC . + ) +# TODO: target_link_libraries(Datafile PRIVATE zlib) -- cgit v1.1 From bd75249c8a45163b776ad0ce5e7b5dc97827c1da Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Oct 2021 11:37:13 +0200 Subject: Fixed Datafile utility build --- Datafile/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Datafile/CMakeLists.txt') diff --git a/Datafile/CMakeLists.txt b/Datafile/CMakeLists.txt index 28df007..663964d 100644 --- a/Datafile/CMakeLists.txt +++ b/Datafile/CMakeLists.txt @@ -6,6 +6,13 @@ add_executable( ) target_include_directories( Datafile - PUBLIC . + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} + ) +target_link_libraries( + Datafile + PUBLIC Zlib::zlib + ) +target_compile_definitions( + Datafile + PUBLIC UNICODE ) -# TODO: target_link_libraries(Datafile PRIVATE zlib) -- cgit v1.1