Commit 85f20dce authored by Sylvain Berfini's avatar Sylvain Berfini

Fix antoher issue in windows compil

parent 8b673ae8
......@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<BELLESIP_PACKAGE_VERSION>1.2.1</BELLESIP_PACKAGE_VERSION>
<BELLESIP_PACKAGE_VERSION>"1.2.1"</BELLESIP_PACKAGE_VERSION>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup />
......
......@@ -128,14 +128,13 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<PreprocessorDefinitions>WIN32;_DEBUG;_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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;_DEBUG;_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;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>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<CompileAsWinRT>false</CompileAsWinRT>
<AdditionalUsingDirectories>$(WindowsSDK_MetadataPath);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
<ExceptionHandling>Async</ExceptionHandling>
<AdditionalOptions>/DPACKAGE_VERSION=$(BELLESIP_PACKAGE_VERSION) %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
......
......@@ -7,4 +7,4 @@ SET grep_cmd=%grep_exe% "" ../../../VERSION
FOR /F %%i IN (' %grep_cmd% ') DO SET version=%%i
REM set the version in the props file
%sed_exe% -i.bak "s/BELLESIP_PACKAGE_VERSION>[0-9.]*</BELLESIP_PACKAGE_VERSION>%version%</g" belle-sip.props
\ No newline at end of file
%sed_exe% -i.bak "s/BELLESIP_PACKAGE_VERSION>[0-9.]*</BELLESIP_PACKAGE_VERSION>\"%version%\"</g" belle-sip.props
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment