early-access version 2853
This commit is contained in:
30
externals/vcpkg/ports/libgpg-error/add_cflags_to_tools.patch
vendored
Executable file
30
externals/vcpkg/ports/libgpg-error/add_cflags_to_tools.patch
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index fc3acc3..9a86251 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -279,14 +279,14 @@ gpg-error.def: Makefile gpg-error.def.in
|
||||
# It is correct to use $(CC_FOR_BUILD) here. We want to run the
|
||||
# program at build time.
|
||||
mkerrcodes$(EXEEXT_FOR_BUILD): mkerrcodes.c mkerrcodes.h Makefile
|
||||
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
|
||||
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(CFLAGS) $(LDFLAGS_FOR_BUILD) \
|
||||
$(CPPFLAGS_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkerrcodes.c
|
||||
|
||||
if HAVE_W32CE_SYSTEM
|
||||
# It is correct to use $(CC_FOR_BUILD) here. We want to run the
|
||||
# program at build time.
|
||||
mkw32errmap$(EXEEXT_FOR_BUILD): mkw32errmap.c mkw32errmap.tab.h Makefile
|
||||
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
|
||||
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(CFLAGS) $(LDFLAGS_FOR_BUILD) \
|
||||
$(CPPFLAGS_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkw32errmap.c
|
||||
endif
|
||||
|
||||
@@ -300,7 +300,7 @@ errnos-sym.h: Makefile mkstrtable.awk errnos.in
|
||||
|
||||
|
||||
mkheader$(EXEEXT_FOR_BUILD): mkheader.c Makefile
|
||||
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
|
||||
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(CFLAGS) $(LDFLAGS_FOR_BUILD) \
|
||||
$(CPPFLAGS_FOR_BUILD) -g -I. -I$(srcdir) -o $@ $(srcdir)/mkheader.c
|
||||
|
||||
parts_of_gpg_error_h = \
|
||||
152
externals/vcpkg/ports/libgpg-error/outdir.patch
vendored
Executable file
152
externals/vcpkg/ports/libgpg-error/outdir.patch
vendored
Executable file
@@ -0,0 +1,152 @@
|
||||
diff --git a/SMP/smp.props b/SMP/smp.props
|
||||
index e2ed214..fc70bd8 100644
|
||||
--- a/SMP/smp.props
|
||||
+++ b/SMP/smp.props
|
||||
@@ -87,7 +87,7 @@
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<TargetName>lib$(RootNamespace)d</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -95,7 +95,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<TargetName>lib$(RootNamespace)d</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -103,7 +103,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|Win32'">
|
||||
<TargetName>$(RootNamespace)d</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -111,7 +111,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLL|x64'">
|
||||
<TargetName>$(RootNamespace)d</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -119,7 +119,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<TargetName>lib$(RootNamespace)</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -127,7 +127,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<TargetName>lib$(RootNamespace)</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -135,7 +135,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|Win32'">
|
||||
<TargetName>$(RootNamespace)</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -143,7 +143,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLL|x64'">
|
||||
<TargetName>$(RootNamespace)</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
diff --git a/SMP/smp_winrt.props b/SMP/smp_winrt.props
|
||||
index 9b453a5..cb5f090 100644
|
||||
--- a/SMP/smp_winrt.props
|
||||
+++ b/SMP/smp_winrt.props
|
||||
@@ -98,7 +98,7 @@
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|Win32'">
|
||||
<TargetName>lib$(RootNamespace)d_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -106,7 +106,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|x64'">
|
||||
<TargetName>lib$(RootNamespace)d_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -114,7 +114,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|Win32'">
|
||||
<TargetName>$(RootNamespace)d_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -122,7 +122,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|x64'">
|
||||
<TargetName>$(RootNamespace)d_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -130,7 +130,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|Win32'">
|
||||
<TargetName>lib$(RootNamespace)_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -138,7 +138,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|x64'">
|
||||
<TargetName>lib$(RootNamespace)_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -146,7 +146,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|Win32'">
|
||||
<TargetName>$(RootNamespace)_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
@@ -154,7 +154,7 @@
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|x64'">
|
||||
<TargetName>$(RootNamespace)_winrt</TargetName>
|
||||
- <OutDir>$(ProjectDir)..\..\..\msvc\</OutDir>
|
||||
+ <OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
<CustomBuildAfterTargets>Clean</CustomBuildAfterTargets>
|
||||
105
externals/vcpkg/ports/libgpg-error/portfile.cmake
vendored
Executable file
105
externals/vcpkg/ports/libgpg-error/portfile.cmake
vendored
Executable file
@@ -0,0 +1,105 @@
|
||||
set (PACKAGE_VERSION 1.42)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
message(WARNING "libgpg-error on Windows uses a fork managed by the ShiftMediaProject: https://shiftmediaproject.github.io/")
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ShiftMediaProject/libgpg-error
|
||||
REF libgpg-error-${PACKAGE_VERSION}
|
||||
SHA512 2dbf41e28196f4b99d641a430e6e77566ae2d389bbe9d6f6e310d56a5ca90de9b9ae225a3eee979fe4606d36878d3db6f777162d697de717b4748151dd3525d0
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
outdir.patch
|
||||
runtime.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(CONFIGURATION_RELEASE ReleaseDLL)
|
||||
set(CONFIGURATION_DEBUG DebugDLL)
|
||||
else()
|
||||
set(CONFIGURATION_RELEASE Release)
|
||||
set(CONFIGURATION_DEBUG Debug)
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
string(APPEND CONFIGURATION_RELEASE WinRT)
|
||||
string(APPEND CONFIGURATION_DEBUG WinRT)
|
||||
endif()
|
||||
|
||||
if(VCPKG_TARGET_IS_UWP)
|
||||
set(_gpg-errorproject "${SOURCE_PATH}/SMP/libgpg-error_winrt.vcxproj")
|
||||
else()
|
||||
set(_gpg-errorproject "${SOURCE_PATH}/SMP/libgpg-error.vcxproj")
|
||||
endif()
|
||||
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
set(RuntimeLibraryExt "")
|
||||
else()
|
||||
set(RuntimeLibraryExt "DLL")
|
||||
endif()
|
||||
|
||||
vcpkg_install_msbuild(
|
||||
USE_VCPKG_INTEGRATION
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
PROJECT_SUBPATH SMP/libgpg-error.sln
|
||||
PLATFORM ${TRIPLET_SYSTEM_ARCH}
|
||||
LICENSE_SUBPATH COPYING.LIB
|
||||
RELEASE_CONFIGURATION ${CONFIGURATION_RELEASE}
|
||||
DEBUG_CONFIGURATION ${CONFIGURATION_DEBUG}
|
||||
SKIP_CLEAN
|
||||
OPTIONS_DEBUG "/p:RuntimeLibrary=MultiThreadedDebug${RuntimeLibraryExt}"
|
||||
OPTIONS_RELEASE "/p:RuntimeLibrary=MultiThreaded${RuntimeLibraryExt}"
|
||||
)
|
||||
|
||||
get_filename_component(SOURCE_PATH_SUFFIX "${SOURCE_PATH}" NAME)
|
||||
file(RENAME "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/${SOURCE_PATH_SUFFIX}/msvc/include" "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
set(exec_prefix "\${prefix}")
|
||||
set(libdir "\${prefix}/lib")
|
||||
set(includedir "\${prefix}/include")
|
||||
set(GPG_ERROR_CONFIG_LIBS "-L\${libdir} -lgpg-error")
|
||||
configure_file("${SOURCE_PATH}/src/gpg-error.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/gpg-error.pc" @ONLY)
|
||||
|
||||
set(exec_prefix "\${prefix}")
|
||||
set(libdir "\${prefix}/lib")
|
||||
set(includedir "\${prefix}/../include")
|
||||
set(GPG_ERROR_CONFIG_LIBS "-L\${libdir} -lgpg-errord")
|
||||
configure_file("${SOURCE_PATH}/src/gpg-error.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gpg-error.pc" @ONLY)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/COPYING.LIB" "${CURRENT_PACKAGES_DIR}/debug/lib/COPYING.LIB")
|
||||
else()
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO gpg/libgpg-error
|
||||
REF libgpg-error-${PACKAGE_VERSION}
|
||||
SHA512 f5a1c1874ac1dee36ee01504f1ab0146506aa7af810879e192eac17a31ec81945fe850953ea1c57188590c023ce3ff195c7cab62af486b731fa1534546d66ba3
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add_cflags_to_tools.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_make(
|
||||
AUTOCONFIG
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
--disable-tests
|
||||
--disable-doc
|
||||
--disable-silent-rules
|
||||
)
|
||||
|
||||
vcpkg_install_make()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgpg-error/bin/gpg-error-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgpg-error/debug/bin/gpg-error-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/locale" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
endif()
|
||||
244
externals/vcpkg/ports/libgpg-error/runtime.patch
vendored
Executable file
244
externals/vcpkg/ports/libgpg-error/runtime.patch
vendored
Executable file
@@ -0,0 +1,244 @@
|
||||
diff --git a/SMP/smp.props b/SMP/smp.props
|
||||
index fc70bd8..d515523 100644
|
||||
--- a/SMP/smp.props
|
||||
+++ b/SMP/smp.props
|
||||
@@ -86,7 +86,7 @@
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
- <TargetName>lib$(RootNamespace)d</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -94,7 +94,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
- <TargetName>lib$(RootNamespace)d</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -118,7 +118,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
- <TargetName>lib$(RootNamespace)</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -126,7 +126,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
- <TargetName>lib$(RootNamespace)</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -159,6 +159,7 @@
|
||||
<ProgramDataBaseFileName>$(OutDir)\lib\x86\$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -177,6 +178,7 @@
|
||||
<ProgramDataBaseFileName>$(OutDir)\lib\x64\$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -196,6 +198,7 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>$(OutDir)\bin\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -219,6 +222,7 @@
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>$(OutDir)\bin\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -248,6 +252,7 @@
|
||||
<InterproceduralOptimization>SingleFile</InterproceduralOptimization>
|
||||
<ProgramDataBaseFileName>$(OutDir)\lib\x86\$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -273,6 +278,7 @@
|
||||
<InterproceduralOptimization>SingleFile</InterproceduralOptimization>
|
||||
<ProgramDataBaseFileName>$(OutDir)\lib\x64\$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -297,6 +303,7 @@
|
||||
<AdditionalIncludeDirectories>$(OutDir)\include;$(ProjectDir)\..\..\prebuilt\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
@@ -328,6 +335,7 @@
|
||||
<AdditionalIncludeDirectories>$(OutDir)\include;$(ProjectDir)\..\..\prebuilt\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
diff --git a/SMP/smp_winrt.props b/SMP/smp_winrt.props
|
||||
index cb5f090..f7d8e23 100644
|
||||
--- a/SMP/smp_winrt.props
|
||||
+++ b/SMP/smp_winrt.props
|
||||
@@ -97,7 +97,7 @@
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|Win32'">
|
||||
- <TargetName>lib$(RootNamespace)d_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -105,7 +105,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWinRT|x64'">
|
||||
- <TargetName>lib$(RootNamespace)d_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -113,7 +113,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|Win32'">
|
||||
- <TargetName>$(RootNamespace)d_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -121,7 +121,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugDLLWinRT|x64'">
|
||||
- <TargetName>$(RootNamespace)d_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)d</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -129,7 +129,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|Win32'">
|
||||
- <TargetName>lib$(RootNamespace)_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -137,7 +137,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWinRT|x64'">
|
||||
- <TargetName>lib$(RootNamespace)_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -145,7 +145,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|Win32'">
|
||||
- <TargetName>$(RootNamespace)_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -153,7 +153,7 @@
|
||||
<MSBuildWarningsAsMessages>MSB8012</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseDLLWinRT|x64'">
|
||||
- <TargetName>$(RootNamespace)_winrt</TargetName>
|
||||
+ <TargetName>$(RootNamespace)</TargetName>
|
||||
<OutDir>$(ProjectDir)..\msvc\</OutDir>
|
||||
<IntDir>$(ProjectDir)obj\$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
|
||||
<GeneratedFilesDir>$(ProjectDir)obj\Generated</GeneratedFilesDir>
|
||||
@@ -172,6 +172,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -192,6 +193,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -213,6 +215,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>$(OutDir)\bin\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -240,6 +243,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<OutputFile>$(OutDir)\bin\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -273,6 +277,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x86\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -301,6 +306,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Lib>
|
||||
<OutputFile>$(OutDir)\lib\x64\$(TargetName)$(TargetExt)</OutputFile>
|
||||
@@ -327,6 +333,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
@@ -362,6 +369,7 @@
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<CompileAsWinRT>false</CompileAsWinRT>
|
||||
<TreatSpecificWarningsAsErrors>4113;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
|
||||
+ <RuntimeLibrary>$(RuntimeLibrary)</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
8
externals/vcpkg/ports/libgpg-error/vcpkg.json
vendored
Executable file
8
externals/vcpkg/ports/libgpg-error/vcpkg.json
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "libgpg-error",
|
||||
"version": "1.42",
|
||||
"port-version": 3,
|
||||
"description": "A common dependency of all GnuPG components",
|
||||
"homepage": "https://gnupg.org/software/libgpg-error/index.html",
|
||||
"supports": "!(windows & (arm | arm64))"
|
||||
}
|
||||
Reference in New Issue
Block a user