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
abc68c1c
Commit
abc68c1c
authored
May 19, 2009
by
André Hentschel
Committed by
Alexandre Julliard
May 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: Read the includes of a dsp project file.
parent
7b1d4872
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 @
abc68c1c
...
...
@@ -663,9 +663,11 @@ sub source_scan_project_file($$$)
}
elsif
(
/^D\s*\"(.*)\"/
)
{
# Preprocessor Definitions
$prj_target_cflags
.=
"-D"
.
$1
.
" "
;
}
elsif
(
/^I/
)
{
}
elsif
(
/^I
\s*\"(.*)\"
/
)
{
# Additional Include Directories
#$prj_target_cflags.="-I" fixpath(option)
$sfilet
=
$1
;
$sfilet
=~
s/\\/\//g
;
push
@
{
@$project_settings
[
$T_INCLUDE_PATH
]},
"-I"
.
$sfilet
.
" "
;
}
elsif
(
/^U\s*\"(.*)\"/
)
{
# Undefines a previously defined symbol
$prj_target_cflags
.=
"-U"
.
$1
.
" "
;
...
...
@@ -1847,6 +1849,7 @@ sub get_real_include_name($$$$$)
foreach
my
$include
(
@
{
@$target
[
$T_INCLUDE_PATH
]},
@
{
@$project_settings
[
$T_INCLUDE_PATH
]})
{
my
$dirname
=
$include
;
$dirname
=~
s
+^-
I
++
;
$dirname
=~
s
+\
s
$+
+
;
if
(
!
is_absolute
(
$dirname
))
{
$dirname
=
"@$project[$P_PATH]$dirname"
;
}
else
{
...
...
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