From 57f6a154b049f10c56ebb67bb46173bf6241ca3d Mon Sep 17 00:00:00 2001 From: En Yi Date: Sat, 16 Sep 2023 20:49:11 +0800 Subject: [PATCH] Add missing CMakeLists in res --- res/.gitignore | 1 + res/CMakeLists.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 res/CMakeLists.txt diff --git a/res/.gitignore b/res/.gitignore index 1333493..8c715c1 100644 --- a/res/.gitignore +++ b/res/.gitignore @@ -1,5 +1,6 @@ * !.gitignore +!CMakeLists.txt !ldtk_repacker.py !test_assets.info !testLevels.lvldata.zst diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt new file mode 100644 index 0000000..9ac6f08 --- /dev/null +++ b/res/CMakeLists.txt @@ -0,0 +1,13 @@ +add_executable(rres_packer + rres_packer.c +) +set_target_properties(rres_packer + PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}" +) + +target_link_libraries(rres_packer + PRIVATE + lib_engine +) +