early-access version 2853
This commit is contained in:
14
externals/vcpkg/ports/scintilla/0001-static-lib.patch
vendored
Executable file
14
externals/vcpkg/ports/scintilla/0001-static-lib.patch
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
diff --git a/win32/SciLexer.vcxproj b/win32/SciLexer.vcxproj
|
||||
index b2e993c..c8774f1 100644
|
||||
--- a/win32/SciLexer.vcxproj
|
||||
+++ b/win32/SciLexer.vcxproj
|
||||
@@ -33,7 +33,7 @@
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup>
|
||||
- <ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
+ <ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
--
|
||||
37
externals/vcpkg/ports/scintilla/0002-static-crt.patch
vendored
Executable file
37
externals/vcpkg/ports/scintilla/0002-static-crt.patch
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
diff --git a/win32/SciLexer.vcxproj b/win32/SciLexer.vcxproj
|
||||
index b2e993c..c8774f1 100644
|
||||
--- a/win32/SciLexer.vcxproj
|
||||
+++ b/win32/SciLexer.vcxproj
|
||||
@@ -88,6 +88,7 @@
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
||||
@@ -97,6 +98,7 @@
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
||||
@@ -117,6 +119,7 @@
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
@@ -129,6 +132,7 @@
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
--
|
||||
28
externals/vcpkg/ports/scintilla/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/scintilla/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://www.scintilla.org/scintilla446.zip"
|
||||
FILENAME "scintilla446.zip"
|
||||
SHA512 db6fa38283401497d8331f97dc5b57ea11d998988001f06b95892de769de5829b9f567635f3c1f2d9cfbc4384024d11666d28224ce90c5813ceef865b0dec255
|
||||
)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
list(APPEND PATCHES 0001-static-lib.patch)
|
||||
endif()
|
||||
|
||||
if(VCPKG_CRT_LINKAGE STREQUAL "static")
|
||||
list(APPEND PATCHES 0002-static-crt.patch)
|
||||
endif()
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
ARCHIVE ${ARCHIVE}
|
||||
REF 4.4.6
|
||||
PATCHES ${PATCHES}
|
||||
)
|
||||
|
||||
vcpkg_install_msbuild(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PROJECT_SUBPATH Win32/SciLexer.vcxproj
|
||||
LICENSE_SUBPATH License.txt
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT} FILES_MATCHING PATTERN "*.*")
|
||||
8
externals/vcpkg/ports/scintilla/vcpkg.json
vendored
Executable file
8
externals/vcpkg/ports/scintilla/vcpkg.json
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "scintilla",
|
||||
"version": "4.4.6",
|
||||
"port-version": 1,
|
||||
"description": "A free source code editing component for Win32, GTK+, and OS X",
|
||||
"homepage": "https://www.scintilla.org/",
|
||||
"supports": "!(uwp | linux | osx)"
|
||||
}
|
||||
Reference in New Issue
Block a user