mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:43:03 +08:00
[imgui] Update to 1.53
This commit is contained in:
parent
273f35372c
commit
cfe7560506
@ -19,18 +19,23 @@ set(IMGUI_SOURCES
|
|||||||
imgui_draw.cpp
|
imgui_draw.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(imgui
|
add_library(${PROJECT_NAME}
|
||||||
${IMGUI_INCLUDES_PUBLIC}
|
${IMGUI_INCLUDES_PUBLIC}
|
||||||
${IMGUI_INCLUDES_PRIVATE}
|
${IMGUI_INCLUDES_PRIVATE}
|
||||||
${IMGUI_SOURCES}
|
${IMGUI_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS imgui
|
target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
|
||||||
|
|
||||||
|
install(TARGETS ${PROJECT_NAME}
|
||||||
|
EXPORT IMGUIExport
|
||||||
RUNTIME DESTINATION bin
|
RUNTIME DESTINATION bin
|
||||||
LIBRARY DESTINATION lib
|
LIBRARY DESTINATION lib
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(EXPORT IMGUIExport FILE ${PROJECT_NAME}Config.cmake NAMESPACE ${PROJECT_NAME}:: DESTINATION share/${PROJECT_NAME})
|
||||||
|
|
||||||
if(NOT IMGUI_SKIP_HEADERS)
|
if(NOT IMGUI_SKIP_HEADERS)
|
||||||
install(
|
install(
|
||||||
FILES ${IMGUI_INCLUDES_PUBLIC}
|
FILES ${IMGUI_INCLUDES_PUBLIC}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
Source: imgui
|
Source: imgui
|
||||||
Version: 1.52
|
Version: 1.53
|
||||||
Description: Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies.
|
Description: Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies.
|
||||||
|
@ -3,8 +3,8 @@ include(vcpkg_common_functions)
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO ocornut/imgui
|
REPO ocornut/imgui
|
||||||
REF v1.52
|
REF v1.53
|
||||||
SHA512 8ada897ae33bcffa222dab4e9ff602611fa27d43f26085b8f96c313fea917d3149f1e3f4640f6156cfb7bc39bcb116106ccb4e8da1409d467e78c93bf9f7ea03
|
SHA512 3e1ebf3844eaca3471064fa3d5792525c696b39f502c75235fae469038b73ae0eff198f13d5e1a35f86c011903cd379066afe1e22b6df769b9b16dc390f8b0c3
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -19,6 +19,7 @@ vcpkg_configure_cmake(
|
|||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/imgui)
|
||||||
|
|
||||||
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/imgui)
|
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/imgui)
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/imgui/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/imgui/copyright)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/imgui/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/imgui/copyright)
|
||||||
|
Loading…
Reference in New Issue
Block a user