- Introduced a new Python script `check_agents_metadata.py` for validating agent metadata, including YAML parsing, rating ranges, and cross-references. - Added usage instructions and exit codes for the script. - Created a new markdown file `模块目录和功能说明.md` to outline the directory structure and functionality of the modules. - Added a text file `说明此文件不可AI修改.txt` to specify that certain files should not be modified by AI, including important information about the `dstalk` framework and its modules.
28 lines
684 B
CMake
28 lines
684 B
CMake
# ============================================================
|
|
# dstalk-web — Web 前端 / Web frontend (Boost.Beast HTTP + SSE)
|
|
# ============================================================
|
|
|
|
find_package(Boost REQUIRED CONFIG)
|
|
|
|
add_executable(dstalk-web
|
|
src/main.cpp
|
|
)
|
|
|
|
set_target_properties(dstalk-web PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
|
)
|
|
|
|
target_compile_features(dstalk-web PRIVATE cxx_std_20)
|
|
|
|
target_link_libraries(dstalk-web
|
|
PRIVATE
|
|
dstalk
|
|
boost::boost
|
|
dstalk_boost_config
|
|
)
|
|
|
|
# Windows: Boost.Asio 需要 Winsock / Boost.Asio requires Winsock
|
|
if(WIN32)
|
|
target_link_libraries(dstalk-web PRIVATE ws2_32)
|
|
endif()
|