diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-22 01:41:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-22 01:41:36 +0100 |
| commit | 50ed1ed740cf0110cf510c557af5966807e3af3f (patch) | |
| tree | d88ba953479c0963cd7318d6ef0709ebafc6bd58 /wscript | |
| parent | f247a34bde696afb06860032cc2b0891f0a2572f (diff) | |
Try to get a console on windows when debugging.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ def configure(conf): if conf.options.target_windows: conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN']) + if conf.options.enable_debug: + conf.env.append_value('CXXFLAGS', ['-mconsole']) + conf.env.append_value('LINKFLAGS', ['-mconsole']) conf.options.disable_player = True conf.check(lib = 'ws2_32', uselib_store = 'WINSOCK2', msg = "Checking for library winsock2") boost_lib_suffix = '-mt' |
