Re: [CMake] Shared, static and header-only versions of library side by side.

2019-07-08 Thread Dmitry Igrishin
пн, 8 июл. 2019 г. в 17:00, Kyle Edwards : > > On Thu, 2019-07-04 at 00:25 +0300, Dmitry Igrishin wrote: > > Hello, > > > > The libraries I developing can be used as a shared libraries, static > > libraries or header-only libraries. > > I want to let the users to: > > - install all three variants

Re: [CMake] Shared, static and header-only versions of library side by side.

2019-07-08 Thread Kyle Edwards
On Thu, 2019-07-04 at 00:25 +0300, Dmitry Igrishin wrote: > Hello, > > The libraries I developing can be used as a shared libraries, static > libraries or header-only libraries. > I want to let the users to: >   - install all three variants side by side; >   - choice what variant of library to use

[CMake] Shared, static and header-only versions of library side by side.

2019-07-03 Thread Dmitry Igrishin
Hello, The libraries I developing can be used as a shared libraries, static libraries or header-only libraries. I want to let the users to: - install all three variants side by side; - choice what variant of library to use for linkage. I see 2 options here: 1. use different config files. For