pso_gc_tools/CMakeLists.txt
Gered 2e6d446b1c use old fuzziqer prs implementation to fix some .qst file issues
using the current libsylverant prs implementation to re-compress the
.bin file after setting the download flag in it MAY result in a .qst
file which when loaded by the gamecube client, will cause it to lock-up
with a black screen

simply switching to this older fuzziqer prs implementation fixed this
issue
2021-03-21 20:48:14 -04:00

25 lines
825 B
CMake

cmake_minimum_required(VERSION 3.16)
project(psogc_tools C)
set(CMAKE_C_STANDARD 99)
include_directories(/usr/local/include)
find_package(Iconv REQUIRED)
find_library(SYLVERANT_LIBRARY sylverant REQUIRED)
# decrypt_packets
add_executable(decrypt_packets decrypt_packets.c utils.c)
target_link_libraries(decrypt_packets ${SYLVERANT_LIBRARY})
# gen_qst_header
add_executable(gen_qst_header gen_qst_header.c textconv.c quests.c utils.c)
target_link_libraries(gen_qst_header ${SYLVERANT_LIBRARY} ${ICONV_LIBRARIES})
target_compile_definitions(gen_qst_header PRIVATE ICONV_CONST=${ICONV_CONST})
target_include_directories(gen_qst_header PRIVATE ${ICONV_INCLUDE_DIR})
# bindat_to_gcdl
add_executable(bindat_to_gcdl bindat_to_gcdl.c quests.c fuzziqer_prs.c utils.c)
target_link_libraries(bindat_to_gcdl ${SYLVERANT_LIBRARY})