mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[gsoap]Add new port (#5295)
* [gsoap]Add new port * Change to use existing binary files to generate binary files. * fix patch.
This commit is contained in:
parent
b6eec4ad64
commit
108afe5396
4
ports/gsoap/CONTROL
Normal file
4
ports/gsoap/CONTROL
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Source: gsoap
|
||||||
|
Version: 2.8.78-1
|
||||||
|
Build-Depends: curl
|
||||||
|
Description: The gSOAP toolkit is a C and C++ software development toolkit for SOAP and REST XML Web services and generic C/C++ XML data bindings.
|
307
ports/gsoap/fix-build-in-windows.patch
Normal file
307
ports/gsoap/fix-build-in-windows.patch
Normal file
@ -0,0 +1,307 @@
|
|||||||
|
gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln | 8 +-
|
||||||
|
.../soapcpp2/soapcpp2/soapcpp2.vcxproj | 114 +++++++++++++++++
|
||||||
|
gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln | 8 +-
|
||||||
|
.../VisualStudio2005/wsdl2h/wsdl2h/wsdl2h.vcxproj | 139 +++++++++++++++++++++
|
||||||
|
4 files changed, 263 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln b/gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln
|
||||||
|
index 68bacf1..5d74e6b 100644
|
||||||
|
--- a/gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln
|
||||||
|
+++ b/gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln
|
||||||
|
@@ -1,7 +1,9 @@
|
||||||
|
|
||||||
|
-Microsoft Visual Studio Solution File, Format Version 9.00
|
||||||
|
-# Visual C++ Express 2005
|
||||||
|
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "soapcpp2", "soapcpp2\soapcpp2.vcproj", "{BDD1B293-CE39-4BEC-8E63-8B1621F3EB56}"
|
||||||
|
+Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
+# Visual Studio 14
|
||||||
|
+VisualStudioVersion = 14.0.25420.1
|
||||||
|
+MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "soapcpp2", "soapcpp2\soapcpp2.vcxproj", "{BDD1B293-CE39-4BEC-8E63-8B1621F3EB56}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
diff --git a/gsoap/VisualStudio2005/soapcpp2/soapcpp2/soapcpp2.vcxproj b/gsoap/VisualStudio2005/soapcpp2/soapcpp2/soapcpp2.vcxproj
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..17f1d75
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/gsoap/VisualStudio2005/soapcpp2/soapcpp2/soapcpp2.vcxproj
|
||||||
|
@@ -0,0 +1,114 @@
|
||||||
|
+<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
+ <ItemGroup Label="ProjectConfigurations">
|
||||||
|
+ <ProjectConfiguration Include="Debug|Win32">
|
||||||
|
+ <Configuration>Debug</Configuration>
|
||||||
|
+ <Platform>Win32</Platform>
|
||||||
|
+ </ProjectConfiguration>
|
||||||
|
+ <ProjectConfiguration Include="Release|Win32">
|
||||||
|
+ <Configuration>Release</Configuration>
|
||||||
|
+ <Platform>Win32</Platform>
|
||||||
|
+ </ProjectConfiguration>
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <PropertyGroup Label="Globals">
|
||||||
|
+ <ProjectGuid>{BDD1B293-CE39-4BEC-8E63-8B1621F3EB56}</ProjectGuid>
|
||||||
|
+ <RootNamespace>soapcpp2</RootNamespace>
|
||||||
|
+ <Keyword>Win32Proj</Keyword>
|
||||||
|
+ <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
+ <ConfigurationType>Application</ConfigurationType>
|
||||||
|
+ <PlatformToolset>v140</PlatformToolset>
|
||||||
|
+ <CharacterSet>Unicode</CharacterSet>
|
||||||
|
+ <WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
+ <ConfigurationType>Application</ConfigurationType>
|
||||||
|
+ <PlatformToolset>v140</PlatformToolset>
|
||||||
|
+ <CharacterSet>Unicode</CharacterSet>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
+ <ImportGroup Label="ExtensionSettings">
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <PropertyGroup Label="UserMacros" />
|
||||||
|
+ <PropertyGroup>
|
||||||
|
+ <_ProjectFileVersion>14.0.25431.1</_ProjectFileVersion>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
+ <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
+ <IntDir>$(Configuration)\</IntDir>
|
||||||
|
+ <LinkIncremental>true</LinkIncremental>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
+ <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
+ <IntDir>$(Configuration)\</IntDir>
|
||||||
|
+ <LinkIncremental>false</LinkIncremental>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
+ <ClCompile>
|
||||||
|
+ <Optimization>Disabled</Optimization>
|
||||||
|
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
+ <MinimalRebuild>true</MinimalRebuild>
|
||||||
|
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
+ <PrecompiledHeader />
|
||||||
|
+ <WarningLevel>Level3</WarningLevel>
|
||||||
|
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
+ </ClCompile>
|
||||||
|
+ <Link>
|
||||||
|
+ <AdditionalDependencies>kernel32.lib</AdditionalDependencies>
|
||||||
|
+ <GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
+ <SubSystem>Console</SubSystem>
|
||||||
|
+ <TargetMachine>MachineX86</TargetMachine>
|
||||||
|
+ </Link>
|
||||||
|
+ </ItemDefinitionGroup>
|
||||||
|
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
+ <ClCompile>
|
||||||
|
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
+ <PrecompiledHeader />
|
||||||
|
+ <WarningLevel>Level3</WarningLevel>
|
||||||
|
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
+ </ClCompile>
|
||||||
|
+ <Link>
|
||||||
|
+ <AdditionalDependencies>kernel32.lib</AdditionalDependencies>
|
||||||
|
+ <GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
+ <SubSystem>Console</SubSystem>
|
||||||
|
+ <OptimizeReferences>true</OptimizeReferences>
|
||||||
|
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
+ <TargetMachine>MachineX86</TargetMachine>
|
||||||
|
+ </Link>
|
||||||
|
+ </ItemDefinitionGroup>
|
||||||
|
+ <ItemGroup>
|
||||||
|
+ <ClCompile Include="error2.c" />
|
||||||
|
+ <ClCompile Include="init2.c" />
|
||||||
|
+ <ClCompile Include="lex.soapcpp2_lex.c" />
|
||||||
|
+ <ClCompile Include="soapcpp2.c">
|
||||||
|
+ <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
+ <XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
+ <ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
+ <XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
+ </ClCompile>
|
||||||
|
+ <ClCompile Include="soapcpp2_yacc.tab.c" />
|
||||||
|
+ <ClCompile Include="symbol2.c" />
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <ItemGroup>
|
||||||
|
+ <ClInclude Include="error2.h" />
|
||||||
|
+ <ClInclude Include="soapcpp2.h" />
|
||||||
|
+ <ClInclude Include="soapcpp2_yacc.tab.h" />
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <ItemGroup>
|
||||||
|
+ <None Include="soapcpp2_lex.l" />
|
||||||
|
+ <None Include="soapcpp2_yacc.y" />
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
+ <ImportGroup Label="ExtensionTargets">
|
||||||
|
+ </ImportGroup>
|
||||||
|
+</Project>
|
||||||
|
\ No newline at end of file
|
||||||
|
diff --git a/gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln b/gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln
|
||||||
|
index ffa3fa4..3f23607 100644
|
||||||
|
--- a/gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln
|
||||||
|
+++ b/gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln
|
||||||
|
@@ -1,7 +1,9 @@
|
||||||
|
|
||||||
|
-Microsoft Visual Studio Solution File, Format Version 9.00
|
||||||
|
-# Visual C++ Express 2005
|
||||||
|
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wsdl2h", "wsdl2h\wsdl2h.vcproj", "{6CBC554A-4FFB-461F-91D4-11B358802815}"
|
||||||
|
+Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
+# Visual Studio 14
|
||||||
|
+VisualStudioVersion = 14.0.25420.1
|
||||||
|
+MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wsdl2h", "wsdl2h\wsdl2h.vcxproj", "{6CBC554A-4FFB-461F-91D4-11B358802815}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
diff --git a/gsoap/VisualStudio2005/wsdl2h/wsdl2h/wsdl2h.vcxproj b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/wsdl2h.vcxproj
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..abf3ea6
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/gsoap/VisualStudio2005/wsdl2h/wsdl2h/wsdl2h.vcxproj
|
||||||
|
@@ -0,0 +1,139 @@
|
||||||
|
+<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
+ <ItemGroup Label="ProjectConfigurations">
|
||||||
|
+ <ProjectConfiguration Include="Debug|Win32">
|
||||||
|
+ <Configuration>Debug</Configuration>
|
||||||
|
+ <Platform>Win32</Platform>
|
||||||
|
+ </ProjectConfiguration>
|
||||||
|
+ <ProjectConfiguration Include="Release|Win32">
|
||||||
|
+ <Configuration>Release</Configuration>
|
||||||
|
+ <Platform>Win32</Platform>
|
||||||
|
+ </ProjectConfiguration>
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <PropertyGroup Label="Globals">
|
||||||
|
+ <ProjectGuid>{6CBC554A-4FFB-461F-91D4-11B358802815}</ProjectGuid>
|
||||||
|
+ <RootNamespace>wsdl2h</RootNamespace>
|
||||||
|
+ <Keyword>Win32Proj</Keyword>
|
||||||
|
+ <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
+ <ConfigurationType>Application</ConfigurationType>
|
||||||
|
+ <PlatformToolset>v140</PlatformToolset>
|
||||||
|
+ <CharacterSet>Unicode</CharacterSet>
|
||||||
|
+ <WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
+ <ConfigurationType>Application</ConfigurationType>
|
||||||
|
+ <PlatformToolset>v140</PlatformToolset>
|
||||||
|
+ <CharacterSet>Unicode</CharacterSet>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
+ <ImportGroup Label="ExtensionSettings">
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
+ </ImportGroup>
|
||||||
|
+ <PropertyGroup Label="UserMacros" />
|
||||||
|
+ <PropertyGroup>
|
||||||
|
+ <_ProjectFileVersion>14.0.25431.1</_ProjectFileVersion>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
+ <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
+ <IntDir>$(Configuration)\</IntDir>
|
||||||
|
+ <LinkIncremental>true</LinkIncremental>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
+ <OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
+ <IntDir>$(Configuration)\</IntDir>
|
||||||
|
+ <LinkIncremental>false</LinkIncremental>
|
||||||
|
+ </PropertyGroup>
|
||||||
|
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
+ <ClCompile>
|
||||||
|
+ <Optimization>Disabled</Optimization>
|
||||||
|
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
+ <MinimalRebuild>true</MinimalRebuild>
|
||||||
|
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||||
|
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
+ <PrecompiledHeader />
|
||||||
|
+ <WarningLevel>Level3</WarningLevel>
|
||||||
|
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||||
|
+ </ClCompile>
|
||||||
|
+ <Link>
|
||||||
|
+ <AdditionalDependencies>kernel32.lib</AdditionalDependencies>
|
||||||
|
+ <GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
+ <SubSystem>Console</SubSystem>
|
||||||
|
+ <TargetMachine>MachineX86</TargetMachine>
|
||||||
|
+ </Link>
|
||||||
|
+ </ItemDefinitionGroup>
|
||||||
|
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
+ <ClCompile>
|
||||||
|
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
+ <PrecompiledHeader />
|
||||||
|
+ <WarningLevel>Level3</WarningLevel>
|
||||||
|
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
+ </ClCompile>
|
||||||
|
+ <Link>
|
||||||
|
+ <AdditionalDependencies>kernel32.lib</AdditionalDependencies>
|
||||||
|
+ <GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
+ <SubSystem>Console</SubSystem>
|
||||||
|
+ <OptimizeReferences>true</OptimizeReferences>
|
||||||
|
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
+ <TargetMachine>MachineX86</TargetMachine>
|
||||||
|
+ </Link>
|
||||||
|
+ </ItemDefinitionGroup>
|
||||||
|
+ <ItemGroup>
|
||||||
|
+ <ClCompile Include="bpel.cpp" />
|
||||||
|
+ <ClCompile Include="mime.cpp" />
|
||||||
|
+ <ClCompile Include="schema.cpp" />
|
||||||
|
+ <ClCompile Include="service.cpp" />
|
||||||
|
+ <ClCompile Include="soap.cpp" />
|
||||||
|
+ <ClCompile Include="stdsoap2.cpp" />
|
||||||
|
+ <ClCompile Include="types.cpp" />
|
||||||
|
+ <ClCompile Include="wadl.cpp" />
|
||||||
|
+ <ClCompile Include="wsdl.cpp" />
|
||||||
|
+ <ClCompile Include="wsdl2h.cpp" />
|
||||||
|
+ <ClCompile Include="wsdlC.cpp" />
|
||||||
|
+ <ClCompile Include="wsp.cpp" />
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <ItemGroup>
|
||||||
|
+ <ClInclude Include="bpel.h" />
|
||||||
|
+ <ClInclude Include="dime.h" />
|
||||||
|
+ <ClInclude Include="gwsdl.h" />
|
||||||
|
+ <ClInclude Include="http.h" />
|
||||||
|
+ <ClInclude Include="imports.h" />
|
||||||
|
+ <ClInclude Include="includes.h" />
|
||||||
|
+ <ClInclude Include="mime.h" />
|
||||||
|
+ <ClInclude Include="schema.h" />
|
||||||
|
+ <ClInclude Include="service.h" />
|
||||||
|
+ <ClInclude Include="soap.h" />
|
||||||
|
+ <ClInclude Include="sp.h" />
|
||||||
|
+ <ClInclude Include="stdsoap2.h" />
|
||||||
|
+ <ClInclude Include="types.h" />
|
||||||
|
+ <ClInclude Include="wadl.h" />
|
||||||
|
+ <ClInclude Include="wsam.h" />
|
||||||
|
+ <CustomBuild Include="wsdl.h">
|
||||||
|
+ <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Parsing WSDL and Schema definitions</Message>
|
||||||
|
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">soapcpp2.exe -SC -pwsdl %(Filename)%(Extension)
|
||||||
|
+</Command>
|
||||||
|
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">wsdlStub.h wsdlH.h wsdlC.cpp;%(Outputs)</Outputs>
|
||||||
|
+ <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Parsing WSDL and Schema definitions</Message>
|
||||||
|
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">soapcpp2.exe -SC -pwsdl %(Filename)%(Extension)
|
||||||
|
+</Command>
|
||||||
|
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">wsdlStub.h wsdlH.h wsdlC.cpp;%(Outputs)</Outputs>
|
||||||
|
+ </CustomBuild>
|
||||||
|
+ <ClInclude Include="wsdlH.h" />
|
||||||
|
+ <ClInclude Include="wsdlStub.h" />
|
||||||
|
+ <ClInclude Include="wsp.h" />
|
||||||
|
+ <ClInclude Include="wsrmp.h" />
|
||||||
|
+ <ClInclude Include="wst.h" />
|
||||||
|
+ <ClInclude Include="wsu.h" />
|
||||||
|
+ </ItemGroup>
|
||||||
|
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
+ <ImportGroup Label="ExtensionTargets">
|
||||||
|
+ </ImportGroup>
|
||||||
|
+</Project>
|
||||||
|
\ No newline at end of file
|
61
ports/gsoap/portfile.cmake
Normal file
61
ports/gsoap/portfile.cmake
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
include(vcpkg_common_functions)
|
||||||
|
set(GSOAP_VERSION 2.8)
|
||||||
|
set(GSOAP_SUB_VERSION .78)
|
||||||
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/gsoap-${GSOAP_VERSION})
|
||||||
|
|
||||||
|
vcpkg_download_distfile(ARCHIVE
|
||||||
|
URLS "https://ayera.dl.sourceforge.net/project/gsoap2/gsoap-${GSOAP_VERSION}/gsoap_${GSOAP_VERSION}${GSOAP_SUB_VERSION}.zip"
|
||||||
|
FILENAME "gsoap_${GSOAP_VERSION}${GSOAP_SUB_VERSION}.zip"
|
||||||
|
SHA512 c115044d2662c2dd355c4756a974a0013b7213dd28c536aba179e53c19466279bfa34ce16b4426db5aa7a24d94c18e0ed7e7cdf05e799bf89f7b54031aa0874e
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_extract_source_archive_ex(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
ARCHIVE ${ARCHIVE}
|
||||||
|
PATCHES
|
||||||
|
"${CMAKE_CURRENT_LIST_DIR}/fix-build-in-windows.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
|
||||||
|
set(BUILD_ARCH "Win32")
|
||||||
|
else()
|
||||||
|
message("gsoap only supported Win32")
|
||||||
|
set(BUILD_ARCH "Win32")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Handle binary files and includes
|
||||||
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/gsoap ${CURRENT_PACKAGES_DIR}/debug/tools)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
vcpkg_build_msbuild(
|
||||||
|
USE_VCPKG_INTEGRATION
|
||||||
|
PROJECT_PATH ${SOURCE_PATH}/gsoap/VisualStudio2005/soapcpp2/soapcpp2.sln
|
||||||
|
PLATFORM ${BUILD_ARCH}
|
||||||
|
TARGET Build
|
||||||
|
)
|
||||||
|
vcpkg_build_msbuild(
|
||||||
|
USE_VCPKG_INTEGRATION
|
||||||
|
PROJECT_PATH ${SOURCE_PATH}/gsoap/VisualStudio2005/wsdl2h/wsdl2h.sln
|
||||||
|
PLATFORM ${BUILD_ARCH}
|
||||||
|
TARGET Build
|
||||||
|
)
|
||||||
|
|
||||||
|
file(COPY ${SOURCE_PATH}/gsoap/VisualStudio2005/soapcpp2/release/soapcpp2.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/gsoap/)
|
||||||
|
file(COPY ${SOURCE_PATH}/gsoap/VisualStudio2005/wsdl2h/release/wsdl2h.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/gsoap/)
|
||||||
|
file(COPY ${SOURCE_PATH}/gsoap/VisualStudio2005/soapcpp2/debug/soapcpp2.exe DESTINATION ${CURRENT_PACKAGES_DIR}/debug/tools/gsoap/)
|
||||||
|
file(COPY ${SOURCE_PATH}/gsoap/VisualStudio2005/wsdl2h/debug/wsdl2h.exe DESTINATION ${CURRENT_PACKAGES_DIR}/debug/tools/gsoap/)
|
||||||
|
else()
|
||||||
|
message(FATAL_ERROR "Sorry but gsoap only can be build in Windows temporary")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
|
||||||
|
file(COPY ${SOURCE_PATH}/gsoap/stdsoap2.h ${SOURCE_PATH}/gsoap/stdsoap2.c ${SOURCE_PATH}/gsoap/stdsoap2.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||||
|
|
||||||
|
# Handle copyright
|
||||||
|
file(COPY ${SOURCE_PATH}/LICENSE.txt ${SOURCE_PATH}/INSTALL.txt ${SOURCE_PATH}/README.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/gsoap)
|
||||||
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/gsoap/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/gsoap/copyright)
|
||||||
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/gsoap/INSTALL.txt ${CURRENT_PACKAGES_DIR}/share/gsoap/install)
|
||||||
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/gsoap/README.txt ${CURRENT_PACKAGES_DIR}/share/gsoap/readme)
|
||||||
|
|
||||||
|
vcpkg_copy_pdbs()
|
Loading…
x
Reference in New Issue
Block a user