Skip to content

Conversation

EmJayGee
Copy link
Collaborator

In my neverending attempt to figure out how to arrange the platform independent vs. platform dependent parts of the code, I had rearranged the code and headers for chrono so that the platform dependent code was beneath the platform independent top level library target.

however this did not really permit the subdirectory to cleanly inject the windows_chrono_casts.h header into the m/ include namespace.

The latest workaround here is to make the windows chrono support a separate target, m_windows_chrono, beneath m_chrono.

I don't know if this is the right approach. Maybe it is, maybe I can add m_windows_chrono as a link library of the m_chrono conditionally. But just because it can be done doesn't mean it should.

It would be nice if there was a nicer "paved path" for this kind of thing.

@EmJayGee EmJayGee merged commit eb206ea into main Aug 10, 2025
5 checks passed
@EmJayGee EmJayGee deleted the micgrier/fix-windows-chrono-casts-install-location branch August 10, 2025 14:46
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