[CMake] Using cmake to build a static library

2011-09-14 Thread Denis Carniel
Hi, I came across cmake few weeks ago as a very interesting way to build projects for multiple platforms. It allows us at work to use a common code base for multiple platforms without actual duplication which is really neat. Though we're facing an issue related to the fact cmake isn't the only

[CMake] UseSWIG, Python, SWIG_LINK_LIBRARIES and linking errors

2011-09-14 Thread Lori Pritchett-Sheats
I'm trying to build a very simple example from the SWIG documentation http://www.swig.org/Doc2.0/SWIGDocumentation.html#Introduction_build_system There is a code snippet that demonstrates how to use SWIG in a CMake build system, but I can not get this simple example to build on a Linux platform

[CMake] providing your own exp file on AIX

2011-09-14 Thread Domen Vrankar
Hi, I'm trying to use my own exp file for linking of a shared library on AIX. Currently CMake generates an objects.exp file and I don't know how to replace it with my own that was used in Makefile files before I switched to CMake and contains less entries than the generated one. Is there a way to

Re: [CMake] creating a library -- folder layout??

2011-09-14 Thread Cristobal Navarro
thanks Eric! Cristobal On Tue, Sep 13, 2011 at 7:12 PM, Eric Noulard wrote: > 2011/9/13 Cristobal Navarro : > > hello everyone! > > this is my first post on the mailing list > > i am making a shared library > > i have everything configured properly so that cmake creates de makefile > > scripts a

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-14 Thread Clifford Yapp
Looks like that's working. Running ninja again, I'm seeing another issue: BRL-CAD uses dependency assignment to make sure our build time delta calculator is the last target to be built (and hence actually times the build). With ninja, it doesn't seem to be respecting this, but instead tries to r