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
4ec10596
Commit
4ec10596
authored
Dec 02, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 02, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If there is a single target, it should also get the 'project_settings
sources'. If a subdirectory is called 'include' then add it to the include path.
parent
26503fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
winemaker
tools/winemaker
+16
-5
No files found.
tools/winemaker
View file @
4ec10596
...
...
@@ -488,6 +488,9 @@ sub source_scan_directory
$targets
{
$candidate
}
=
1
;
}
}
}
elsif
(
$dentry
=~
/^include/i
)
{
# This directory must contain headers we're going to need
push
@
{
@$project_settings
[
$T_INCLUDE_PATH
]},
"-I$dentry"
;
}
else
{
# Recursively scan this directory. Any source file that cannot be
# attributed to a project in one of the subdirectories will be attributed
...
...
@@ -727,7 +730,7 @@ sub source_scan_directory
}
# This is the default link list of Visual Studio, except for uuid and
# odbccp32 which we don't have in Wine. Also I add ntdll which seems
# necessary for Wine
L
ib.
# necessary for Wine
l
ib.
my
@std_imports
=
qw(advapi32.dll comdlg32.dll gdi32.dll kernel32.dll ntdll.dll odbc32.dll ole32 oleaut32.dll shell32.dll user32.dll winspool.drv)
;
@$target
[
$T_IMPORTS
]
=\
@std_imports
;
push
@
{
@$project
[
$P_TARGETS
]},
$target
;
...
...
@@ -774,13 +777,21 @@ sub source_scan_directory
# Match sources...
if
(
$target_count
==
1
)
{
push
@
{
@$target
[
$T_SOURCES_C
]},
@sources_c
;
push
@
{
@$target
[
$T_SOURCES_CXX
]},
@sources_cxx
;
push
@
{
@$target
[
$T_SOURCES_RC
]},
@sources_rc
;
push
@
{
@$target
[
$T_SOURCES_MISC
]},
@sources_misc
;
push
@
{
@$target
[
$T_SOURCES_C
]},
@
{
@$project_settings
[
$T_SOURCES_C
]},
@sources_c
;
@$project_settings
[
$T_SOURCES_C
]
=[]
;
@sources_c
=
();
push
@
{
@$target
[
$T_SOURCES_CXX
]},
@
{
@$project_settings
[
$T_SOURCES_CXX
]},
@sources_cxx
;
@$project_settings
[
$T_SOURCES_CXX
]
=[]
;
@sources_cxx
=
();
push
@
{
@$target
[
$T_SOURCES_RC
]},
@
{
@$project_settings
[
$T_SOURCES_RC
]},
@sources_rc
;
@$project_settings
[
$T_SOURCES_RC
]
=[]
;
@sources_rc
=
();
push
@
{
@$target
[
$T_SOURCES_MISC
]},
@
{
@$project_settings
[
$T_SOURCES_MISC
]},
@sources_misc
;
# No need for sorting these sources
@$project_settings
[
$T_SOURCES_MISC
]
=[]
;
@sources_misc
=
();
}
else
{
foreach
$source
(
@sources_c
)
{
...
...
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