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 target names are inconsistent #165

Open
benthevining opened this issue Nov 12, 2022 · 2 comments
Open

CMake target names are inconsistent #165

benthevining opened this issue Nov 12, 2022 · 2 comments

Comments

@benthevining
Copy link

On Mac/Linux, the target names are GUIDOEngine and SGUIDOEngine. On 64-bit Windows, the target names GUIDOEngine64 and SGUIDOEngine64. This is unnecessary complexity.

As a CMake user, I want to be able to do simply:

find_package (guido)

target_link_libraries (myApp PRIVATE guido::guido)

and not have to dig in to the internals of Guido's cmake scripts to figure out how to use your library.

@benthevining benthevining changed the title CMake target names are inconsitent CMake target names are inconsistent Nov 13, 2022
@dfober
Copy link
Member

dfober commented Nov 13, 2022

This is avoid name conflicts between the dynamic and static libraries (when both are compiled). I don't know how else to avoid this conflict between dynamic and static .lib. Any suggestion is welcome.

@benthevining
Copy link
Author

That's a different issue -- I'm talking about the fact that 64 is appended to both the dynamic and static library target names on 64-bit Windows.

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