We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c837c5d commit f723f56Copy full SHA for f723f56
examples/CMakeLists.txt
@@ -1,3 +1,4 @@
1
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
2
3
-add_subdirectory(cli)
+add_subdirectory(cli)
4
+add_subdirectory(server)
examples/server/CMakeLists.txt
@@ -0,0 +1,6 @@
+set(TARGET sd-server)
+
+add_executable(${TARGET} main.cpp)
+install(TARGETS ${TARGET} RUNTIME)
5
+target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
6
+target_compile_features(${TARGET} PUBLIC cxx_std_11)
0 commit comments