Re: [CMake] CMake hangs on new install

2010-10-27 Thread william.croc...@analog.com
If you have an instance of a program which has hung, I would attach to it with a debugger and see where it is, what it is doing (or not doing in this case) and what it is waiting for. Bill Phil Smith wrote: So….no ideas nowhere nohow? We have: - Reinstalled CMake -

Re: [CMake] Complete rebuild after svn update

2010-10-18 Thread william.croc...@analog.com
Have you checked the Makefiles which CMake creates to see if there are any surprising dependencies which could be causing the large extent of the recompile. Alex Brooks wrote: Thanks for the quick responses. Comments inline: Eric: May be svn is the culprit. Did you have a look at the

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

[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

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:

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 time,

[CMake] How to use Purify with CMake.

2010-10-14 Thread william.croc...@analog.com
Hello: I needed to build a purified version of my test program. A search of the mailing list archives produced a number of options, but they all had drawbacks. I came upon the solution below which seems to work well. I introduce a new language PURIFY for the purposes of linking the purified

Re: [CMake] How to rename the resulting Makefile.

2010-10-13 Thread william.croc...@analog.com
Nevertheless, I think may be you did not fully read my answer (unless I'm wrong) but you CAN call [part of] your home made makefile rules ** FROM THE SEPARATE CMAKE BUILD ** I read it, I just did not get it, being a newbie and all.:-) But, I see now. if you add some extra CMake lines

[CMake] How to rename the resulting Makefile.

2010-10-12 Thread william.croc...@analog.com
Hello: I'm a newbie cmake user and would like to rename the makefile produced by running cmake. I have searched the doc, mailinglist-archive and web, but to no avail. This is useful because: 1 - It provides a convenient way to slowly transition form existing makefiles to the use of cmake.

Re: [CMake] How to rename the resulting Makefile.

2010-10-12 Thread william.croc...@analog.com
[ elided ] So, is there a command I can place in my CMakeLists.txt files which will cause them to produce a file named xyz.make (let's say) instead of Makefile. Thanks in advance. Use out of source builds, and there should be no-conflict. There is no way to rename the makefiles. mkdir

Re: [CMake] How to rename the resulting Makefile.

2010-10-12 Thread william.croc...@analog.com
[ elided ] So, is there a command I can place in my CMakeLists.txt files which will cause them to produce a file named xyz.make (let's say) instead of Makefile. [ elided ] I still think Qt/qmake was right in providing the ability to change the name of the Makefile. Before I discovered