diff options
Diffstat (limited to 'tests/projects/other/autogen_code/xmake.lua')
| -rw-r--r-- | tests/projects/other/autogen_code/xmake.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/projects/other/autogen_code/xmake.lua b/tests/projects/other/autogen_code/xmake.lua index fb40d8e9c..9bfe25d9f 100644 --- a/tests/projects/other/autogen_code/xmake.lua +++ b/tests/projects/other/autogen_code/xmake.lua @@ -1,16 +1,13 @@ add_rules("mode.debug", "mode.release") -target("autogen_code") +target("test") set_kind("binary") add_files("$(buildir)/autogen.cpp", {always_added = true}) before_build(function (target) io.writefile("$(buildir)/autogen.cpp", [[ #include <iostream> - using namespace std; - -int main(int argc, char** argv) -{ +int main(int argc, char** argv) { cout << "hello world!" << endl; return 0; } |
