From d7c0299b40a37fcf32c3f3a0a71ec60c60e4bd07 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 12 Oct 2020 23:06:15 +0800 Subject: add loop tests for openmp --- tests/projects/openmp/loop/xmake.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/projects/openmp/loop/xmake.lua (limited to 'tests/projects/openmp/loop/xmake.lua') diff --git a/tests/projects/openmp/loop/xmake.lua b/tests/projects/openmp/loop/xmake.lua new file mode 100644 index 000000000..eb14be1a3 --- /dev/null +++ b/tests/projects/openmp/loop/xmake.lua @@ -0,0 +1,6 @@ +add_requires("libomp", {optional = true}) +target("loop") + set_kind("binary") + add_files("src/*.cpp") + add_rules("c++.openmp") + add_packages("libomp") -- cgit v1.3.1