Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
cea6df77
Commit
cea6df77
authored
22 years ago
by
Patrik Stridvall
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added Microsoft Visual Studio workspace and project file maker.
parent
57bf4506
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/winapi/config.pm
+12
-7
12 additions, 7 deletions
tools/winapi/config.pm
tools/winapi/msvcmaker
+793
-0
793 additions, 0 deletions
tools/winapi/msvcmaker
with
805 additions
and
7 deletions
tools/winapi/config.pm
+
12
−
7
View file @
cea6df77
...
...
@@ -31,7 +31,10 @@ require Exporter;
&file_directory
&file_type &files_filter
&file_skip &files_skip
&get_c_files &get_h_files &get_spec_files
&get_c_files
&get_h_files
&get_makefile_in_files
&get_spec_files
)
;
@EXPORT_OK
=
qw(
$current_dir $wine_dir $winapi_dir $winapi_check_dir
...
...
@@ -141,11 +144,11 @@ sub file_directory {
}
sub
_get_files
{
my
$
extensio
n
=
shift
;
my
$
patter
n
=
shift
;
my
$type
=
shift
;
my
$dir
=
shift
;
$output
->
progress
("
$wine_dir
: searching for
*.
$extension
");
$output
->
progress
("
$wine_dir
: searching for
/
$pattern
/
");
if
(
!
defined
(
$dir
))
{
$dir
=
$wine_dir
;
...
...
@@ -159,12 +162,13 @@ sub _get_files {
my
@entries
=
readdir
(
DIR
);
closedir
(
DIR
);
foreach
(
@entries
)
{
my
$basefile
=
$_
;
$_
=
"
$dir
/
$_
";
if
(
/\.\.?$/
)
{
# Nothing
}
elsif
(
-
d
$_
)
{
push
@dirs
,
$_
;
}
elsif
(
/\.$extension$
/
&&
(
!
defined
(
$type
)
||
file_type
(
$_
)
eq
$type
))
{
}
elsif
(
$basefile
=~
/$pattern
/
&&
(
!
defined
(
$type
)
||
file_type
(
$_
)
eq
$type
))
{
s%^$wine_dir/%%
;
push
@files
,
$_
;
}
...
...
@@ -174,8 +178,9 @@ sub _get_files {
return
@files
;
}
sub
get_c_files
{
return
_get_files
("
c
",
@
_
);
}
sub
get_h_files
{
return
_get_files
("
h
",
@
_
);
}
sub
get_spec_files
{
return
_get_files
("
spec
",
@
_
);
}
sub
get_c_files
{
return
_get_files
('
\.c$
',
@
_
);
}
sub
get_h_files
{
return
_get_files
('
\.h$
',
@
_
);
}
sub
get_spec_files
{
return
_get_files
('
\.spec$
',
@
_
);
}
sub
get_makefile_in_files
{
return
_get_files
('
^Makefile.in$
',
@
_
);
}
1
;
This diff is collapsed.
Click to expand it.
tools/winapi/msvcmaker
0 → 100755
+
793
−
0
View file @
cea6df77
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment