function main () os.exec("xmake create -P $(tmpdir)/test") os.exec("xmake -P $(tmpdir)/test") os.exec("xmake create -l c++ -P $(tmpdir)/test_cpp") os.exec("xmake -P $(tmpdir)/test_cpp") os.exec("xmake create -l c++ -t static -P $(tmpdir)/test_cpp2") os.exec("xmake -P $(tmpdir)/test_cpp2") os.exec("xmake create -l c++ -t shared -P $(tmpdir)/test_cpp3") os.exec("xmake -P $(tmpdir)/test_cpp3") end