Re: [CMake] adding prebuilt .o files to a cmake.a

2010-09-08 Thread Tim St. Clair
I guess a follow on to that would be the opposite to composition. If I wanted to decompose a cmake library to determine what object files it contains is there an easy mechanism for this? Cheers, Tim On Wed, Sep 8, 2010 at 4:30 PM, David Cole wrote: > On Wed, Sep 8, 2010 at 4:54 PM, Tim St. Cla

Re: [CMake] How to change CMake's expected output filename

2010-09-08 Thread Michael Hertling
On 09/08/2010 07:35 PM, Nick Foster wrote: > > Hi there, > > I'm using CMake with SDCC. Currently, support for SDCC in CMake does not also > include dialects for its various assemblers. So I've created one, for the > asx8051 assembler. The problem is that the asx8051 assembler shows > nonstand

Re: [CMake] adding prebuilt .o files to a cmake.a

2010-09-08 Thread David Cole
On Wed, Sep 8, 2010 at 4:54 PM, Tim St. Clair wrote: > Folks, > > Is there an easy way (best practice) to add prebuilt .o files (external > to my build) to a .a easily? > > -- > Cheers, > Timothy St. Clair > > > ___ > Powered by www.kitware.com > >

[CMake] adding prebuilt .o files to a cmake.a

2010-09-08 Thread Tim St. Clair
Folks, Is there an easy way (best practice) to add prebuilt .o files (external to my build) to a .a easily? -- Cheers, Timothy St. Clair ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/

[CMake] How to change CMake's expected output filename

2010-09-08 Thread Nick Foster
Hi there, I'm using CMake with SDCC. Currently, support for SDCC in CMake does not also include dialects for its various assemblers. So I've created one, for the asx8051 assembler. The problem is that the asx8051 assembler shows nonstandard behavior, and does not let you arbitrarily name the o

Re: [CMake] Newbie questions: verbosity and compiler invocation

2010-09-08 Thread David Aldrich
Hi Michael > Yes, this is correct. Thanks. > And before you even get the idea: Never add the > CMake-generated files (Makefile, CMakeCache.txt, etc.) to your version > control system. They are not relocatable. Ah yes. You told me that before ;-) I will take your advice! David ___

Re: [CMake] Newbie questions: verbosity and compiler invocation

2010-09-08 Thread Michael Wild
Hi David Yes, this is correct. And before you even get the idea: Never add the CMake-generated files (Makefile, CMakeCache.txt, etc.) to your version control system. They are not relocatable. Michael On 8. Sep, 2010, at 17:23 , David Aldrich wrote: > Hi Michael > > Thanks for your answers. >

Re: [CMake] Newbie questions: verbosity and compiler invocation

2010-09-08 Thread David Aldrich
Hi Michael Thanks for your answers. One other thing was worrying me. Currently, if a user changes our manually written makefile and checks it into svn, other users can do an svn update and then invoke make to construct a new build. If we move to cmake, users would modify and commit CMakeLists

Re: [CMake] Newbie questions: verbosity and compiler invocation

2010-09-08 Thread Michael Wild
On 8. Sep, 2010, at 16:33 , David Aldrich wrote: > Hi > > I am experimenting with using CMake to replace our manually written gnu > makefiles on Linux. I have a couple of questions: > > 1) VERBOSITY > > I would like to see the compiler command on the console when running make. I > know that

[CMake] Newbie questions: verbosity and compiler invocation

2010-09-08 Thread David Aldrich
Hi I am experimenting with using CMake to replace our manually written gnu makefiles on Linux. I have a couple of questions: 1) VERBOSITY I would like to see the compiler command on the console when running make. I know that one can run: make VERBOSE=1 but that displays a lot of detail, for

Re: [CMake] Loop expansion in find_library() seems backwards

2010-09-08 Thread Philip Lowman
On Wed, Sep 8, 2010 at 8:56 AM, Michael Hertling wrote: > ...which shows that 10718 is still alive. ;-) > > Hi Philip, > > what's your opinion on this topic, in particular > > - swapping loops and the required effort, the related risks > and the expected results, > I'd like to know if there is a

Re: [CMake] Loop expansion in find_library() seems backwards

2010-09-08 Thread Michael Hertling
On 09/08/2010 08:38 AM, Michael Wild wrote: > > On 8. Sep, 2010, at 8:25 , Philip Lowman wrote: > >> Let's say I have many different potential names for a library and the >> following filesystem >> >> /usr/lib/libnspr4.so >> ${CMAKE_CURRENT_SOURCE_DIR}/libnspr4a.so >> >> find_library(TEST_LIBRARY

Re: [CMake] Loop expansion in find_library() seems backwards

2010-09-08 Thread Philip Lowman
Wow, that's pretty bad. I even replied to one of those threads. Sorry for the noise. The official bug post for this issue is here: http://public.kitware.com/Bug/view.php?id=10718 I agree with Alan Irwin that it will continue to haunt users well into the future. On Wed, Sep 8, 2010 at 2:38 AM, Mi

Re: [CMake] Auto re-configuring until cache stops changing

2010-09-08 Thread David Cole
On Wed, Sep 8, 2010 at 3:43 AM, Diablo 666 wrote: > Hi, > > > What I meant was that the curses and Qt UI's should behave more like > 'cmake'. > > What does cmake actually do? The following code runs into an infinite loop > on > ccmake (like intended), but cmake seems to finish after the first pa

[CMake] Volunteering to become maintainer of FindSubversion.cmake

2010-09-08 Thread Marcel Loose
Hi all, I would like to inform you that I'm volunteering to become the maintainer of FindSubversion.cmake. Best regards, Marcel Loose. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opens

[CMake] Auto re-configuring until cache stops changing

2010-09-08 Thread Diablo 666
Hi, > What I meant was that the curses and Qt UI's should behave more like 'cmake'. What does cmake actually do? The following code runs into an infinite loop on ccmake (like intended), but cmake seems to finish after the first pass (it just prints out "on" once), though there is a newly introd