From 4ddb1ae236e39fc96c38ca22a38c491347e58f37 Mon Sep 17 00:00:00 2001 From: Aleksandr Orefkov Date: Fri, 14 Nov 2025 14:31:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20natvis=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20=D0=B8=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B8=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B5=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=20clang-cl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bc3c52..c32dfdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,8 +54,11 @@ if(EMSCRIPTEN) endif() endif(EMSCRIPTEN) +if (NOT CMAKE_CXX_SIMULATE_ID) + set (CMAKE_CXX_SIMULATE_ID "None") +endif() # Для MSVC подключаем natvis файл для красивой отладки -if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC) +if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC OR ${CMAKE_CXX_SIMULATE_ID} STREQUAL MSVC) target_link_options(simstr_simstr PUBLIC "/natvis:${CMAKE_CURRENT_SOURCE_DIR}/for_debug/simstr.natvis") endif()