Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-15 Thread Andreas Schneider
On Friday 15 October 2010 23:13:41 Michał Czuczman wrote: > I use CMake for building a multi-platform multi-language project where > for most parts it fits very well. However, one part of the project is > written in Java, with some native implementations. So it would be great > to have a nice Jav

Re: [CMake] Bootstrap script generation?

2010-10-15 Thread Eric Noulard
2010/10/15 Clifford Yapp : > CMake itself, when building from source, has a bootstrap script it > uses to get going.  Can such scripts be generated by CMake for other > project to enable building on machines without CMake? Do you mean is CMake polymorphic and pretend it is autoconf ? Just kidding

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-15 Thread Michał Czuczman
W dniu 15.10.2010 08:40, Jesper Eskilson pisze: > On 10/14/2010 10:22 PM, Michał Czuczman wrote: > >> I would be interested in improving Java support in CMake. A source code >> parser which finds out names of generated output object files, as in the >> SCons Java support, is a must. That's what

[CMake] Bootstrap script generation?

2010-10-15 Thread Clifford Yapp
CMake itself, when building from source, has a bootstrap script it uses to get going. Can such scripts be generated by CMake for other project to enable building on machines without CMake? ___ Powered by www.kitware.com Visit other Kitware open-source p

Re: [CMake] Last minute build-date file.

2010-10-15 Thread william.croc...@analog.com
But if you're going to write a C program anyway ...then just use "time" and/or "gmtime" standard library functions to print the date/time out in whatever format you want. The hard part here is not printing out the date and time. The hard parts is capturing the date and time AT link ti

Re: [CMake] Last minute build-date file.

2010-10-15 Thread william.croc...@analog.com
If my app requires relinking, then at link time I would like to capture the current date and time and place it in a last-minute source file which is linked with the application. Following is my attempt at this with CMake. This is just OTTOMH, but could you have something like this: #include

Re: [CMake] Last minute build-date file.

2010-10-15 Thread David Cole
On Fri, Oct 15, 2010 at 12:17 PM, Michael Hertling wrote: > On 10/15/2010 04:14 PM, william.croc...@analog.com wrote: > > Hello: > > > > If my app requires relinking, then at link time > > I would like to capture the current date and time and place it > > in a last-minute source file which is link

[CMake] Last minute build-date file.

2010-10-15 Thread fatman
On Fri, 15 Oct 2010 12:00:02 -0400 cmake-requ...@cmake.org wrote: > Hello: > > If my app requires relinking, then at link time > I would like to capture the current date and time and place it > in a last-minute source file which is linked with the application. > Following is my attempt at this w

Re: [CMake] Last minute build-date file.

2010-10-15 Thread Michael Hertling
On 10/15/2010 04:14 PM, william.croc...@analog.com wrote: > Hello: > > If my app requires relinking, then at link time > I would like to capture the current date and time and place it > in a last-minute source file which is linked with the application. > Following is my attempt at this with CMake.

Re: [CMake] Install header directory hierarchy

2010-10-15 Thread David Cole
The best way to preserve structure is to layout the source directory exactly as you want it, and then use a single install(DIRECTORY command. If it's not in your source tree exactly as you want it, you could add a custom build step to arrange such a directory in your build tree, and then use instal

[CMake] Last minute build-date file.

2010-10-15 Thread william.croc...@analog.com
Hello: If my app requires relinking, then at link time I would like to capture the current date and time and place it in a last-minute source file which is linked with the application. Following is my attempt at this with CMake. The problems I can see are: 1 - It is not portable as it uses the O

Re: [CMake] Possible changes in CPackRPM.cmake in version 2.8.0

2010-10-15 Thread Eric Noulard
2010/10/15 Karl Krissian : > > OK, > > It worked with the nightly build of cmake. Ok then that's fine. Thank you for testing. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org ___ Powered by www.kitware.com

Re: [CMake] how to get cmake and custom qt widget to work?

2010-10-15 Thread e...@cs.bgu.ac.il
On Wed 13 Oct 22:29 2010 Alexander Neundorf wrote: > On Tuesday 05 October 2010, e...@cs.bgu.ac.il wrote: > > the project's one? > > I've copied the hpp and cpp files into one of my src dirs. > > still not compiling > > Don't use file(GLOB ...) to collect your source files. > Use explicit set(GUI

[CMake] Install header directory hierarchy

2010-10-15 Thread Daniel Pfeifer
Hi, This question has been asked quite a few times, but never satisfactorily answerded before: How do I install a bunch of headers preserving directory structure? The following snippet > set(HEADERS header1.h dir/header2.h) > install(FILES ${HEADERS} DESTINATION include) puts both files inside t

Re: [CMake] How to use Purify with CMake.

2010-10-15 Thread william.croc...@analog.com
Ben, I think the problem is that some versions of purify are run by putting purify in front of the final link line. Like this: purify gcc -o foo foo.o Yes. This is how it is done on Linux. The instrumentation takes place a link time. Running this: purify foo I believe this is how

Re: [CMake] Possible changes in CPackRPM.cmake in version 2.8.0

2010-10-15 Thread Karl Krissian
OK, It worked with the nightly build of cmake. Regards, Karl El 14/10/10 11:27, Eric Noulard escribió: 2010/10/14 Karl Krissian: Hi, I made the following changes to the file /usr/share/cmake/Modules/CPackRPM.cmake to be able to use it for my software: diff /home/karl/amilab_trunk/CMAKE/