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
ebde8057
Commit
ebde8057
authored
May 10, 2010
by
André Hentschel
Committed by
Alexandre Julliard
May 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: Clean up target type handling.
parent
bb8f2c4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
winemaker
tools/winemaker
+12
-12
No files found.
tools/winemaker
View file @
ebde8057
...
...
@@ -543,7 +543,7 @@ sub source_scan_project_file($$$)
my
$prj_name
;
my
$found_cfg
=
0
;
my
$prj_cfg
;
my
$prj_target_type
=
1
;
my
$prj_target_type
=
$TT_GUIEXE
;
my
@prj_target_options
;
if
(
!
(
$path
=~
/\/$/
))
{
...
...
@@ -591,16 +591,16 @@ sub source_scan_project_file($$$)
next
;
}
elsif
(
/^# TARGTYPE/
)
{
if
(
/[[:space:]]0x0101$/
)
{
#
Win32 (x86)
Application
$prj_target_type
=
1
;
# Application
$prj_target_type
=
$TT_GUIEXE
;
}
elsif
(
/[[:space:]]0x0102$/
)
{
#
Win32 (x86)
Dynamic-Link Library
$prj_target_type
=
3
;
# Dynamic-Link Library
$prj_target_type
=
$TT_DLL
;
}
elsif
(
/[[:space:]]0x0103$/
)
{
#
Win32 (x86)
Console Application
$prj_target_type
=
2
;
# Console Application
$prj_target_type
=
$TT_CUIEXE
;
}
elsif
(
/[[:space:]]0x0104$/
)
{
#
Win32 (x86)
Static Library
# Static Library
}
next
;
}
elsif
(
/^# ADD CPP(.*)/
&&
$found_cfg
==
1
)
{
...
...
@@ -743,7 +743,7 @@ sub source_scan_project_file($$$)
# Generate Debug Info
}
elsif
(
/^dll$/
)
{
# Build a DLL
$prj_target_type
=
3
;
$prj_target_type
=
$TT_DLL
;
}
elsif
(
/^incremental:[[:alpha:]]+$/
)
{
# Link Incrmentally
}
elsif
(
/^implib:/
)
{
...
...
@@ -898,9 +898,9 @@ sub source_scan_project_file($$$)
foreach
my
$vc_configuration_attr
(
$vc_configuration
->
attributes
)
{
if
(
$vc_configuration_attr
->
getName
eq
"ConfigurationType"
)
{
if
(
$vc_configuration_attr
->
getValue
==
1
)
{
$prj_target_type
=
1
;
# Win32 (x86)
Application
$prj_target_type
=
$TT_GUIEXE
;
#
Application
}
elsif
(
$vc_configuration_attr
->
getValue
==
2
)
{
$prj_target_type
=
3
;
# Win32 (x86)
Dynamic-Link Library
$prj_target_type
=
$TT_DLL
;
#
Dynamic-Link Library
}
}
}
...
...
@@ -994,7 +994,7 @@ sub source_scan_project_file($$$)
my
$target
=[]
;
target_init
(
$target
);
if
(
$prj_target_type
!=
3
)
{
if
(
$prj_target_type
!=
$TT_DLL
)
{
$prj_name
=
lc
(
$prj_name
.
".exe"
);
@$target
[
$T_TYPE
]
=
$opt_target_type
;
push
@exe_list
,
$target
;
...
...
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