Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion examples/transport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,25 @@ target_link_libraries(tcp_ssl_http_example
# Set properties
set_target_properties(tcp_ssl_http_example PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples/transport
)
)

# MCP Client SSE Transport Example
add_executable(mcp_client_sse_example mcp_client_sse_example.cc)

target_link_libraries(mcp_client_sse_example
gopher-mcp
gopher-mcp-event
Threads::Threads
OpenSSL::SSL
OpenSSL::Crypto
)

# Set properties
set_target_properties(mcp_client_sse_example PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples/transport
)

# Windows-specific libraries
if(WIN32)
target_link_libraries(mcp_client_sse_example ws2_32 mswsock)
endif()
Loading
Loading