Merge pull request #2022 from Farwaykorse/master

[CppWinRT] Update to October 2017 release
This commit is contained in:
Robert Schumacher 2017-10-23 12:16:09 -07:00 committed by GitHub
commit a256eb0875
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,3 @@
Source: cppwinrt Source: cppwinrt
Version: fall_2017_creators_update_for_vs_15.3-1 Version: fall_2017_creators_update_for_vs_15.3-2
Description: C++/WinRT is a standard C++ language projection for the Windows Runtime. Description: C++/WinRT is a standard C++ language projection for the Windows Runtime.

View File

@ -9,9 +9,13 @@ vcpkg_from_github(
) )
# Put the licence file where vcpkg expects it # Put the licence file where vcpkg expects it
file(COPY ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppwinrt/license.txt) file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppwinrt)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/cppwinrt/license.txt ${CURRENT_PACKAGES_DIR}/share/cppwinrt/copyright) file(RENAME ${CURRENT_PACKAGES_DIR}/share/cppwinrt/LICENSE ${CURRENT_PACKAGES_DIR}/share/cppwinrt/copyright)
# Copy the cppwinrt header files # Copy the cppwinrt header files
file(GLOB HEADER_FILES ${SOURCE_PATH}/10.0.16299.0/winrt/*) file(GLOB HEADER_FILES ${SOURCE_PATH}/10.0.16299.0/winrt/*)
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/winrt) file(
COPY ${HEADER_FILES}
DESTINATION ${CURRENT_PACKAGES_DIR}/include/winrt
REGEX "\.(gitattributes|gitignore)$" EXCLUDE
)