-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Static and Dynamic lib #178
Comments
I am actually not sure how to do that with CMake. |
According to this answer on stackoverflow it requires changing the I might add a new build option. Give me a few days. Otherwise pull requests welcome. |
The easiest way for now is just to build in two separate build directories. One with |
What exactly is your use case for this? Since adding this to the build system is quite ugly, I'd like to avoid it. |
Especially because you can get both by just building twice with different parameters. There is no problem as long as you don't try to install both. |
Hi, we have an automatic wrapper for compilation (on top of cmake) and experimental evaluation of HPC libraries. |
Hm. So let's add an option |
With this hack applied to make it work on Windows with identical names. Care has to be taken to not break compatibility with old CMake versions. Although not supporting this feature on older versions of CMake is fine by me. I'll see what I can do. |
I've implemented this on the |
This is included in 1.6 |
Hi,
any option to compile both static and dynamic lib via cmake?
The text was updated successfully, but these errors were encountered: