Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ports/lightlib/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO lev2p1/lightlib
REF v0.1.4
SHA512 f707dddc26321c2aedf38acf17d2609c84d9c6151b690eefcee7d7dd94318fb781f4dc2a7f27743764fb5343fd060f11b1c8619cb1cc2e1e968367f60cb7771e
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/Light"
OPTIONS
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
)

vcpkg_cmake_install()

file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
"${CURRENT_PACKAGES_DIR}/debug/bin"
)
endif()

set(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
26 changes: 26 additions & 0 deletions ports/lightlib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "lightlib",
"version": "0.1.4",
"description": "Modern C++ MVC framework designed for creating high-performance asynchronous APIs. The framework combines the power of Boost.Asio with modern C++20/23 features",
"homepage": "https://github.com/lev2p1/lightlib",
"license": "LGPL-3.0-or-later",
"supports": "x64 & (windows | linux | osx)",
"dependencies": [
"boost",
"fmt",
"hiredis",
"jwt-cpp",
"libpq",
"nlohmann-json",
"picojson",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6152,6 +6152,10 @@
"baseline": "4.5.0",
"port-version": 0
},
"lightlib": {
"baseline": "0.1.4",
"port-version": 0
},
"lightningscanner": {
"baseline": "1.0.2",
"port-version": 0
Expand Down
14 changes: 14 additions & 0 deletions versions/l-/lightlib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"versions": [
{
"git-tree": "e0d9a57b0ba1594789bb6bc6ac991dd98d3b6faa",
"version": "0.1.4",
"port-version": 0
},
{
"git-tree": "a1f31e6506c7d366ef06d2c45018dd77ef9e336e",
"version": "0.1.3",
"port-version": 0
}
]
}
Loading