early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/inih/CMakeLists.txt
vendored
Executable file
15
externals/vcpkg/ports/inih/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
project(inih)
|
||||
|
||||
set(SOURCES ini.c cpp/INIReader.cpp)
|
||||
set(HEADERS ini.h cpp/INIReader.h)
|
||||
|
||||
add_library(inih ${SOURCES})
|
||||
|
||||
install(
|
||||
TARGETS inih
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
install(FILES ${HEADERS} DESTINATION include)
|
||||
22
externals/vcpkg/ports/inih/portfile.cmake
vendored
Executable file
22
externals/vcpkg/ports/inih/portfile.cmake
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO benhoyt/inih
|
||||
REF d7f465792c0c7686b50ed45c9a435394ae418d3e # r51
|
||||
SHA512 f3b621225933d74e9b130957aab1d55a82f06fd836aace439f9192a393d82a446e9f2152bb617a73a1dc681a821fc31d217c41f38c8ef8eeef7ad64c3e274b5d
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/inih RENAME copyright)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
6
externals/vcpkg/ports/inih/vcpkg.json
vendored
Executable file
6
externals/vcpkg/ports/inih/vcpkg.json
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "inih",
|
||||
"version-string": "51",
|
||||
"port-version": 1,
|
||||
"description": "Simple .INI file parser"
|
||||
}
|
||||
Reference in New Issue
Block a user