diff options
Diffstat (limited to 'tests/projects/c++/protobuf/xmake.lua')
| -rw-r--r-- | tests/projects/c++/protobuf/xmake.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/projects/c++/protobuf/xmake.lua b/tests/projects/c++/protobuf/xmake.lua new file mode 100644 index 000000000..b340a8cd4 --- /dev/null +++ b/tests/projects/c++/protobuf/xmake.lua @@ -0,0 +1,20 @@ + +-- add rules: debug and release +add_rules("mode.debug", "mode.release") + +-- add protobuf +add_requires("protobuf-cpp", "protoc") + +-- add target +target("console_c++") + + -- set kind + set_kind("binary") + + -- add rules and packages + add_rules("protobuf.cpp") + add_packages("protobuf-cpp", "protoc") + + -- add files + add_files("src/*.cpp", "src/*.proto") + |
