Skip to content

Commit

Permalink
fix: remove O2 cxflags
Browse files Browse the repository at this point in the history
  • Loading branch information
Dofes committed Dec 2, 2023
1 parent e7aedb7 commit 1391c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ target("levilamina-plugin-template") -- Change this to your plugin name.
add_files("src/**.cpp")
add_includedirs("include")
add_packages("levilamina")
add_rules("mode.release")
add_rules("mode.release","mode.debug")
add_shflags("/DELAYLOAD:bedrock_server.dll")
set_arch("x64")
set_kind("shared")
set_languages("cxx20")
set_plat("windows")
set_symbols("debug")
set_toolchains("msvc")
add_cxflags("/O2", "/utf-8", "/permissive-")
add_cxflags("/utf-8", "/permissive-")

after_build(function (target)
local plugin_packer = import("scripts.plugin_packer")
Expand Down

0 comments on commit 1391c78

Please sign in to comment.