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 CMake installation rules #92

Merged
merged 1 commit into from
Feb 23, 2025
Merged

Conversation

llm96
Copy link
Contributor

@llm96 llm96 commented Feb 20, 2025

Follow-up from #69, here are a few minor CMake changes to ensure things are installed to the usual places.

I'm hoping to contribute packages to vcpkg & MSYS2 afterwards.

-DBUILD_SHARED_LIBS=OFF

-- Install configuration: "Debug"
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/lib/libsafetyhook.a
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/allocator.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/common.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/context.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/easy.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/inline_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/mid_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/os.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/utility.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook/vmt_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/include/safetyhook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/lib/cmake/safetyhook/safetyhook-config.cmake
-- Installing: Z:/safetyhook/cmake-build-debug-static/install/lib/cmake/safetyhook/safetyhook-config-debug.cmake

-DBUILD_SHARED_LIBS=ON

-- Install configuration: "Debug"
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/lib/libsafetyhook.dll.a
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/bin/libsafetyhook.dll
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/allocator.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/common.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/context.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/easy.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/inline_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/mid_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/os.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/utility.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook/vmt_hook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/include/safetyhook.hpp
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/lib/cmake/safetyhook/safetyhook-config.cmake
-- Installing: Z:/safetyhook/cmake-build-debug-shared/install/lib/cmake/safetyhook/safetyhook-config-debug.cmake

@cursey cursey force-pushed the feature/cmake-install branch from 7d34b7d to b51ffa9 Compare February 23, 2025 01:13
@cursey cursey merged commit 543bc8f into cursey:main Feb 23, 2025
5 checks passed
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.

2 participants