瀏覽代碼

build: also install natvis files

skypjack 8 月之前
父節點
當前提交
9ae1181ca7
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 7 0
      CMakeLists.txt
  2. 1 0
      TODO

+ 7 - 0
CMakeLists.txt

@@ -308,6 +308,13 @@ if(ENTT_INSTALL)
         PATTERN "*.hpp"
     )
 
+    install(
+        DIRECTORY natvis/
+        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/entt/natvis
+        FILES_MATCHING
+        PATTERN "*.nativs"
+    )
+
     export(PACKAGE EnTT)
 endif()
 

+ 1 - 0
TODO

@@ -38,3 +38,4 @@ TODO:
 * avoid copying meta_type/data/func nodes
 * paged vector as a standalone class
 * update process/scheduler natvis and doc after rework
+* move natvis files to the source dir and install with the same command as it should be