mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 13:11:19 +01:00
* Add profiling macros and optick profiler * Update premake5_optick.lua * Added more profiling markers * Remove microprofiler option for now as not implemented * Added more markers ro rendering code * Update Optick build premake only for windows builds * More build file changes for optick with windows * Change how optick is built on windows * Update premake5_v2.lua * Update build files to use with_optick option * Added ScopeName macro to appease ASAN * Push to rekick jobs * Delete ProfilerMacros.h * Create profiler_macros.h * Update path_fiddle.cpp * Update fiddle_context.hpp * Update for rename of header * More header changes * Update fiddle_context.hpp * Update profiler_macros.h * Update for clang format * Update fiddle_context.hpp * Update profiler_macros.h * Update profiler_macros.h * Changed premake values on Chris' comments * Removed multiple define fro RIVE_OPTICK and now in rive_build_config.lua * Added Optick URL and Version to rive_build_config Co-authored-by: John White <aliasbinman@gmail.com>
17 lines
373 B
Lua
17 lines
373 B
Lua
local dependency = require('dependency')
|
|
optick = dependency.github(RIVE_OPTICK_URL, RIVE_OPTICK_VERSION)
|
|
project('optick')
|
|
do
|
|
kind('StaticLib')
|
|
language('C++')
|
|
cppdialect('C++11')
|
|
|
|
files { optick .. "/src/**.cpp" }
|
|
-- but exclude this one
|
|
removefiles {
|
|
optick .. "/src/optick_gpu.vulkan.cpp"
|
|
}
|
|
|
|
includedirs({ optick .. '/src' })
|
|
end
|