add .natvis for MSVC debug view
This commit is contained in:
parent
5b4855dea2
commit
48d7a32daa
2 changed files with 40 additions and 1 deletions
|
|
@ -35,7 +35,14 @@ target_include_directories(
|
|||
${NLOHMANN_JSON_TARGET_NAME}
|
||||
INTERFACE $<INSTALL_INTERFACE:include/>
|
||||
)
|
||||
|
||||
|
||||
target_sources(
|
||||
${NLOHMANN_JSON_TARGET_NAME}
|
||||
INTERFACE
|
||||
$<INSTALL_INTERFACE:include/json.natvis>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${NLOHMANN_JSON_SOURCE_DIR}/json.natvis>
|
||||
)
|
||||
|
||||
##
|
||||
## TESTS
|
||||
## create and configure the unit test target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue