Skip to content

Update cmake build system#793

Merged
thilinarmtb merged 1 commit intolibocca:developmentfrom
thilinarmtb:update_cmake_build_system
Jul 2, 2025
Merged

Update cmake build system#793
thilinarmtb merged 1 commit intolibocca:developmentfrom
thilinarmtb:update_cmake_build_system

Conversation

@thilinarmtb
Copy link
Copy Markdown
Collaborator

@thilinarmtb thilinarmtb commented Jun 25, 2025

Description

Use add_subdirectory() instead of GLOB_RECURSE to add source files to the build system.
This will enable exposing part of internal code (cli, utils, etc.) to OCCA related projects
if necessary.

@thilinarmtb thilinarmtb changed the base branch from main to development June 25, 2025 17:37
@thilinarmtb thilinarmtb force-pushed the update_cmake_build_system branch from bb4fb37 to 22c1f56 Compare June 27, 2025 15:56
@thilinarmtb thilinarmtb force-pushed the update_cmake_build_system branch from 22c1f56 to d140db0 Compare July 1, 2025 17:15
@thilinarmtb
Copy link
Copy Markdown
Collaborator Author

thilinarmtb commented Jul 2, 2025

I did some timing comparing this branch and the development. There is no measurable slowdown
due to the changes.

configure build
This PR 11.8s 46.6s
development 11.2s 46.4s

@thilinarmtb thilinarmtb merged commit 4bf0d6f into libocca:development Jul 2, 2025
4 checks passed
@thilinarmtb thilinarmtb deleted the update_cmake_build_system branch July 2, 2025 20:51
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