[Cmake-commits] CMake branch, master, updated. v3.15.3-1216-g8c56872

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 8c568722d79f9de0c03550981cbcb9453733a8bb (commit) from

Re: [CMake] Single library with both shared and static binaries

2019-09-26 Thread J Decker
I ended up using external_project() because unless you also copy the source files, each source file each only gets one set of flags... so if you have different compile options (the config file I suppose) the sources will only build with one or the other. If you copy all of the sources to the

Re: [CMake] Single library with both shared and static binaries

2019-09-26 Thread Avraham Shukron
There is no hard requirement for shipping both static and shared. With the back against the wall I could get away with SHARED only, since it is the most common way the library will be consumed. I wanted to also distribute a static version just for those who want a single, self-contained

[CMake] Cmake error

2019-09-26 Thread Enrique González
Dear all, I'm trying to install LLVM with all the projects because I need Clang and the SPIR-V target. I am using cmake like the llvm manual says and it give me this error, could you help me to solve it? I am following the steps from this page: https://llvm.org/docs/GettingStarted.html CMAKE

[Cmake-commits] CMake branch, master, updated. v3.15.3-1215-gb4087a2

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via b4087a23538f87efebcc8e4ece248416c242167f (commit) via

Re: [CMake] Single library with both shared and static binaries

2019-09-26 Thread Juan Sanchez
Here is an example where two libraries are created from object files that have only been compiled once: ADD_LIBRARY(symdiff_objects OBJECT ${CXX_SRCS} ${MC_SRCS}) set_property(TARGET symdiff_objects PROPERTY POSITION_INDEPENDENT_CODE ON) ADD_LIBRARY(symdiff_dynamic STATIC $) ADD_LIBRARY(symdiff

[Cmake-commits] CMake branch, master, updated. v3.15.3-1211-g28a2613

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 28a2613dd291c641f17940e3f996bd4cc9b9888d (commit) via

[Cmake-commits] CMake branch, master, updated. v3.15.3-1205-g3cb1289

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 3cb12895f3d99614ac30bd2f7703f721154b7068 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.15.3-1203-ga29b8d2

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via a29b8d285e176b40c9c5f1ce506dd97ed38f9c97 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.15.3-1197-g5fa625d

2019-09-26 Thread Kitware Robot via Cmake-commits
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 5fa625d611414ac567fd7a6bb5b3b416ea93eca2 (commit) via

Re: [cmake-developers] Possible feature request concerning conditional linking support by generator expressions

2019-09-26 Thread Brad King via cmake-developers
On 9/24/19 5:02 PM, Alan W. Irwin wrote: > I. Possible feature request > > After reading through the generator-expression documentation at > > it appears for my use case (see below) I need generator expressions of >

Re: [CMake] Single library with both shared and static binaries

2019-09-26 Thread Simon Richter
Hi, On Tue, Sep 24, 2019 at 11:41:54PM +0300, Avraham Shukron wrote: > I have a library which I want to distribute in both shared object and > static library forms. Is that a requirement for your project, or a requirement for the system integrator? With my Debian Developer hat on, I'm always