assaultfish/engine/tools/CMakeLists.txt

17 lines
358 B
Text
Raw Normal View History

2026-01-09 00:40:51 +09:00
project(gbtools)
2026-01-07 04:24:22 +09:00
include(GNUInstallDirs)
macro(compile_tool name)
file(GLOB ${name}_SRC ${name}/*.c)
add_executable(${name} ${${name}_SRC})
2026-01-12 05:12:54 +09:00
target_link_libraries(${name} PRIVATE GearSrc)
2026-01-10 00:55:45 +09:00
install_target(${name})
2026-01-07 04:24:22 +09:00
endmacro()
2026-01-10 00:55:45 +09:00
file(GLOB lz4_SRC ../lz4/*.c)
2026-01-12 01:54:35 +09:00
compile_tool(gs_dumpfont)
compile_tool(gs_makepak)
2026-01-10 00:55:45 +09:00
2026-01-12 06:36:56 +09:00
target_link_libraries(gs_makepak PRIVATE lz4)