Files
dstalk/dstalk-cli/CMakeLists.txt
XiuChengWu 330cd686db Complete build wiring and CLI file commands
Align documented commands with the CLI, enable optional GUI/test targets, and remove committed API secrets so the project is safer to build and run.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 20:43:53 +08:00

18 lines
446 B
CMake

# ============================================================
# dstalk-cli — 命令行前端 (ANSI 转义码)
# ============================================================
add_executable(dstalk-cli
src/main.cpp
)
target_link_libraries(dstalk-cli
PRIVATE dstalk
)
add_custom_command(TARGET dstalk-cli POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_FILE:dstalk>
$<TARGET_FILE_DIR:dstalk-cli>
)