Skip to content

(cmake) Added ability to override JSL_PLATFORM_DEPENDENCY_VISIBILITY with user provided value - #71

Open
Patrix9999 wants to merge 1 commit into
JibbSmart:masterfrom
Patrix9999:master
Open

(cmake) Added ability to override JSL_PLATFORM_DEPENDENCY_VISIBILITY with user provided value#71
Patrix9999 wants to merge 1 commit into
JibbSmart:masterfrom
Patrix9999:master

Conversation

@Patrix9999

Copy link
Copy Markdown

The idea is simple, right now when we compile the library as static, the JSL_Platform::Dependencies are being directly exposed to the cmake project that uses target_link_libraries to link against JoyShockLibrary.

This is a problem, because in my specific scenario i don't want my project to use WIN32_LEAN_AND_MEAN or _UNICODE macros (they should remain hidden inside the dependency).

With this change, the user can override JSL_PLATFORM_DEPENDENCY_VISIBILITY with it's own custom value.

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