diff --git a/ports/easyprofiler/portfile.cmake b/ports/easyprofiler/portfile.cmake index bcdc8658af922d..f26d712a828a53 100644 --- a/ports/easyprofiler/portfile.cmake +++ b/ports/easyprofiler/portfile.cmake @@ -1,14 +1,14 @@ vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO yse/easy_profiler - REF "v${VERSION}" - SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f - HEAD_REF develop + OUT_SOURCE_PATH SOURCE_PATH + REPO yse/easy_profiler + REF "v${VERSION}" + SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f + HEAD_REF develop ) vcpkg_cmake_configure( - SOURCE_PATH "${SOURCE_PATH}" - OPTIONS + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS -DEASY_PROFILER_NO_GUI=ON -DEASY_PROFILER_NO_SAMPLES=ON ) @@ -16,13 +16,13 @@ vcpkg_cmake_configure( vcpkg_cmake_install() vcpkg_copy_tools( - TOOL_NAMES "profiler_converter" - AUTO_CLEAN + TOOL_NAMES "profiler_converter" + AUTO_CLEAN ) vcpkg_cmake_config_fixup( - CONFIG_PATH "lib/cmake/easy_profiler" - PACKAGE_NAME easy_profiler + CONFIG_PATH "lib/cmake/easy_profiler" + PACKAGE_NAME easy_profiler ) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") @@ -31,5 +31,9 @@ file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.MIT") file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.APACHE") file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.MIT") -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE" "${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT" - "${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE") +vcpkg_install_copyright( + FILE_LIST + "${SOURCE_PATH}/LICENSE" + "${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT" + "${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE" +) diff --git a/ports/easyprofiler/vcpkg.json b/ports/easyprofiler/vcpkg.json index 94a7f10e4f2351..9d4385cd5a9baa 100644 --- a/ports/easyprofiler/vcpkg.json +++ b/ports/easyprofiler/vcpkg.json @@ -1,18 +1,18 @@ { - "name": "easyprofiler", - "version": "2.1.0", - "description": "Lightweight profiler library for c++", - "homepage": "https://github.com/yse/easy_profiler", - "license": "MIT", - "supports": "!uwp", - "dependencies": [ - { - "name": "vcpkg-cmake", - "host": true - }, - { - "name": "vcpkg-cmake-config", - "host": true - } - ] + "name": "easyprofiler", + "version": "2.1.0", + "description": "Lightweight profiler library for c++", + "homepage": "https://github.com/yse/easy_profiler", + "license": "MIT", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/e-/easyprofiler.json b/versions/e-/easyprofiler.json new file mode 100644 index 00000000000000..fd879bf1636b50 --- /dev/null +++ b/versions/e-/easyprofiler.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "5eeb0c3a3ad8c3407539212bf3b3203e450ef337", + "version": "2.1.0", + "port-version": 0 + } + ] +}