Comments (10)
Brofiler has been renamed into Optick starting from v1.2.0.
from hunter.
Unless you need to use this with the Vulkan sdk it looks like this package doesn’t have any dependencies, so it shouldn’t be too hard to pull in, but it will need some cmake changes. Are you looking for a fork to make these changes on?
from hunter.
I don't really sure what should be patched, the only dependency I can see here is pthread (for linux)...
from hunter.
Please tell me what can I do and I will try my best
from hunter.
@NukeBird Please remove things that toolchains should be taking care of, such as C++ standards and certain compiler flags. For example, this line should be removed/commented: https://github.com/bombomby/optick/blob/master/CMakeLists.txt#L6
from hunter.
Fork created: https://github.com/cpp-pm/optick
from hunter.
Can I assume that optick will be always a static library?
they're saying
Basic Integration (one line of code)
Copy 'src' folder from the repository or latest release to your game project
Add OPTICK_FRAME("MainThread"); macro to the main loop of your game and #include "optick.h" header
...
and when OPTICK_ENABLED is OFF CMakeLists making just a STATIC library, otherwise - shared
The only thing should be modified: USE_OPTICK=1 instead of USE_OPTICK=0 because of optick.config.h file
Also. Can I assume that OPTICK_ENABLE_GPU_D3D12 and OPTICK_ENABLE_GPU_VULKAN are always OFF? If no, what can we do?
from hunter.
Well, it seems that if you want Optick to be used, it is currently only available as a SHARED library: https://github.com/bombomby/optick/blob/master/CMakeLists.txt#L45
You can change that to STATIC.
Can we not link against Optick and then leave it to the consuming application to set USE_OPTICK
appropriately? That seems like the correct method. In which case, you should always build the library (not the dummy version) in the Optick Hunter package.
One can pass the D3D12 or VULKAN flags in hunter_cmake_args
or in hunter_config
. If those code paths are important, we should support them.
from hunter.
oh, with default values it makes a lot of sense now
yes, I would love to switch SHARED to STATIC
gonna make a pull request to the fork repository soon
from hunter.
from hunter.
Related Issues (20)
- /usr/bin/ld: /home/sahoo/.hunter/_Base/cb0ea1f/a3a48bb/b64ffe3/Install/lib/libz.a(zutil.c.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC HOT 12
- unittest hunter_setup_msvc fails because of ARM64 change HOT 9
- reeenable cmake hunter unittests to run in CI
- Doc - First step points to ruslo/hunter/wiki which does not exist HOT 1
- Missing OpenSSL 3.x IMPORTED Targets Crypto and SSL HOT 2
- cmake has now deprecated support for versions prior to 3.5 HOT 5
- hunter_protected_sources doesn't seem to be working with custom packages
- Update "imgui" package HOT 2
- OpenCV force push access rights HOT 1
- GitHub Actions macos-10.15 runner deprecated and removed by 2022-08-30
- OpenSSL v3+ version number not reporting correctly in CMake
- MingW builds broken in CI
- Add glog v0.6.0 version
- Should Hunter Boost move to USE_CONFIG_FROM_BOOST ON as default? HOT 1
- CMake Dependency Providers
- cmake 3.28 breaks universal 2 hunter builds with Xcode generator HOT 2
- freetype package causes error with CMake 3.28 HOT 2
- Update thrift version to latest
- Update curl to 8.5.0 HOT 6
- Update ZLIB to v1.3.1
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 hunter.