Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake namespacing? #9

Open
ShadowMitia opened this issue Jan 15, 2022 · 1 comment
Open

CMake namespacing? #9

ShadowMitia opened this issue Jan 15, 2022 · 1 comment

Comments

@ShadowMitia
Copy link
Owner

I haven't looked into this yet, but should be namespace all functions/macros in yacht?
I dunno if CMake has namespacing stuff or convetions btw.

so have instead of set_flag for example, have yacht_set_flag.

It makes everything more verbose, but then it clarifies what's ours and what's not.

@hill-a
Copy link
Collaborator

hill-a commented Jan 15, 2022

To my knowledge, there is no namespace in CMake (and a quick google search seems to suggest a lack of one).

Prefixing with yacht_ is a good idea, I've been doing that with most of the things like vcpkg or conan.

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

No branches or pull requests

2 participants