[feature] Add command handling and usage functions for aaruformattool using argtable3

This commit is contained in:
2025-08-01 16:07:33 +01:00
parent 788c7a2bc7
commit 56ebb9f6af
7 changed files with 318 additions and 225 deletions

View File

@@ -1,8 +1,14 @@
project(aaruformattool)
find_package(ICU COMPONENTS uc REQUIRED)
find_package(Argtable3 CONFIG REQUIRED)
include_directories(${ICU_INCLUDE_DIRS})
add_executable(aaruformattool main.c main.h aaruformattool.h identify.c info.c helpers.c read.c printhex.c verify.c ecc_cd.c)
add_executable(aaruformattool main.c version.h aaruformattool.h identify.c info.c helpers.c read.c printhex.c verify.c ecc_cd.c
commands.h
commands.c
usage.h
usage.c)
target_link_libraries(aaruformattool "aaruformat" argtable3::argtable3)
target_link_libraries(aaruformattool "aaruformat" ICU::uc)