[CMake] cmake build of LLVM: HAVE_CXX_ATOMICS_WITHOUT_LIB test failure

2019-04-10 Thread SC Warrior
I watched Chris Bieneman's talk about the transition of LLVM from autoconf to cmake and he raved about how friendly / vibrant the cmake community is so I thought I'd ask this here. I posted it to stack overflow but it's fairly involved so I hope it's c

[CMake] Using find_package fails to find related subprojects that are exported to the package registry

2019-04-10 Thread Timothy Wrona
Hi fellow CMake programmers! I've got a bit of a tricky situation and I wonder if anyone has ever dealt with this before. I am trying to configure a project that has a structure as follows myproject/ executable1/ <-- depends on common_lib1 my_common_libs/ common_lib1/ com

Re: [CMake] linking FetchContent library

2019-04-10 Thread Craig Scott
On Thu, Apr 11, 2019 at 1:35 AM Stéphane Ancelot wrote: > Hi, > > are there any specific Cmake configurations to setup in projects when > using fetchcontent. > > I am able to fetch and build a library but not able to link and include > files of this library in another projects. > > include(FetchC

Re: [CMake] Ubuntu CMake Repository Now Available

2019-04-10 Thread Hahn, Steven E. via CMake
Thank you! I successfully installed your CMake 3.14.1 package this morning. Steven From: CMake on behalf of Kyle Edwards via CMake Reply-To: Kyle Edwards Date: Tuesday, April 9, 2019 at 6:04 PM To: Benjamin Shadwick , cmake Subject: Re: [CMake] Ubuntu CMake Repository Now Available Rebuilt

[CMake] linking FetchContent library

2019-04-10 Thread Stéphane Ancelot
Hi, are there any specific Cmake configurations to setup in projects when using fetchcontent. I am able to fetch and build a library but not able to link and include files of this library in another projects. include(FetchContent) FetchContent_Declare(   jconcpp   GIT_REPOSITORY https://gi

[CMake] AUTOMOC does not process headers in subdirectory of include/

2019-04-10 Thread Mario Emmenlauer
Dear all, we have a problem that Qt moc is only called for headers in the include directory of the project, not for subdirectories. Attached is a minimal example. cmake should call moc to generate the moc- sources in MyQtWidgets_autogen/include/bda/ folder. However the sources are not generated.