Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
46d14459
Commit
46d14459
authored
Nov 03, 2014
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build with the correct version on Windows Phone 8.
parent
c39428ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
build/wp8/belle-sip/belle-sip.vcxproj
build/wp8/belle-sip/belle-sip.vcxproj
+2
-5
build/wp8/belle-sip/version.bat
build/wp8/belle-sip/version.bat
+6
-8
No files found.
build/wp8/belle-sip/belle-sip.vcxproj
View file @
46d14459
...
...
@@ -42,9 +42,6 @@
<ImportGroup
Label=
"PropertySheets"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
>
<Import
Project=
"belle-sip.props"
/>
</ImportGroup>
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup>
<OutDir>
$(SolutionDir)$(Platform)\$(Configuration)\
</OutDir>
...
...
@@ -56,8 +53,8 @@
<ItemDefinitionGroup>
<ClCompile>
<WarningLevel>
Level4
</WarningLevel>
<PreprocessorDefinitions>
WIN32;_WINDOWS;_USRDLL;BELLESIP_EXPORTS;BELLESIP_INTERNAL_EXPORTS;HAVE_POLARSSL;HAVE_TUNNEL;HAVE_ANTLR_STRING_STREAM_NEW;HAVE_COMPILER_TLS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;USE_FIXED_NAMESERVERS;ENABLE_SERVER_SOCKETS;
PACKAGE_VERSION=$(BELLESIP_PACKAGE_VERSION)
;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(ProjectDir)..\..\..\include;$(ProjectDir)..\..\..\..\antlr3\runtime\C\include;$(ProjectDir)..\..\..\src;$(ProjectDir)..\..\..\..\polarssl\include;$(ProjectDir)..\..\..\..\tunnel\include;%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<PreprocessorDefinitions>
WIN32;_WINDOWS;_USRDLL;BELLESIP_EXPORTS;BELLESIP_INTERNAL_EXPORTS;HAVE_POLARSSL;HAVE_TUNNEL;HAVE_ANTLR_STRING_STREAM_NEW;HAVE_COMPILER_TLS;_CRT_SECURE_NO_WARNINGS;_UNICODE;UNICODE;USE_FIXED_NAMESERVERS;ENABLE_SERVER_SOCKETS;
HAVE_CONFIG_H
;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(ProjectDir)..\..\..\include;$(ProjectDir)..\..\..\..\antlr3\runtime\C\include;$(ProjectDir)..\..\..\src;$(ProjectDir)..\..\..\..\polarssl\include;$(ProjectDir)..\..\..\..\tunnel\include;
$(ProjectDir);
%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
<BasicRuntimeChecks>
Default
</BasicRuntimeChecks>
<PrecompiledHeader>
NotUsing
</PrecompiledHeader>
<CompileAsWinRT>
false
</CompileAsWinRT>
...
...
build/wp8/belle-sip/version.bat
View file @
46d14459
REM define the tools
SET
grep_exe
=
grep
.exe
SET
sed_exe
=
sed
.exe
@ECHO
off
REM get the version
FOR
/F
%%i
IN
(
'
%grep_exe%
"AC_INIT(" ../../../configure.ac
^|
%sed_exe%
-e "s/.*belle-sip\]//"
^|
%sed_exe%
-e "s/].*//"
^|
%sed_exe%
-e "s/.*\[//" '
)
DO
SET
version
=
%%i
REM set the version in the props file
REM %sed_exe% -i.bak "s/BELLESIP_PACKAGE_VERSION>\"[0-9.]*\"</BELLESIP_PACKAGE_VERSION>\"%version%\"</g" belle-sip.props
FOR
/F
"delims="
%%a
IN
(
'findstr /B AC_INIT ..\..\..\configure.ac'
)
DO
(
FOR
/F
"tokens=1,2,3 delims=[,]"
%%
1
IN
(
"
%%a
"
)
DO
(
ECHO
#define
PACKAGE_VERSION
"
%%
3"
>
config
.h
)
)
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