Skip to content

Commit

Permalink
refactor: add w4
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Mar 30, 2024
1 parent e4f4986 commit 1ecd534
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ if not has_config("vs_runtime") then
end

target("my-plugin") -- Change this to your plugin name.
add_cxflags("/EHa", "/utf-8")
add_cxflags(
"/EHa",
"/utf-8",
"/W4",
"/w44265",
"/w44289",
"/w44296",
"/w45263",
"/w44738",
"/w45204"
)
add_defines("NOMINMAX", "UNICODE")
add_files("src/**.cpp")
add_includedirs("src")
Expand Down

0 comments on commit 1ecd534

Please sign in to comment.