Add TiltedCore (#223)
* Add TiltedCore * Remove linux until they update to C++17... * Fix version * Update xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.lua * Update xmake.luapull/226/head
parent
fb481440f0
commit
4d126ef62a
1 changed files with 24 additions and 0 deletions
@ -0,0 +1,24 @@ |
||||
package("tiltedcore") |
||||
|
||||
set_homepage("https://github.com/tiltedphoques/TiltedCore") |
||||
set_description("Core library from Tilted Phoques") |
||||
|
||||
add_urls("https://github.com/tiltedphoques/TiltedCore/releases/download/$(version)/release.zip") |
||||
add_urls("https://github.com/tiltedphoques/TiltedCore.git") |
||||
|
||||
add_versions("v0.1.3", "e6bc279a436e32c187341af9a47a64977d00d354eda66237804aada51d1884e3") |
||||
|
||||
add_deps("mimalloc") |
||||
|
||||
on_install("windows", "msys", function (package) |
||||
local configs = {} |
||||
import("package.tools.xmake").install(package, configs) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:check_cxxsnippets({test = [[ |
||||
void test(int args, char** argv) { |
||||
TiltedPhoques::Outcome<int, float> outcome; |
||||
} |
||||
]]}, {includes = {"TiltedCore/Outcome.hpp"}})) |
||||
end) |
Loading…
Reference in new issue