2018-10-13 06:33:16 +08:00
|
|
|
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO brofield/simpleini
|
|
|
|
REF fe082fa81f4a55ddceb55056622136be616b3c6f
|
|
|
|
SHA512 9ba3fc0e5d4d426a7943a6783f3e66203d3b822a9ac6bc2b261e877f70e099495ad22e03fd6ad3dd7aab422192701b2b450ace750ebd3bc6b4e6266c6d15184d
|
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2020-01-03 05:27:31 +08:00
|
|
|
# Install codes
|
|
|
|
set(SIMPLEINI_SOURCE ${SOURCE_PATH}/SimpleIni.h
|
|
|
|
${SOURCE_PATH}/ConvertUTF.h
|
|
|
|
${SOURCE_PATH}/ConvertUTF.c
|
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL ${SIMPLEINI_SOURCE} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
# Install sample
|
|
|
|
file(INSTALL ${SOURCE_PATH}/snippets.cpp DESTINATION ${CURRENT_PACKAGES_DIR}/share/sample)
|
2018-10-13 06:33:16 +08:00
|
|
|
|
2019-12-21 03:57:49 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENCE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|