[CMake] install(TARGETS ... INCLUDES) has no effect.

2018-06-21 Thread Dmitry Igrishin
Hello, The documentation of the INCLUDES option of install(TARGETS) command says: "This option specifies a list of directories which will be added to the INTERFACE_INCLUDE_DIRECTORIES target property of the when exported by the

Re: [CMake] install(TARGETS ... INCLUDES) has no effect.

2018-06-21 Thread Dmitry Igrishin
> > > Hello! > > Did you try INCLUDES DESTINATION? > > install (TARGETS foo > EXPORT foo_export > ARCHIVE DESTINATION bin > LIBRARY DESTINATION lib > RUNTIME DESTINATION lib > INCLUDES DESTINATION include) > Oops! It works! I have no idea how I miss the DESTINATION keyword. And sadly

Re: [CMake] Ubuntu CMake Repository Now Available

2019-04-05 Thread Dmitry Igrishin
Thats great! Thank you! пт, 5 апр. 2019 г. в 22:17, Kyle Edwards via CMake : > > All, > > I am pleased to announce that Kitware is now offering an > officially-supported set of Ubuntu packages for CMake. These CMake > packages can be installed with apt-get, just like other Ubuntu > packages. We

[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.

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