mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[qscintilla] Modify macro QSCINTILLA_DLL to 1 in qscintilla header (#17721)
* [qscintilla] Modify macro QSCINTILLA_DLL to 1 in qscintilla header when building dynamic on Windows * Move code pos * update version record
This commit is contained in:
parent
2499107f40
commit
764ed56a9f
@ -1,5 +0,0 @@
|
||||
Source: qscintilla
|
||||
Version: 2.12.0
|
||||
Homepage: https://www.riverbankcomputing.com/software/qscintilla
|
||||
Description: QScintilla is a port to Qt of the Scintilla editing component. Features syntax highlighting, code-completion and much more (Barebone build without python bindings (missing dependeny PyQt) and without QtDesigner plugin)
|
||||
Build-Depends: qt5-base[core], qt5-macextras (osx), qt5-winextras (windows)
|
@ -37,6 +37,13 @@ endif()
|
||||
file(GLOB HEADER_FILES ${SOURCE_PATH}/src/Qsci/*)
|
||||
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/Qsci)
|
||||
|
||||
if (VCPKG_TARGET_IS_WINDOWS AND (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic))
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/Qsci/qsciglobal.h
|
||||
"#if defined(QSCINTILLA_DLL)"
|
||||
"#if 1"
|
||||
)
|
||||
endif()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Handle copyright
|
||||
|
22
ports/qscintilla/vcpkg.json
Normal file
22
ports/qscintilla/vcpkg.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "qscintilla",
|
||||
"version": "2.12.0",
|
||||
"port-version": 1,
|
||||
"description": "QScintilla is a port to Qt of the Scintilla editing component. Features syntax highlighting, code-completion and much more (Barebone build without python bindings (missing dependeny PyQt) and without QtDesigner plugin)",
|
||||
"homepage": "https://www.riverbankcomputing.com/software/qscintilla",
|
||||
"supports": "!(windows & (arm | arm64))",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qt5-base",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "qt5-macextras",
|
||||
"platform": "osx"
|
||||
},
|
||||
{
|
||||
"name": "qt5-winextras",
|
||||
"platform": "windows"
|
||||
}
|
||||
]
|
||||
}
|
@ -5018,7 +5018,7 @@
|
||||
},
|
||||
"qscintilla": {
|
||||
"baseline": "2.12.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qt-advanced-docking-system": {
|
||||
"baseline": "3.6.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "63f2d1f0287a6d61b5c85b428920b0fbe102adec",
|
||||
"version": "2.12.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "753c09c98e94157f9998e6528d5bb7dce4337ced",
|
||||
"version-string": "2.12.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user