RE: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Atwood, Robert C
From: Alan W. Irwin (on cmake list) Yes, [svnversion] is the whole point! It is much easier than using individual revision nubmers for each file. Although not nearly as informative. I just tried svnversion, and it only gives a range of Revision numbers for the source tree. That's

RE: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Atwood, Robert C
-Original Message- From: Juan Sanchez Not being a member of the subversion list. And doubting that non cmake members can email this list. Please email us the results of your query Okay, if people don't think it irrelevant to Cmake. I'm sensitive to the fact this discussion is

RE: [CMake] Version embedding - how to cause a command when make is run?

2007-10-04 Thread Atwood, Robert C
From: Alan W. Irwin [...]I've tried the following in CMakeLists, placing the output of 'svnversion' and similar commands into an included source file and it works [...] Can some form of dependency be set so that if any source file is changed [...] Or, should I use another

[CMake] Can Make help be set less verbose?

2007-10-02 Thread Atwood, Robert C
Hi, I have a project with lots of c files that I am trying to place under Cmake. And, I must say , it is working really well ! But ... Since there are lots of c files, the list of possible targets returned by 'make help', after running cmake, is rather useless (unless run though 'head -8' or

RE: [CMake] Can Make help be set less verbose?

2007-10-02 Thread Atwood, Robert C
-Original Message- From: Juan Sanchez Hi Robert, I had no idea those targets existed. I would find them useful, especially if the .o files went to a deterministic location. I observe that when using cmake, they do indeed go into a deterministic loaction, that is

RE: [CMake] Can Make help be set less verbose?

2007-10-02 Thread Atwood, Robert C
-Original Message- KSpam Subject: Re: [CMake] Can Make help be set less verbose? Robert, I used to have the same problem until I restructured my project. The trick is NOT to list source files in the top-level CMakeLists.txt file. Yes, that will help eventually and I had

RE: [CMake] Nonstandard architectures.

2007-09-28 Thread Atwood, Robert C
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Bill Hoffman wrote: Mathias Froehlich wrote: Hi, That is way too croase and will even bring the wrong results. It produces good results on linux x64 and itanium platforms. I have tested and

RE: [CMake] Re: Fltk project, visual studio 2005 (8) -- using FL/Fl.H

2007-09-18 Thread Atwood, Robert C
] [mailto:[EMAIL PROTECTED] On Behalf Of Atwood, Robert C Sent: 14 September 2007 12:30 To: Colin D Bennett; cmake@cmake.org Subject: RE: [CMake] Re: Fltk project, visual studio 2005 (8) -- using FL/Fl.H *smak self* I swear I thought I tried that permutaion before, but .. It seems

RE: [CMake] Re: Fltk project, visual studio 2005 (8) -- using FL/Fl.H

2007-09-14 Thread Atwood, Robert C
project, visual studio 2005 (8) -- using FL/Fl.H Atwood, Robert C wrote: The tabinter.h file contains: // generated by Fast Light User Interface Designer (fluid) version 1.0108 #ifndef tabinter_h #define tabinter_h #include FL/Fl.H ... Etc I've selected the default

[CMake] Fltk project, visual studio 2005 (8) -- using FL/Fl.H

2007-09-13 Thread Atwood, Robert C
Hi, I have a small project using FLTK, I have built successfully on Linux / GCC using Cmake. This project does not have any ITK or VTK in it (yet) . I am just tryign to also build it on Windows with Visual Studio 2005 (8) and though I believe I specified the correct location for FLTK files, it

[CMake] Can't I debug my subroutines withoud debuggign the whole library?

2007-09-06 Thread Atwood, Robert C
On a Cygwin machine, I get the message when I try to configure DEBUG mode Warning: CMake is forcing CMAKE_BUILD_TYPE to Release to match that imported from ITK. This is required because projects must use the same... That does not make much sense to me, as I expect to be able to compile my

[CMake] Using fluid, fltk, cmake and own headers

2007-08-28 Thread Atwood, Robert C
Hi, I have a bit of a problem, which I can work around but would rather not have to... I am using FLUID to make a FLTK interface, at this point just to read some data into a customized structure. The structure definition is in my header file 'eletable.h' in the source directory. The FLUID file is

RE: [CMake] Using fluid, fltk, cmake and own headers

2007-08-28 Thread Atwood, Robert C
This seems to work (not quite as you suggest but similar) 1. INCLUDE_DIRECTORIES(${WIRS_BUILD_DIR}/path/to/.{cxx|h}) as appropriate. You mean ${WIRS_SOURCE_DIR} ... and that seems to work but I am still puzzled why it is not included by default, it seems logical that your own source dir

RE: [CMake] Using fluid, fltk, cmake and own headers

2007-08-28 Thread Atwood, Robert C
You can add the following to your toplevel CMakeLists.txt: SET(CMAKE_INCLUDE_CURRENT_DIR TRUE) Yes, that's just what I want ! Thannks make.org/Wiki/CMake_Useful_Variables#Various_Options That site's a bit scary, I'll stick with cmake.org for now! ;-/

RE: [CMake] Cannot seem to use cygwin latest 2.4.7-1?

2007-07-27 Thread Atwood, Robert C
commands upon installing the 2.4.7-1 cygwin package. One has winXP-64 and the other has winXP-32 thanks .. From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Fri 27/07/2007 4:29 PM To: Atwood, Robert C Cc: cmake@cmake.org Subject: Re: [CMake] Cannot seem

[CMake] Cannot seem to use cygwin latest 2.4.7-1?

2007-07-27 Thread Atwood, Robert C
Hi, I installed Cygwin on a new machine intending to use ITK and friends, but I reached a roadblock in that ccmake appears not to exist, despite repeatedly installing and uninstalling, reinstalling etc. the 2.4.7-1 installation. IN fact, selecteing 'source' option does not even give me any