vcpkg/ports/imgui/portfile.cmake

25 lines
678 B
CMake
Raw Normal View History

2017-10-09 18:48:44 +08:00
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ocornut/imgui
2019-01-15 18:25:04 +08:00
REF v1.67
2019-01-16 06:07:20 +08:00
SHA512 14cca66a55597517d6e1cafa59897b8e8f482db0a31a73d87a3ca634a12afe9ece2f423c17ece802e23bb2c09322502b2b2c4318054fad03bd1c537031fd6f71
HEAD_REF master
2017-10-09 18:48:44 +08:00
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DIMGUI_SKIP_HEADERS=ON
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
2018-01-04 19:46:21 +08:00
vcpkg_fixup_cmake_targets(CONFIG_PATH share/imgui)
2017-10-09 18:48:44 +08:00
2018-11-27 07:27:42 +08:00
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/imgui/copyright COPYONLY)