Comments (2)
I agree with you.
We need this feature.
I have personally researched how to support vcpkg.
I was able to confirm that it works by placing the attached sample in vcpkg/ports/optick.
If @bombomby feels there is no problem, I would like to see this reflected in https://github.com/microsoft/vcpkg.
{
"name": "optick",
"version-string": "1.4.00",
"port-version": 1,
"description": "Optick is a super-lightweight C++ profiler for Games.",
"homepage": "https://github.com/bombomby/optick",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bombomby/optick
REF 1.4.0.0
SHA512 9b835163aef7adaa7296c90eb104a742a32021a420f05ae7dd4025bceea0c4f624a1f447684a2c8a88ee8c43fd54ec83809e9434e6a786922b3b07b90f10c64e
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DOPTICK_USE_VULKAN=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/optick)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
from optick.
I agree with you. We need this feature.
I have personally researched how to support vcpkg. I was able to confirm that it works by placing the attached sample in vcpkg/ports/optick. If @bombomby feels there is no problem, I would like to see this reflected in https://github.com/microsoft/vcpkg.
{ "name": "optick", "version-string": "1.4.00", "port-version": 1, "description": "Optick is a super-lightweight C++ profiler for Games.", "homepage": "https://github.com/bombomby/optick", "license": "MIT", "dependencies": [ { "name": "vcpkg-cmake", "host": true }, { "name": "vcpkg-cmake-config", "host": true } ] }vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO bombomby/optick REF 1.4.0.0 SHA512 9b835163aef7adaa7296c90eb104a742a32021a420f05ae7dd4025bceea0c4f624a1f447684a2c8a88ee8c43fd54ec83809e9434e6a786922b3b07b90f10c64e HEAD_REF master ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DOPTICK_USE_VULKAN=OFF ) vcpkg_cmake_install() vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/optick) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") vcpkg_copy_pdbs() # Handle copyright file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
Worked perfectly!
Thanks!
from optick.
Related Issues (20)
- add userdata attribut to function SaveCapture
- Optick GUI crashes with many threads
- Optick cant connect to my app HOT 4
- The website seems to have some issues :')
- Online profiling HOT 3
- Build fails with GCC 11 HOT 1
- Linking Optick built with CMake fails on Vulkan application
- Optick latest Version causes Linker Errors with Microsoft Visual Studio C++ Express Edition HOT 2
- Sampling capture silently fails on Windows
- OPTICK_GPU_EVENT crashes the app with Vulkan validation error? HOT 1
- OPTICK_FRAME causes Access violation executing location error while binding socket
- extern "C" NextEvent seems like it was never used.
- Optick UE5 plugin deadlocks when stopping capture
- GUI crashing trying to open captures
- Capture is blanck
- Support for ClangCL
- Exeptions when trying to add thread pool workers HOT 1
- [Question] Linux GUI HOT 2
- Problems recording GPU on linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optick.