refactor: split examples common into header and source (#1393)

This commit is contained in:
leejet authored and GitHub committed 2026-04-06 21:11:57 +08:00
1 parent 359eb8b8de
commit 5bf438d568
9 files changed
+1970 -1919

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
set(TARGET sd-cli)
add_executable(${TARGET}
../common/common.cpp
../common/log.cpp
../common/media_io.cpp
image_metadata.cpp
+3 -1
View File
@@ -15,11 +15,13 @@
// #include "preprocessing.hpp"
#include "stable-diffusion.h"
#include "common/common.hpp"
#include "common/common.h"
#include "common/media_io.h"
#include "common/resource_owners.hpp"
#include "image_metadata.h"
namespace fs = std::filesystem;
const char* previews_str[] = {
"none",
"proj",