Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
08202e0a
Commit
08202e0a
authored
11 years ago
by
James Zern
Committed by
Gerrit Code Review
11 years ago
Browse files
Options
Download
Plain Diff
Merge "msvs: Generate proper configurations for mixed platforms"
parents
242157c7
feefd81b
v1.14.0-linphone
1.4.X
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/debargha/playground
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
stable-vp9-decoder
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/make/gen_msvs_sln.sh
+25
-7
build/make/gen_msvs_sln.sh
with
25 additions
and
7 deletions
build/make/gen_msvs_sln.sh
+
25
−
7
View file @
08202e0a
...
...
@@ -72,15 +72,21 @@ parse_project() {
eval
"
${
var
}
_name=
$name
"
eval
"
${
var
}
_guid=
$guid
"
# assume that all projects have the same list of possible configurations,
# so overwriting old config_lists is not a problem
if
[
"
$sfx
"
=
"vcproj"
]
;
then
config_list
=
`
grep
-A1
'<Configuration'
$file
|
cur_
config_list
=
`
grep
-A1
'<Configuration'
$file
|
grep
Name |
cut
-d
\"
-f2
`
else
config_list
=
`
grep
-B1
'Label="Configuration"'
$file
|
cur_
config_list
=
`
grep
-B1
'Label="Configuration"'
$file
|
grep
Condition |
cut
-d
\'
-f4
`
fi
new_config_list
=
$(
for
i
in
$config_list
$cur_config_list
;
do
echo
$i
done
|
sort
|
uniq
)
if
[
"
$config_list
"
!=
""
]
&&
[
"
$config_list
"
!=
"
$new_config_list
"
]
;
then
mixed_platforms
=
1
fi
config_list
=
"
$new_config_list
"
eval
"
${
var
}
_config_list=
\"
$cur_config_list
\"
"
proj_list
=
"
${
proj_list
}
${
var
}
"
}
...
...
@@ -130,6 +136,11 @@ process_global() {
indent_push
IFS_bak
=
${
IFS
}
IFS
=
$'
\r
'$'
\n
'
if
[
"
$mixed_platforms
"
!=
""
]
;
then
config_list
=
"
Release|Mixed Platforms
Debug|Mixed Platforms"
fi
for
config
in
${
config_list
}
;
do
echo
"
${
indent
}
$config
=
$config
"
done
...
...
@@ -144,10 +155,17 @@ process_global() {
indent_push
for
proj
in
${
proj_list
}
;
do
eval
"local proj_guid=
\$
{
${
proj
}
_guid}"
eval
"local proj_config_list=
\$
{
${
proj
}
_config_list}"
IFS
=
$'
\r
'$'
\n
'
for
config
in
${
config_list
}
;
do
echo
"
${
indent
}${
proj_guid
}
.
${
config
}
.ActiveCfg =
${
config
}
"
echo
"
${
indent
}${
proj_guid
}
.
${
config
}
.Build.0 =
${
config
}
"
for
config
in
${
proj_config_list
}
;
do
if
[
"
$mixed_platforms
"
!=
""
]
;
then
local
c
=
${
config
%%|*
}
echo
"
${
indent
}${
proj_guid
}
.
${
c
}
|Mixed Platforms.ActiveCfg =
${
config
}
"
echo
"
${
indent
}${
proj_guid
}
.
${
c
}
|Mixed Platforms.Build.0 =
${
config
}
"
else
echo
"
${
indent
}${
proj_guid
}
.
${
config
}
.ActiveCfg =
${
config
}
"
echo
"
${
indent
}${
proj_guid
}
.
${
config
}
.Build.0 =
${
config
}
"
fi
done
IFS
=
${
IFS_bak
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets