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>
This commit is contained in:
2026-05-25 20:43:53 +08:00
parent e1b0abaf54
commit 330cd686db
16 changed files with 197 additions and 57 deletions

View File

@@ -13,3 +13,9 @@ target_link_libraries(dstalk-gui
dstalk
SDL3::SDL3
)
add_custom_command(TARGET dstalk-gui POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_FILE:dstalk>
$<TARGET_FILE_DIR:dstalk-gui>
)

View File

@@ -35,7 +35,6 @@ int main(int argc, char* argv[])
return 1;
}
/* TODO: 主循环 — SDL 事件处理, UI 渲染, 调用 dstalk_chat */
bool running = true;
SDL_Event event;
while (running) {