mirror of https://github.com/orefkov/simstr.git
Добавил прилинковку natvis для MSVC.
This commit is contained in:
parent
ce3d84445f
commit
b8296f5007
|
|
@ -53,6 +53,11 @@ target_include_directories(
|
|||
|
||||
target_compile_features(simstr_simstr PUBLIC cxx_std_20)
|
||||
|
||||
# Для MSVC подключаем natvis файл для красивой отладки
|
||||
if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
|
||||
target_link_options(simstr_simstr PUBLIC "/natvis:${CMAKE_CURRENT_SOURCE_DIR}/for_debug/simstr.natvis")
|
||||
endif()
|
||||
|
||||
set_target_properties(
|
||||
simstr_simstr PROPERTIES
|
||||
CXX_VISIBILITY_PRESET hidden
|
||||
|
|
|
|||
Loading…
Reference in New Issue