From 4bc721c3bf7589b519c5730d093f704ce56e3f09 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Mon, 29 Jun 2026 21:43:54 +0900 Subject: refactor: MCP層をmcpc APIベースに刷新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 独自JSON-RPC処理をmcpcへ置き換え - 各MCPツールを個別ソースへ分離 - 共通コンテキストと登録処理を整理 - mcpc互換修正と統合テストを更新 --- CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e34b7b..ca15a2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,16 @@ set(CMAKE_C_STANDARD 17) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) +option(TINY_CONVMEM_ENABLE_ASAN "Enable AddressSanitizer for project and tests" OFF) +if(TINY_CONVMEM_ENABLE_ASAN) + if(NOT MSVC) + message(FATAL_ERROR "TINY_CONVMEM_ENABLE_ASAN currently supports MSVC only") + endif() + string(REPLACE "/RTC1" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") + add_compile_options(/fsanitize=address /Oy-) + add_link_options(/INCREMENTAL:NO) +endif() + include(CTest) include(cmake/mcpc.cmake) @@ -19,4 +29,3 @@ add_subdirectory(src) if(BUILD_TESTING) add_subdirectory(tests) endif() - -- cgit v1.2.3