diff options
| author | ruki <[email protected]> | 2017-09-17 15:34:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-17 15:34:12 +0800 |
| commit | 5ea8f65e53f4903852a4490a9b25d6b1fff6ce83 (patch) | |
| tree | 8910d7bc9b79e209d98b29c1430bfde732bff7c9 | |
| parent | f5c65f2a5fc03f81f3702486f677b3fe49d4597e (diff) | |
fix c/c++ project templates with tbox
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") + |
