Skip to content

Add trigdx_config.hpp and trigdx.hpp header files#8

Merged
csbnw merged 1 commit intomainfrom
use-common-headers
Aug 12, 2025
Merged

Add trigdx_config.hpp and trigdx.hpp header files#8
csbnw merged 1 commit intomainfrom
use-common-headers

Conversation

@csbnw
Copy link
Copy Markdown
Contributor

@csbnw csbnw commented Aug 12, 2025

Autogenerate trigdx_config.hpp file based on what backends are enabled in CMake and use it in a new common trigdx.hpp headers. This simplifies the use of the library, just #include <trigdx/trigdx.hpp>.

@csbnw csbnw requested a review from wvbbreu August 12, 2025 12:06
@csbnw csbnw self-assigned this Aug 12, 2025
@csbnw csbnw added the enhancement New feature or request label Aug 12, 2025
Copy link
Copy Markdown
Contributor

@wvbbreu wvbbreu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really convenient to use, haven't used this CMake feature/hack before. Learned something new :)

@csbnw csbnw merged commit 0e2d986 into main Aug 12, 2025
@csbnw csbnw deleted the use-common-headers branch August 21, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants