2 Star 2 Fork 0

RiCoCoSoul/Easy2D

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
xmake.lua 873 Bytes
一键复制 编辑 原始数据 按行查看 历史
RiCoCoSoul 提交于 2022-04-05 17:33 . 更新
add_rules("mode.debug", "mode.release")
target("easy2d")
-- static shared
set_kind("static")
-- add_cxflags("-mwindows")
-- add_cxflags("-fexec-charset=GBK")
-- add_cxflags("-finput-charset=utf-8")
-- add_cxflags("source-charset:utf-8")
add_includedirs("src/include")
add_headerfiles("src/include/easy2d/*.h", {
prefixdir = "easy2d"
})
add_headerfiles("src/include/*.h", {
prefixdir = ""
})
if is_host("windows")then
if is_plat("mingw") then
libdirs = {"libcomdlg32.a", "libd2d1.a", "libdinput.a", "libdinput8.a", "libdwrite.a", "libgdi32.a", "libimm32.a",
"libmfplat.a", "libmfreadwrite.a", "libole32.a", "libshlwapi.a", "libwindowscodecs.a", "libwinmm.a","libxaudio2_8.a"}
for i, v in ipairs(libdirs) do
add_files("$(mingw)/x86_64-w64-mingw32/lib/" .. v)
end
end
end
add_files("src/source/**.cpp")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ricocosoul_admin/easy2d.git
git@gitee.com:ricocosoul_admin/easy2d.git
ricocosoul_admin
easy2d
Easy2D
master

搜索帮助