Explorar o código

build: also install natvis files

skypjack hai 9 meses
pai
achega
9ae1181ca7
Modificáronse 2 ficheiros con 8 adicións e 0 borrados
  1. 7 0
      CMakeLists.txt
  2. 1 0
      TODO

+ 7 - 0
CMakeLists.txt

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

+ 1 - 0
TODO

@@ -38,3 +38,4 @@ TODO:
 * avoid copying meta_type/data/func nodes
 * avoid copying meta_type/data/func nodes
 * paged vector as a standalone class
 * paged vector as a standalone class
 * update process/scheduler natvis and doc after rework
 * 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