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
3899315f
Commit
3899315f
authored
10 years ago
by
Johann
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Download
Plain Diff
Merge "Fix building for arm with Visual Studio 2013"
parents
a24e2438
65f13afd
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
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
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
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/make/configure.sh
+7
-0
build/make/configure.sh
build/make/gen_msvs_vcxproj.sh
+27
-13
build/make/gen_msvs_vcxproj.sh
with
34 additions
and
13 deletions
build/make/configure.sh
+
7
−
0
View file @
3899315f
...
...
@@ -859,6 +859,13 @@ EOF
msvs_arch_dir
=
arm-msvs
disable_feature multithread
disable_feature unit_tests
vs_version
=
${
tgt_cc
##vs
}
if
[
$vs_version
-ge
12
]
;
then
# MSVC 2013 doesn't allow doing plain .exe projects for ARM,
# only "AppContainerApplication" which requires an AppxManifest.
# Therefore disable the examples, just build the library.
disable_feature examples
fi
;;
rvct
)
CC
=
armcc
...
...
This diff is collapsed.
Click to expand it.
build/make/gen_msvs_vcxproj.sh
+
27
−
13
View file @
3899315f
...
...
@@ -292,6 +292,18 @@ generate_vcxproj() {
tag_content ProjectGuid
"{
${
guid
}
}"
tag_content RootNamespace
${
name
}
tag_content Keyword ManagedCProj
if
[
$vs_ver
-ge
12
]
&&
[
"
${
platforms
[0]
}
"
=
"ARM"
]
;
then
tag_content AppContainerApplication
true
# The application type can be one of "Windows Store",
# "Windows Phone" or "Windows Phone Silverlight". The
# actual value doesn't matter from the libvpx point of view,
# since a static library built for one works on the others.
# The PlatformToolset field needs to be set in sync with this;
# for Windows Store and Windows Phone Silverlight it should be
# v120 while it should be v120_wp81 if the type is Windows Phone.
tag_content ApplicationType
"Windows Store"
tag_content ApplicationTypeRevision 8.1
fi
close_tag PropertyGroup
tag Import
\
...
...
@@ -324,18 +336,10 @@ generate_vcxproj() {
fi
fi
if
[
"
$vs_ver
"
=
"12"
]
;
then
if
[
"
$plat
"
=
"ARM"
]
;
then
# Setting the wp80 toolchain automatically sets the
# WINAPI_FAMILY define, which is required for building
# code for arm with the windows headers. Alternatively,
# one could add AppContainerApplication=true in the Globals
# section and add PrecompiledHeader=NotUsing and
# CompileAsWinRT=false in ClCompile and SubSystem=Console
# in Link.
tag_content PlatformToolset v120_wp80
else
tag_content PlatformToolset v120
fi
# Setting a PlatformToolset indicating windows phone isn't
# enough to build code for arm with MSVC 2013, one strictly
# has to enable AppContainerApplication as well.
tag_content PlatformToolset v120
fi
tag_content CharacterSet Unicode
if
[
"
$config
"
=
"Release"
]
;
then
...
...
@@ -427,15 +431,25 @@ generate_vcxproj() {
if
${
werror
:-
false
}
;
then
tag_content TreatWarningAsError
true
fi
if
[
$vs_ver
-ge
11
]
;
then
# We need to override the defaults for these settings
# if AppContainerApplication is set.
tag_content CompileAsWinRT
false
tag_content PrecompiledHeader NotUsing
tag_content SDLCheck
false
fi
close_tag ClCompile
case
"
$proj_kind
"
in
exe
)
open_tag Link
if
[
"
$name
"
!=
"obj_int_extract"
]
;
then
tag_content AdditionalDependencies
"
$curlibs
"
tag_content AdditionalDependencies
"
$curlibs
;%(AdditionalDependencies)
"
tag_content AdditionalLibraryDirectories
"
$libdirs
;%(AdditionalLibraryDirectories)"
fi
tag_content GenerateDebugInformation
true
# Console is the default normally, but if
# AppContainerApplication is set, we need to override it.
tag_content SubSystem Console
close_tag Link
;;
dll
)
...
...
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