浏览代码

EnTT: Copy natvis to include dirs (#2431)

Jérôme Leclercq 2 年之前
父节点
当前提交
e882990912
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/e/entt/xmake.lua

+ 1 - 0
packages/e/entt/xmake.lua

@@ -30,6 +30,7 @@ package("entt")
         local configs = {"-DENTT_BUILD_TESTING=OFF"}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         import("package.tools.cmake").install(package, configs)
+        os.cp("natvis/entt/*.natvis", package:installdir("include", "entt", "natvis"))
     end)
 
     on_test(function (package)