RE: [CMake] Compile/install on HPUX on ia64 (Itanium)

2006-06-29 Thread David Akdikmen
Hi, What version of the compiler you got? I'm getting all sorts of problems now trying to build ITK with the cmake I made from the CVS tree. My new Itanium has been commandeered as the new Sub-version server and this old box I'm using has HP ANSI C Version A.05.50 [September 03]. Notice that

RE: [CMake] Compile/install on HPUX on ia64 (Itanium)

2006-06-29 Thread William A. Hoffman
How can you tell what version it is? At 11:16 AM 6/29/2006, David Akdikmen wrote: Hi, What version of the compiler you got? I'm getting all sorts of problems How can you tell what version it is? I have general question on how cmake works, does it take the compiler and options you

RE: [CMake] Compile/install on HPUX on ia64 (Itanium)

2006-06-29 Thread David Akdikmen
cc -V or as root swlist -l product and look for compiler (C-ANSI-C) in output. I get ACXX C.05.50HP aC++ ... C-ANSI-C C.05.50HP C/ANSI C Compiler ... -David -Original Message- From: William A. Hoffman [mailto:[EMAIL PROTECTED] Sent:

RE: [CMake] Compile/install on HPUX on ia64 (Itanium)

2006-06-29 Thread William A. Hoffman
At 11:46 AM 6/29/2006, David Akdikmen wrote: cc -V or as root swlist -l product and look for compiler (C-ANSI-C) in output. I get ACXX C.05.50HP aC++ ... C-ANSI-C C.05.50HP C/ANSI C Compiler ... trower 53: cc -V cc: HP aC++/ANSI C B3910B A.06.06

[CMake] CTest Question

2006-06-29 Thread Scott Amort
Hi All, I have one last hurdle in converting my project over to CMake - unit testing. I don't quite understand the CTest framework, and it doesn't seem to be doing what I expect. In my tests subdirectory, I have this CMakeLists.txt: #for testing ENABLE_TESTING() #build testing executables

Re: [CMake] CTest Question

2006-06-29 Thread William A. Hoffman
At 01:03 PM 6/29/2006, Scott Amort wrote: Hi All, I have one last hurdle in converting my project over to CMake - unit testing. I don't quite understand the CTest framework, and it doesn't seem to be doing what I expect. In my tests subdirectory, I have this CMakeLists.txt: #for testing

[CMake] automagically generated header hell

2006-06-29 Thread David Somers
In a project I'm workking on I use makeheaders (http://www.cvstrac.org/cvstrac/dir?d=cvstrac) to automagically generate the h files for my c files. I'm using ADD_CUSTOM_TARGET to generate the headers, and some ADD_DEPENDENCIES magic to ensure they're generated before the code is compiled. All

[CMake] Forcing C++: What Causes VC Warning D4025 : overriding /TP with /TC

2006-06-29 Thread Steve Johns
I'm building a project with an application directory and several library directories. Code is a mix of .c and .cpp files. Some of the directories contain only .c files. I'm using VC 7.1. I've used these lines in my CMakelists.txt files in order to force .c files to be compiled and linked

[CMake] out-of-source build and generated files

2006-06-29 Thread Scott Amort
Hi, First off, thanks to the CMake developers and responders on this list, my transition to CMake has been almost completely painless, and best of all, very fast! I have one more question, however. Now that my newly-CMaked project works, I've been experimenting with out-of-source builds. I