add gb_makepak

This commit is contained in:
Nishi 2026-01-10 00:55:45 +09:00
commit b66cf8068a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
16 changed files with 349 additions and 5 deletions

View file

@ -5,6 +5,13 @@ include(GNUInstallDirs)
macro(compile_tool name)
file(GLOB ${name}_SRC ${name}/*.c)
add_executable(${name} ${${name}_SRC})
install_target(${name})
endmacro()
file(GLOB lz4_SRC ../lz4/*.c)
compile_tool(gb_dumpfont)
compile_tool(gb_makepak)
target_include_directories(gb_makepak PRIVATE ../lz4)
target_sources(gb_makepak PRIVATE ${lz4_SRC})