diff options
| author | Thomas Herzog <thomas.herzog@mail.com> | 2017-07-30 14:43:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-30 14:43:13 +0200 |
| commit | 0081c3bb3a068e64c82945b345056ecb31107b6e (patch) | |
| tree | 3c6b57395c967337dba1a1b05d090df067d2257a | |
| parent | 501a30856bd29015ef885509643d81e75e28a3e1 (diff) | |
| parent | 2d54c15c301e020b84a9f12d062a5ff84fcc16ce (diff) | |
| download | redot-cpp-0081c3bb3a068e64c82945b345056ecb31107b6e.tar.gz | |
Merge pull request #29 from RichyHBM/keep-env-windows
Add compiler flags for windows
| -rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -40,6 +40,10 @@ if platform == "linux": env.Append(CPPPATH=['.', godot_headers_path, 'include', 'include/core']) if platform == "windows": + if target == "debug": + env.Append(CCFLAGS = ['-EHsc', '-D_DEBUG', '/MDd']) + else: + env.Append(CCFLAGS = ['-O2', '-EHsc', '-DNDEBUG', '/MD']) env.Append(LIBS=[godot_name]) env.Append(LIBPATH=[godot_lib_path]) |
