early-access version 2853
This commit is contained in:
28
externals/vcpkg/ports/libxlsxwriter/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/libxlsxwriter/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jmcnamara/libxlsxwriter
|
||||
REF RELEASE_1.1.4
|
||||
SHA512 fad36f7882fcb21b87e13cf603022cfad3f14e6f955a06e2771712facd0fe12f83f4d1655dc1a744724bda1ac83af7e7bf1393457c5507d8983f63002ab294b5
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
if (VCPKG_TARGET_IS_UWP)
|
||||
set(USE_WINDOWSSTORE ON)
|
||||
else()
|
||||
set(USE_WINDOWSSTORE OFF)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DWINDOWSSTORE=${USE_WINDOWSSTORE}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/License.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
13
externals/vcpkg/ports/libxlsxwriter/vcpkg.json
vendored
Executable file
13
externals/vcpkg/ports/libxlsxwriter/vcpkg.json
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "libxlsxwriter",
|
||||
"version-semver": "1.1.4",
|
||||
"description": "Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.",
|
||||
"homepage": "https://github.com/jmcnamara/libxlsxwriter",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
"zlib"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user