early-access version 2853
This commit is contained in:
27
externals/vcpkg/ports/oatpp-postgresql/portfile.cmake
vendored
Executable file
27
externals/vcpkg/ports/oatpp-postgresql/portfile.cmake
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
set(OATPP_VERSION "1.3.0")
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO oatpp/oatpp-postgresql
|
||||
REF ${OATPP_VERSION}
|
||||
SHA512 6926194ae7d77db2a071fcb805ce048954908cf18d59f3095e1bf779748d9e5b9ceb657d97b1fc8a6ebfcf71936b211e2b10e68a62983e847c68ab58e1f3f2ba
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
set(VCPKG_C_FLAGS "${VCPKG_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS")
|
||||
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} -D_CRT_SECURE_NO_WARNINGS")
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DOATPP_BUILD_TESTS:BOOL=OFF"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME oatpp-postgresql CONFIG_PATH lib/cmake/oatpp-postgresql-${OATPP_VERSION})
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
18
externals/vcpkg/ports/oatpp-postgresql/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/oatpp-postgresql/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "oatpp-postgresql",
|
||||
"version": "1.3.0",
|
||||
"description": "Oat++ PostgreSQL adapter for Oat++ ORM (alpha - not all datatypes are supported).",
|
||||
"homepage": "https://github.com/oatpp/oatpp-postgresql",
|
||||
"dependencies": [
|
||||
"libpq",
|
||||
"oatpp",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user