Re: [CMake] what is best for library dependencies?

2011-10-04 Thread Cristobal Navarro
1 schrieb Cristobal Navarro: > >> hello, > >> > >> as many of us, i am making a library and this is my first time. I have > some > >> concept questions. > >> > >> for example, my library depends on "GLEW" library. Therefore > a

[CMake] what is best for library dependencies?

2011-10-02 Thread Cristobal Navarro
hello, as many of us, i am making a library and this is my first time. I have some concept questions. for example, my library depends on "GLEW" library. Therefore applications that use my library must compile with "-lmylib" and "-lGLEW" is it possible, to make the "-lGLEW" implicit inside my l

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-18 Thread Cristobal Navarro
he otools output in my first > message. > > I want to find a way to tell the linker to link the library from where it > find it. > Does it make sense ? > > On Sun, Sep 18, 2011 at 4:29 PM, Cristobal Navarro wrote: > >> yes >> >> you have to provide another o

Re: [CMake] force to install doxygen each time

2011-09-15 Thread Cristobal Navarro
update: i had a bug somewhere, and was installing and old documentation. fixed that, and cmake is smart enough to install the files after a minor change is detected. On Thu, Sep 15, 2011 at 4:13 AM, Cristobal Navarro wrote: > hello, > > i was reading this tutorial about integratin

[CMake] force to install doxygen each time

2011-09-15 Thread Cristobal Navarro
hello, i was reading this tutorial about integrating doxygen documentation into the cmake build process. http://invalidmagic.wordpress.com/2009/11/30/cmake-and-doxygen-github-com/ is found it really cool because the doxyconf file feeds from some cmake variables i set, letting me handle version i

Re: [CMake] Using cmake to build a static library

2011-09-15 Thread Cristobal Navarro
have you looked at "target_link_libraries" command?? not sure but worth giving it a try. http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:target_link_libraries best regards Cristobal On Thu, Sep 15, 2011 at 3:49 AM, Denis Carniel < denis.carn...@loginpeople.com> wrote: > Hi, > >

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 crea

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

2011-09-13 Thread 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 as espected at the moment cmake is installing my library by default into: /usr/local/lib/mylib.so.0.1 (and the symlink mylib.so)