aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/drekar-launch-process-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/drekar-launch-process-cpp')
-rw-r--r--vcpkg/ports/drekar-launch-process-cpp/portfile.cmake23
-rw-r--r--vcpkg/ports/drekar-launch-process-cpp/usage5
-rw-r--r--vcpkg/ports/drekar-launch-process-cpp/vcpkg.json18
3 files changed, 46 insertions, 0 deletions
diff --git a/vcpkg/ports/drekar-launch-process-cpp/portfile.cmake b/vcpkg/ports/drekar-launch-process-cpp/portfile.cmake
new file mode 100644
index 0000000..f9cceaf
--- /dev/null
+++ b/vcpkg/ports/drekar-launch-process-cpp/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO johnwason/drekar-launch-process-cpp
+ REF v0.1.0
+ SHA512 5f2d9e9c8a6f9e2884441fdc6369441d5ad0e13c40412fc8f64043ba614b0abc86e34405dd75e8ea7760e5ca7a2c1457ef52c5b082db16645f7158f74a56872e
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH ${SOURCE_PATH}
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT} )
+
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+
+file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
diff --git a/vcpkg/ports/drekar-launch-process-cpp/usage b/vcpkg/ports/drekar-launch-process-cpp/usage
new file mode 100644
index 0000000..7d42741
--- /dev/null
+++ b/vcpkg/ports/drekar-launch-process-cpp/usage
@@ -0,0 +1,5 @@
+The package drekar-launch-process-cpp is compatible with built-in CMake targets:
+
+ find_package(drekar-launch-process-cpp CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE drekar-launch-process-cpp)
+
diff --git a/vcpkg/ports/drekar-launch-process-cpp/vcpkg.json b/vcpkg/ports/drekar-launch-process-cpp/vcpkg.json
new file mode 100644
index 0000000..05e1365
--- /dev/null
+++ b/vcpkg/ports/drekar-launch-process-cpp/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "drekar-launch-process-cpp",
+ "version-semver": "0.1.0",
+ "description": "Companion library for drekar-launch for C++",
+ "homepage": "https://github.com/johnwason/drekar-launch-process-cpp",
+ "license": "Apache-2.0",
+ "supports": "(windows & (x86 | x64) & !uwp) | linux | osx",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}