diff --git a/ports/drekar-launch-process-cpp/portfile.cmake b/ports/drekar-launch-process-cpp/portfile.cmake new file mode 100644 index 0000000000..f9cceafb8c --- /dev/null +++ b/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/ports/drekar-launch-process-cpp/usage b/ports/drekar-launch-process-cpp/usage new file mode 100644 index 0000000000..7d4274104a --- /dev/null +++ b/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/ports/drekar-launch-process-cpp/vcpkg.json b/ports/drekar-launch-process-cpp/vcpkg.json new file mode 100644 index 0000000000..05e1365ab9 --- /dev/null +++ b/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 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index f35f52f921..7be1f5a381 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2300,6 +2300,10 @@ "baseline": "1.5.7", "port-version": 0 }, + "drekar-launch-process-cpp": { + "baseline": "0.1.0", + "port-version": 0 + }, "drlibs": { "baseline": "2023-08-16", "port-version": 0 diff --git a/versions/d-/drekar-launch-process-cpp.json b/versions/d-/drekar-launch-process-cpp.json new file mode 100644 index 0000000000..3968d1bf70 --- /dev/null +++ b/versions/d-/drekar-launch-process-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "0859b5c16e42b3f918b8811fbd7929d27360e37b", + "version-semver": "0.1.0", + "port-version": 0 + } + ] +}