Re: [CMake] cmake build of LLVM: HAVE_CXX_ATOMICS_WITHOUT_LIB test failure

2019-04-11 Thread Shoaib Meenai
llvm-...@lists.llvm.org would also be a good place to ask questions about the LLVM build system :) 1. I believe it’s just called the configure phase. (There’s also the generation phase, where CMake actually generates the build system.) 2. How have you set u

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

2019-04-11 Thread Rafael Vargas
I have a similarly organized project and it works without any of the find_package and the export commands. If you do include all of the CMakeFiles.txt files using add_directory, then it should be enough to: In my_common_libs/common_lib1/CMakeLists.txt: add_library(common_lib1 ...) In executa

Re: [CMake] linking FetchContent library

2019-04-11 Thread Craig Scott
(Please continue to CC the mailing list with replies) On Thu, Apr 11, 2019 at 4:22 PM Stéphane Ancelot wrote: > > Le 10/04/2019 à 23:03, Craig Scott a écrit : > > > > On Thu, Apr 11, 2019 at 1:35 AM Stéphane Ancelot > wrote: > >> Hi, >> >> are there any specific Cmake configurations to setup in