mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 14:57:46 +00:00
Merge branch 'develop' of https://github.com/vinniefalco/boost-core into feature/pr-122
This commit is contained in:
commit
58fd395c51
@ -20,6 +20,13 @@ target_link_libraries(boost_core
|
||||
Boost::throw_exception
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE boost_core_IDEFILES CONFIGURE_DEPENDS include/*.hpp)
|
||||
source_group(TREE ${PROJECT_SOURCE_DIR}/include FILES ${boost_core_IDEFILES})
|
||||
if (CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
list(APPEND boost_core_IDEFILES extra/boost_core.natvis)
|
||||
endif()
|
||||
target_sources(boost_core PRIVATE ${boost_core_IDEFILES})
|
||||
|
||||
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||
|
||||
add_subdirectory(test)
|
||||
|
8
extra/boost_core.natvis
Normal file
8
extra/boost_core.natvis
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
||||
|
||||
<Type Name="boost::core::basic_string_view<*>">
|
||||
<DisplayString>{p_,[n_]s}</DisplayString>
|
||||
</Type>
|
||||
|
||||
</AutoVisualizer>
|
Loading…
x
Reference in New Issue
Block a user