Skip to content

Enhances version of starter template#8

Merged
hun756 merged 12 commits into
mainfrom
dev
Mar 5, 2026
Merged

Enhances version of starter template#8
hun756 merged 12 commits into
mainfrom
dev

Conversation

@hun756

@hun756 hun756 commented Mar 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

hun756 added 12 commits March 5, 2026 10:31
Revamp bench/CMakeLists.txt to streamline benchmark setup:

- Replace old FindGBenchmark include with centralized Dependencies.cmake and call setup_googlebenchmark()
- Add extensive header/docs on adding/running benchmarks and useful flags
- Use file(GLOB ... CONFIGURE_DEPENDS) to auto-detect .cpp benchmark sources
- Create one executable per source, using filename as target name
- Link targets to the project library using a namespaced target (${PROJECT_NAME}::${PROJECT_NAME}) and to benchmark::benchmark and benchmark::benchmark_main
- Add target_compile_warnings and enforce maximum optimization flags for accurate benchmarking
@hun756 hun756 merged commit 6f00b18 into main Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant