Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
afa36ce1
Commit
afa36ce1
authored
Mar 01, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 01, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reenable the wrapper support.
parent
1cfdeeec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
winemaker
tools/winemaker
+7
-9
No files found.
tools/winemaker
View file @
afa36ce1
...
...
@@ -405,19 +405,18 @@ sub source_set_options
push
@
{
@$target
[
$T_LIBRARIES
]},
$'
;
}
elsif
(
@$target
[
$T_TYPE
]
!=
$TT_DLL
and
$option
=~
/^--wrap/
)
{
print
STDERR
"warning: --wrap no longer supported, ignoring\n"
;
#@$target[$T_FLAGS]|=$TF_WRAP;
@$target
[
$T_FLAGS
]
|=
$TF_WRAP
;
}
elsif
(
@$target
[
$T_TYPE
]
!=
$TT_DLL
and
$option
=~
/^--nowrap/
)
{
@$target
[
$T_FLAGS
]
&=~
$TF_WRAP
;
}
elsif
(
$option
=~
/^--mfc/
)
{
@$target
[
$T_FLAGS
]
|=
$TF_MFC
;
#
if (@$target[$T_TYPE] != $TT_DLL) {
#
@$target[$T_FLAGS]|=$TF_WRAP;
#
}
if
(
@$target
[
$T_TYPE
]
!=
$TT_DLL
)
{
@$target
[
$T_FLAGS
]
|=
$TF_WRAP
;
}
}
elsif
(
$option
=~
/^--nomfc/
)
{
@$target
[
$T_FLAGS
]
&=~
$TF_MFC
;
#
@$target[$T_FLAGS]&=~($TF_MFC|$TF_WRAP);
@$target
[
$T_FLAGS
]
&=~
(
$TF_MFC
|
$TF_WRAP
);
}
else
{
print
STDERR
"error: unknown option \"$option\"\n"
;
return
0
;
...
...
@@ -2051,13 +2050,12 @@ while (@ARGV>0) {
$opt_ask_project_options
=
$OPT_ASK_YES
;
$opt_ask_target_options
=
$OPT_ASK_YES
;
}
elsif
(
$arg
eq
"--wrap"
)
{
print
STDERR
"warning: --wrap no longer supported, ignoring the option\n"
;
#$opt_flags|=$TF_WRAP;
$opt_flags
|=
$TF_WRAP
;
}
elsif
(
$arg
eq
"--nowrap"
)
{
$opt_flags
&=~
$TF_WRAP
;
}
elsif
(
$arg
eq
"--mfc"
)
{
$opt_flags
|=
$TF_MFC
;
#
$opt_flags|=$TF_MFC|$TF_WRAP;
$opt_flags
|=
$TF_MFC
|
$TF_WRAP
;
$needs_mfc
=
1
;
}
elsif
(
$arg
eq
"--nomfc"
)
{
$opt_flags
&=~
(
$TF_MFC
|
$TF_WRAP
);
...
...
Write
Preview
Markdown
is supported
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