Replies: 1 comment 1 reply
-
package("borealis")
set_homepage("https://github.com/xfangfang/borealis")
set_description("Hardware accelerated, Nintendo Switch inspired UI library for PC, Android, iOS, PSV, PS4 and Nintendo Switch")
set_license("Apache-2.0")
add_urls("https://github.com/xfangfang/borealis.git")
add_versions("2024.04.18", "03e5fbc79abc65427a7ada91cba5a4ca46d3240b")
add_deps("cmake")
on_install(function (package)
local configs = {}
table.insert(configs, "-DPLATFORM_SWITCH=ON")
import("package.tools.cmake").install(package, configs)
end)
on_test(function (package)
assert(package:has_cfuncs("brls::Application::init", {includes = "borealis.hpp"}))
end)
I just made this but it uses the wrong CMakeLists.txt |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I want to create a package for borealis. There's already one xmake.lua in it but only support desktop. I want to create one package which support the switch platform. I wanted to use the cmake project
add_deps("cmake")
but the CMakeLists.txt at the root of the project is the demo of the lib, not the lib which is located inlibrary/
. How can I do to use the other cmake file ?Beta Was this translation helpful? Give feedback.
All reactions