target("infiniop-cpu") on_install(function (target) end) set_kind("static") set_warnings("all", "error") if not is_plat("windows") then add_cxflags("-fPIC") end set_languages("cxx17") add_files("../src/infiniop/devices/cpu/*.cc", "../src/infiniop/ops/*/cpu/*.cc") if has_config("omp") then add_cxflags("-fopenmp") add_ldflags("-fopenmp") end target_end() target("infinirt-cpu") on_install(function (target) end) set_kind("static") set_warnings("all", "error") if not is_plat("windows") then add_cxflags("-fPIC") end set_languages("cxx17") add_files("../src/infinirt/cpu/*.cc") target_end()