-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
274a163
commit 86b2e1b
Showing
7 changed files
with
88 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO Orvid/Champollion | ||
REF v1.1.0 | ||
SHA512 a95a2f82f27da2ac71fed156e32b824ef2897400c64cf3fd2221a367b61a6cc5bd224706868a9dc8ddd5f6c0054a10943d759cc170bebadca42a58384f8d0eef | ||
REF 83d7f92481c797f2732fcaed016c24f9fcfb3eba | ||
SHA512 2ffd56fc9f5ec98444124d60e86771e7e5aa1f68d27bd561bcffe0d5b04ac98913e656a50131a28178d39231404bb2502737bf56c07592867b871f372fcdce95 | ||
HEAD_REF master | ||
) | ||
|
||
# Check if one or more features are a part of a package installation. | ||
# See /docs/maintainers/vcpkg_check_features.md for more details | ||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
INVERTED_FEATURES | ||
standalone CHAMPOLLION_STATIC_LIBRARY | ||
standalone CHAMPOLLION_STATIC_LIBRARY | ||
) | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
) | ||
|
||
vcpkg_cmake_install() | ||
if (${CHAMPOLLION_STATIC_LIBRARY}) | ||
|
||
if(${CHAMPOLLION_STATIC_LIBRARY}) | ||
vcpkg_cmake_config_fixup(PACKAGE_NAME Champollion CONFIG_PATH lib/cmake/Champollion) | ||
endif() | ||
|
||
file( | ||
INSTALL "${SOURCE_PATH}/LICENSE" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright) | ||
INSTALL "${SOURCE_PATH}/LICENSE" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"name": "commonlibf4", | ||
"version-string": "2022-12-24", | ||
"description": "A reverse engineered resource for developing F4SE plugins for Fallout 4", | ||
"homepage": "https://github.com/Ryan-rsm-McKenzie/CommonLibF4", | ||
"license": "MIT", | ||
"supports": "windows & x64", | ||
"port-version": 0, | ||
"dependencies": [ | ||
"args", | ||
"boost-stl-interfaces", | ||
"catch2", | ||
"fmt", | ||
"frozen", | ||
"nowide", | ||
"robin-hood-hashing", | ||
"rsm-mmio", | ||
"srell", | ||
"spdlog", | ||
"xbyak", | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
"name": "commonlibf4", | ||
"version-string": "2023.1.5", | ||
"description": "A reverse engineered resource for developing F4SE plugins for Fallout 4", | ||
"homepage": "https://github.com/Ryan-rsm-McKenzie/CommonLibF4", | ||
"license": "MIT", | ||
"supports": "windows & x64", | ||
"port-version": 0, | ||
"dependencies": [ | ||
"args", | ||
"boost-stl-interfaces", | ||
"catch2", | ||
"fmt", | ||
"frozen", | ||
"nowide", | ||
"robin-hood-hashing", | ||
"rsm-mmio", | ||
"srell", | ||
"spdlog", | ||
"xbyak", | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO google/cppdap | ||
REF 0a340c6d71ca00893ca1aefea38f3504e6755196 | ||
SHA512 14f8d0438678eb715f171b95ed9733485bdb681bc174642f196b7665aad3157b500ba6e6abccc5adcb8ec17aeffa94ae562dcbd31248244d9c8f4a11b97fc2ea | ||
REF 59819690ec4114b01aae73b4caf22650f029ce53 | ||
SHA512 88e381a9d41a1510e8e0afe9d0b6fd62ab834cecbdd91a042464a1003847fdeee2c9f94c9912a9ab2538140894ec965be96dda954edff81818c42c8d0a8846c1 | ||
HEAD_REF main | ||
) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
FEATURES | ||
use-nlohmann-json CPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE | ||
use-rapidjson CPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE | ||
use-nlohmann-json CPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE | ||
use-rapidjson CPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE | ||
) | ||
|
||
if (NOT CPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE AND NOT CPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE) | ||
if(NOT CPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE AND NOT CPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE) | ||
message(FATAL_ERROR "Must set either \"use-nlohmann-json\" or \"use-rapidjson\" feature.") | ||
elseif(CPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE AND CPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE) | ||
message(FATAL_ERROR "Cannot set both \"use-nlohmann-json\" and \"use-rapidjson\" feature.") | ||
endif() | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
) | ||
|
||
vcpkg_cmake_install() | ||
vcpkg_cmake_config_fixup(PACKAGE_NAME cppdap CONFIG_PATH lib/cmake/cppdap) | ||
file( | ||
INSTALL "${SOURCE_PATH}/LICENSE" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright) | ||
INSTALL "${SOURCE_PATH}/LICENSE" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
RENAME copyright) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters