diff options
| author | RT222 <contact@rt2.fr> | 2019-01-29 02:41:57 +0100 |
|---|---|---|
| committer | Codiferous <44823842+Codiferous@users.noreply.github.com> | 2019-01-28 17:41:57 -0800 |
| commit | 2c4d4f2a47b3ee8678f9bb871a70fcffafb9c77c (patch) | |
| tree | aa0c15204571208e9810c4d0b78168ea510b9ca3 | |
| parent | 581fd4501bb9e107f33bf971d474f1a8c9fc10a5 (diff) | |
| download | vcpkg-2c4d4f2a47b3ee8678f9bb871a70fcffafb9c77c.tar.gz vcpkg-2c4d4f2a47b3ee8678f9bb871a70fcffafb9c77c.zip | |
[nano-signal-slot] (#5243)
Initial port
| -rw-r--r-- | ports/nano-signal-slot/CONTROL | 3 | ||||
| -rw-r--r-- | ports/nano-signal-slot/portfile.cmake | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/ports/nano-signal-slot/CONTROL b/ports/nano-signal-slot/CONTROL new file mode 100644 index 000000000..dbccb32b7 --- /dev/null +++ b/ports/nano-signal-slot/CONTROL @@ -0,0 +1,3 @@ +Source: nano-signal-slot +Version: commit-25aa2aa90d450d3c7550c535c7993a9e2ed0764a +Description: Pure C++17 Signals and Slots diff --git a/ports/nano-signal-slot/portfile.cmake b/ports/nano-signal-slot/portfile.cmake new file mode 100644 index 000000000..55a879d1d --- /dev/null +++ b/ports/nano-signal-slot/portfile.cmake @@ -0,0 +1,22 @@ +include(vcpkg_common_functions) + +vcpkg_check_linkage( + ONLY_STATIC_LIBRARY +) + +if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore) + message(FATAL_ERROR "Error: UWP builds not supported yet.") +endif() + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO NoAvailableAlias/nano-signal-slot + REF 25aa2aa90d450d3c7550c535c7993a9e2ed0764a + SHA512 35dc9d0d9cce116a5bcea59ab9562c87dba9f6db999807ccbef7df1fb05513eaa71132ba2996eb43f0f241288096419892ac31a400ec6cb5013438e6b670194d + HEAD_REF master +) + +file(GLOB INCLUDES ${SOURCE_PATH}/*.hpp) +file(INSTALL ${INCLUDES} DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/nano-signal-slot RENAME copyright)
\ No newline at end of file |
