feat(cli): add metadata inspection mode (#1381)

This commit is contained in:
leejet authored and GitHub committed 2026-04-01 00:52:03 +08:00
1 parent 6dfe945958
commit 09b12d5f6d
7 files changed
+1269 -22

No files matched your search

+6 -3
View File
@@ -1,6 +1,9 @@
set(TARGET sd-cli)
add_executable(${TARGET} main.cpp)
add_executable(${TARGET}
image_metadata.cpp
main.cpp
)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PUBLIC c_std_11 cxx_std_17)
target_link_libraries(${TARGET} PRIVATE stable-diffusion zip ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PUBLIC c_std_11 cxx_std_17)