diff options
| author | ruki <[email protected]> | 2018-04-15 22:03:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-04-15 22:03:22 +0800 |
| commit | 6c4f65481bb0df23d34d9e0815ca642804dbb412 (patch) | |
| tree | 4d6ad11349d71e06a5e0876a329ff7e6069dcaac /tests | |
| parent | 4dab3917696d31139166ada278a9b4e4f4e9e4e6 (diff) | |
add qt static library
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/qt_static_library/src/demo.cpp | 5 | ||||
| -rw-r--r-- | tests/projects/qt_static_library/src/demo.h | 11 | ||||
| -rw-r--r-- | tests/projects/qt_static_library/xmake.lua | 13 |
3 files changed, 29 insertions, 0 deletions
diff --git a/tests/projects/qt_static_library/src/demo.cpp b/tests/projects/qt_static_library/src/demo.cpp new file mode 100644 index 000000000..a702ad253 --- /dev/null +++ b/tests/projects/qt_static_library/src/demo.cpp @@ -0,0 +1,5 @@ +#include "demo.h" + +QtDemo::QtDemo() +{ +} diff --git a/tests/projects/qt_static_library/src/demo.h b/tests/projects/qt_static_library/src/demo.h new file mode 100644 index 000000000..51eb9be55 --- /dev/null +++ b/tests/projects/qt_static_library/src/demo.h @@ -0,0 +1,11 @@ +#ifndef QT_DEMO_H +#define QT_DEMO_H + +class QtDemo +{ + +public: + QtDemo(); +}; + +#endif // QT_DEMO_H diff --git a/tests/projects/qt_static_library/xmake.lua b/tests/projects/qt_static_library/xmake.lua new file mode 100644 index 000000000..e3d27c18a --- /dev/null +++ b/tests/projects/qt_static_library/xmake.lua @@ -0,0 +1,13 @@ + +-- add modes: debug and release +add_rules("mode:debug", "mode:release") + +-- add target +target("qt_demo") + + -- add rules + add_rules("qt:static") + + -- add files + add_files("src/*.cpp") + |
