Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions ports/wintoast/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "${PORT} does not currently support UWP")
endif()

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
Expand All @@ -12,19 +8,18 @@ vcpkg_from_github(
HEAD_REF master
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS_RELEASE -DINSTALL_HEADERS=ON
OPTIONS_DEBUG -DINSTALL_HEADERS=OFF

)

vcpkg_install_cmake()
vcpkg_cmake_install()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

# Install license
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
12 changes: 9 additions & 3 deletions ports/wintoast/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"name": "wintoast",
"version-string": "1.2.0",
"port-version": 1,
"version": "1.2.0",
"port-version": 2,
"description": "WinToast is a lightly library written in C++ which brings a complete integration of the modern toast notifications of Windows 8 & Windows 10.",
"supports": "!uwp"
"supports": "windows & !uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}
4 changes: 0 additions & 4 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1546,10 +1546,6 @@ winreg:x64-linux=fail
winreg:x64-osx=fail
winsock2:x64-linux=fail
winsock2:x64-osx=fail
wintoast:arm-uwp=fail
wintoast:x64-linux=fail
wintoast:x64-osx=fail
wintoast:x64-uwp=fail
wpilib:arm64-windows=fail
wpilib:x64-osx=fail
wxchartdir:x64-osx=fail
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7302,7 +7302,7 @@
},
"wintoast": {
"baseline": "1.2.0",
"port-version": 1
"port-version": 2
},
"woff2": {
"baseline": "1.0.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/w-/wintoast.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7e0b224e777c1a12676204204a97636e3639c4c1",
"version": "1.2.0",
"port-version": 2
},
{
"git-tree": "186a3b60dc0a76ecb0b1a5a2147306dbfe734797",
"version-string": "1.2.0",
Expand Down