[CMake] gathering directory names in cmake

2016-06-20 Thread Lee Butler
I have a source tree which contains multiple directories each of which has a subdirectory called "xyz". I want to create a target that creates a zip file with each of the xyz directories. So if the source tree looks like src src/xyz src/application src/application/xyz src/plugins/one/xyz

[CMake] Best way to modify C++ build steps (clang / linux)?

2016-06-20 Thread Christian Convey
I've got an existing project with a CMake-based build system. The project: - Has both C and C++ files - Links some ".o" files into convenience .a files. - Links some ".o" and ".a" files into several different executables. - Can be built successfully with gcc or clang. When using clan

[CMake] Getting at the final compiler/linker string for a given library

2016-06-20 Thread Clifford Yapp
Does anyone know if there's a way, given the full path find_package result: /usr/lib/libfoo.so to have CMake report what the eventual "-lfoo" entry will be on the compiler/linker line? I need to report out that information into a file independent of CMake's logic, and so far I haven't been able

[CMake] AUTORCC recompiles rcc

2016-06-20 Thread Wim Bekker
Hi, In cmake 3.5.0, 3.5.2 and 3.6.0 rc1 and 2 my resource file is compiled every time I build. I'm trying to create an issue in the new kitware issue tracker but I cannot find an "Add" button or so. How can I proceed? Thanks, Wim -- Powered by www.kitware.com Please keep messages on-topi