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

Add shared library compilation support #71

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

netadr
Copy link
Contributor

@netadr netadr commented Apr 10, 2024

Add support for building safetyhook as a shared library by utilizing the CMake BUILD_SHARED_LIBS variable.

Note: In order to silence warnings regarding adding a dll-interface to STL classes, the C4251 warning is silenced when compiling using MSVC.

Note: This change set also includes a fallback for calling find_package(Zydis) in order to resolve the Zydis dependency.

@cursey
Copy link
Owner

cursey commented May 15, 2024

Sorry for taking so long merging this PR in. It looks good to me but could you update it so its up to date with main? Thanks!

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.

None yet

2 participants