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

Added option to build OptickCore as a static lib via CMake #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Poseydon42
Copy link

Sometimes is is much more convenient to build and link Optick as a static library instead of shared. This patch adds a CMake option OPTICK_BUILD_STATIC_LIB that can be used to build OptickCore library as a static library. It is turned off by default to prevent any conflicts with existing project generation scripts.

@JonnyPtn
Copy link

Yeah this is a duplicate of #133, but that PR uses the cmake provided variable for it so is a bit cleaner

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