Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e1e9dc39
Commit
e1e9dc39
authored
Aug 13, 2009
by
André Hentschel
Committed by
Alexandre Julliard
Aug 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: Put the defines in DEFINES instead of CEXTRA.
parent
60fc01a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
winemaker
tools/winemaker
+5
-2
No files found.
tools/winemaker
View file @
e1e9dc39
...
...
@@ -535,6 +535,7 @@ sub source_scan_project_file($$$)
# some more settings
my
$path
=
dirname
(
$filename
);
my
$prj_target_cflags
;
my
$prj_target_defines
;
my
$prj_target_ldflags
;
my
$prj_target_libs
;
my
$prj_name
;
...
...
@@ -662,7 +663,7 @@ sub source_scan_project_file($$$)
# Use Multithreaded Run-Time Library
}
elsif
(
/^D\s*\"(.*)\"/
)
{
# Preprocessor Definitions
$prj_target_
cflag
s
.=
"-D"
.
$1
.
" "
;
$prj_target_
define
s
.=
"-D"
.
$1
.
" "
;
}
elsif
(
/^I\s*\"(.*)\"/
)
{
# Additional Include Directories
$sfilet
=
$1
;
...
...
@@ -841,6 +842,7 @@ sub source_scan_project_file($$$)
push
@
{
@$project_settings
[
$T_LIBRARIES
]},
$prj_target_libs
;
push
@
{
@$project_settings
[
$T_CEXTRA
]},
$prj_target_cflags
;
push
@
{
@$project_settings
[
$T_CXXEXTRA
]},
$prj_target_cflags
;
push
@
{
@$project_settings
[
$T_DEFINES
]},
$prj_target_defines
;
push
@
{
@$project_settings
[
$T_LDFLAGS
]},
$prj_target_ldflags
;
}
elsif
(
$filename
=~
/.vcproj$/i
)
{
# Import XML::LibXML, you need the libxml package (deb: libxml-libxml-perl, rpm: perl-libxml-perl)
...
...
@@ -923,7 +925,7 @@ sub source_scan_project_file($$$)
if
(
$vc_compiler_tool
->
getName
eq
"PreprocessorDefinitions"
)
{
$configt
=
$vc_compiler_tool
->
getValue
;
$configt
=~
s/;/ -D/g
;
$prj_target_
cflag
s
.=
"-D"
.
$configt
.
" "
;
$prj_target_
define
s
.=
"-D"
.
$configt
.
" "
;
}
if
(
$vc_compiler_tool
->
getName
eq
"AdditionalIncludeDirectories"
)
{
$configt
=
$vc_compiler_tool
->
getValue
;
...
...
@@ -948,6 +950,7 @@ sub source_scan_project_file($$$)
push
@
{
@$project_settings
[
$T_LIBRARIES
]},
$prj_target_libs
;
push
@
{
@$project_settings
[
$T_CEXTRA
]},
$prj_target_cflags
;
push
@
{
@$project_settings
[
$T_CXXEXTRA
]},
$prj_target_cflags
;
push
@
{
@$project_settings
[
$T_DEFINES
]},
$prj_target_defines
;
}
my
$target_count
;
...
...
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