Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jack2
Commits
b7bda2f0
Unverified
Commit
b7bda2f0
authored
Mar 31, 2016
by
Karl Linden
Browse files
Display all tool flags. Fixes #170.
parent
e2764ca1
Changes
1
Hide whitespace changes
Inline
Side-by-side
wscript
View file @
b7bda2f0
...
...
@@ -618,9 +618,18 @@ def configure(conf):
conf
.
msg
(
'32-bit library directory'
,
conf
.
all_envs
[
lib32
][
'LIBDIR'
],
color
=
'CYAN'
)
conf
.
msg
(
'Drivers directory'
,
conf
.
env
[
'ADDON_DIR'
],
color
=
'CYAN'
)
display_feature
(
conf
,
'Build debuggable binaries'
,
conf
.
env
[
'BUILD_DEBUG'
])
conf
.
msg
(
'C compiler flags'
,
repr
(
conf
.
all_envs
[
""
][
'CFLAGS'
]),
color
=
'NORMAL'
)
conf
.
msg
(
'C++ compiler flags'
,
repr
(
conf
.
all_envs
[
""
][
'CXXFLAGS'
]),
color
=
'NORMAL'
)
conf
.
msg
(
'Linker flags'
,
repr
(
conf
.
all_envs
[
""
][
'LINKFLAGS'
]),
color
=
'NORMAL'
)
tool_flags
=
[
(
'C compiler flags'
,
[
'CFLAGS'
,
'CPPFLAGS'
]),
(
'C++ compiler flags'
,
[
'CXXFLAGS'
,
'CPPFLAGS'
]),
(
'Linker flags'
,
[
'LINKFLAGS'
,
'LDFLAGS'
])
]
for
name
,
vars
in
tool_flags
:
flags
=
[]
for
var
in
vars
:
flags
+=
conf
.
all_envs
[
""
][
var
]
conf
.
msg
(
name
,
repr
(
flags
),
color
=
'NORMAL'
)
if
conf
.
env
[
'BUILD_WITH_32_64'
]
==
True
:
conf
.
msg
(
'32-bit C compiler flags'
,
repr
(
conf
.
all_envs
[
lib32
][
'CFLAGS'
]))
conf
.
msg
(
'32-bit C++ compiler flags'
,
repr
(
conf
.
all_envs
[
lib32
][
'CXXFLAGS'
]))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment