Re: [CMake] linking OBJECT libraries : Argument list too long

2016-05-25 Thread Magnus Therning
Biddiscombe, John A. writes: > When building OpenBLAS on OSX, the link line generated contains around > 350K of text, and the max supported arg length is getconf ARG_MAX - > returns 262144. > This causes the link phase to abort with Error running link command: > Argument list too long > > The re

[CMake] Full source path in generated ninja build file?

2016-05-25 Thread Chaoren Lin via CMake
Hi, currently if the build directory is under the project's root, and the generator is ninja, the generated build files will use relative paths from the build directory for the source files. E.g., if we have a project and its build directory structured like this: project/ CMakeLists.txt s

[CMake] CMake+QT always failed for the first build, and succeeded for second build or later.

2016-05-25 Thread irene w
Hi, I am compiling a simple Qt3 application on Linux using CMake. In my case, I need to build moc_xxx files with custom options and output to a specified directory, So, I was not using CAMKE_AUTO macros. My cmake scripts create a "Qt_tmp" directory and output moc_xxx there. It looked it always fa

Re: [CMake] C header file cross dependency

2016-05-25 Thread Patrick Boettcher
On Mon, 23 May 2016 13:49:14 + Wagner Martin wrote: > Hi @all, > > I'm quite new to CMake. If I've made a mistake or something is much > easier to solve, please tell me. > > I'd like to use CMake in embedded development (Build System: Linux, > Target: ARM Microcontroller) to get rid of comp

[CMake] linking OBJECT libraries : Argument list too long

2016-05-25 Thread Biddiscombe, John A.
When building OpenBLAS on OSX, the link line generated contains around 350K of text, and the max supported arg length is getconf ARG_MAX - returns 262144. This causes the link phase to abort with Error running link command: Argument list too long The reason for the problem is that many libraries