projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f247a34
)
Try to get a console on windows when debugging.
author
Carl Hetherington
<cth@carlh.net>
Mon, 22 Oct 2012 00:41:36 +0000
(
01:41
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 22 Oct 2012 00:41:36 +0000
(
01:41
+0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 98a098f7e7ce67ad991f01695a81a6cd4374f932..2a11234d0256999008806eee88bf7dab88de0725 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-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'