Skip to content

Commit

Permalink
Move msvc specific define to msc toolset filter
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdoom5 committed Jan 22, 2025
1 parent b777d0c commit bef0f3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function SetupNativeProject()
defines { "DEBUG" }

filter { "configurations:DebugOpt" }
defines { "DEBUG", "_ITERATOR_DEBUG_LEVEL=0" }
defines { "DEBUG" }
optimize "Debug"
runtime "Release"

Expand All @@ -118,6 +118,9 @@ function SetupNativeProject()
-- Compiler-specific options

filter { "toolset:msc*" }
filter { "configurations:DebugOpt" }
defines { "_ITERATOR_DEBUG_LEVEL=0" }

buildoptions { msvc_buildflags }
defines { msvc_cpp_defines }

Expand Down

0 comments on commit bef0f3f

Please sign in to comment.