assaultfish/engine/tools/CMakeLists.txt
2026-01-12 06:36:56 +09:00

17 lines
358 B
CMake

project(gbtools)
include(GNUInstallDirs)
macro(compile_tool name)
file(GLOB ${name}_SRC ${name}/*.c)
add_executable(${name} ${${name}_SRC})
target_link_libraries(${name} PRIVATE GearSrc)
install_target(${name})
endmacro()
file(GLOB lz4_SRC ../lz4/*.c)
compile_tool(gs_dumpfont)
compile_tool(gs_makepak)
target_link_libraries(gs_makepak PRIVATE lz4)