mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:39:05 +08:00
21 lines
793 B
CMake
21 lines
793 B
CMake
# header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO brofield/simpleini
|
|
REF fe082fa81f4a55ddceb55056622136be616b3c6f
|
|
SHA512 9ba3fc0e5d4d426a7943a6783f3e66203d3b822a9ac6bc2b261e877f70e099495ad22e03fd6ad3dd7aab422192701b2b450ace750ebd3bc6b4e6266c6d15184d
|
|
HEAD_REF master
|
|
)
|
|
|
|
# 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)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENCE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|