add .natvis for MSVC debug view
This commit is contained in:
1 parent
5b4855dea2
commit
48d7a32daa
2 files changed
+40
-1
No files matched your search
+8
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user