summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/templates/c++/shared_library_tbox/project/src/_demo/xmake.lua3
-rw-r--r--xmake/templates/c++/static_library_tbox/project/src/_demo/xmake.lua3
-rw-r--r--xmake/templates/c/shared_library_tbox/project/src/_demo/xmake.lua3
-rw-r--r--xmake/templates/c/static_library_tbox/project/src/_demo/xmake.lua3
4 files changed, 12 insertions, 0 deletions
diff --git a/xmake/templates/c++/shared_library_tbox/project/src/_demo/xmake.lua b/xmake/templates/c++/shared_library_tbox/project/src/_demo/xmake.lua
index ebe9d0195..8c3f908f7 100644
--- a/xmake/templates/c++/shared_library_tbox/project/src/_demo/xmake.lua
+++ b/xmake/templates/c++/shared_library_tbox/project/src/_demo/xmake.lua
@@ -13,3 +13,6 @@ target("demo")
-- add files
add_files("*.cpp")
+ -- add packages
+ add_packages("tboox.tbox", "base")
+
diff --git a/xmake/templates/c++/static_library_tbox/project/src/_demo/xmake.lua b/xmake/templates/c++/static_library_tbox/project/src/_demo/xmake.lua
index ebe9d0195..8c3f908f7 100644
--- a/xmake/templates/c++/static_library_tbox/project/src/_demo/xmake.lua
+++ b/xmake/templates/c++/static_library_tbox/project/src/_demo/xmake.lua
@@ -13,3 +13,6 @@ target("demo")
-- add files
add_files("*.cpp")
+ -- add packages
+ add_packages("tboox.tbox", "base")
+
diff --git a/xmake/templates/c/shared_library_tbox/project/src/_demo/xmake.lua b/xmake/templates/c/shared_library_tbox/project/src/_demo/xmake.lua
index 7d122fecc..778de8e06 100644
--- a/xmake/templates/c/shared_library_tbox/project/src/_demo/xmake.lua
+++ b/xmake/templates/c/shared_library_tbox/project/src/_demo/xmake.lua
@@ -13,3 +13,6 @@ target("demo")
-- add files
add_files("*.c")
+ -- add packages
+ add_packages("tboox.tbox", "base")
+
diff --git a/xmake/templates/c/static_library_tbox/project/src/_demo/xmake.lua b/xmake/templates/c/static_library_tbox/project/src/_demo/xmake.lua
index 7d122fecc..778de8e06 100644
--- a/xmake/templates/c/static_library_tbox/project/src/_demo/xmake.lua
+++ b/xmake/templates/c/static_library_tbox/project/src/_demo/xmake.lua
@@ -13,3 +13,6 @@ target("demo")
-- add files
add_files("*.c")
+ -- add packages
+ add_packages("tboox.tbox", "base")
+