Skip to content

Commit

Permalink
Remove CRT debug flag to match godot and godot-cpp
Browse files Browse the repository at this point in the history
Godot has a debug_crt flag to put this back, but it conflicts with
use_static_cpp so just punting until someone needs it.
  • Loading branch information
vilhalmer committed Mar 2, 2024
1 parent f63b9ad commit a8608d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ if env['platform'] == 'windows':
else:
env.Append(CCFLAGS = ['-O2', '-EHsc', '-DNDEBUG'])

runtime_debug = 'd' if debug else ''
if env["use_static_cpp"]:
env.Append(CCFLAGS=["-MT" + runtime_debug])
env.Append(CCFLAGS=["-MT"])
else:
env.Append(CCFLAGS=["-MD" + runtime_debug])
env.Append(CCFLAGS=["-MD"])

openvr_dll_target = env['target_path'] + "openvr_api.dll"
openvr_dll_source = env['openvr_path'] + "bin/win" + str(env['bits']) + "/openvr_api.dll"
Expand Down

0 comments on commit a8608d4

Please sign in to comment.