Hi Alex and Andreas,
Thank you for you help. I have checked the cvs version.
It seems to work. I tested on a hello project and on a more complex one.
There are few things that I have observed
1. this looks strange to me
<useglobaltypes>
<type ext="ui" />
<type ext="cpp" />
<type ext="h" />
</useglobaltypes>
2. <group pattern="*.ui" name="Qt Designer files" /> ???
3. It is necessary to call the project Fortran77? Can you call it just
Fortran?
4. <hidepatterns>*.o,*.lo,CVS,*~,cmake*</hidepatterns> Can you add svn?
5. to the fortran list of extension .fpp, .FOR, .FTN, .FPP, .ftn should
be added
6. I would not worry to much about ftnchek (the project seems to be
slightly out of date 2004 last version). Today fortran compilers provide
you a way to tell about programming warning.
Alin
Alexander Neundorf wrote:
On Friday 31 August 2007 09:22, Alin M Elena wrote:
Hi Andreas,
What do you mean with disaster? All I can see is that the primary
language element is wrong, which can be easily corrected, just replace
"C++" with Fortran77 (not sure wether different values work as well).
Does the project build? I've seen some cmake macro for setting the
language and would assume that CMake uses C/C++ as default unless you
set something different.
As you can see in the CMakeList.txt file that I attached to my previous
email I set as language of the project Fortran (and only fortran). The
generator when creates hello.kdevelop just ignores all the info about the
compiler that you provide and sets it to some default values which happen
to be C/C++. (Try setting a hello world cpp project and you will see that
it works properly there).
Of course the project compiles. all that kdevelop does is to invoke a
make command and use the files generated in cmake . process or refresh
them.
Please try cmake cvs, Fortran is now supported by the KDevelop generator. Let
me know if there are things missing.
Alex
--
____________________________________________________________________
"...if the universities will not study useless subjects, who will?"
G. F. Fitzgerald, Nature, 45/46, 392 (1892)
______________________________________________________________________
Mr. Alin M. ELENA
Atomistic Simulation Centre
School of Mathematics and Physics
Queen's University Belfast
Office: +44 (0)28 9097 1428
Fax: +44 (0)28 9097 5359
http://titus.phy.qub.ac.uk/group/Alin/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
______________________________________________________________________
begin:vcard
fn:Alin M Elena
n:Elena;Alin M
org:School of Mathematics and Physics, Queen's University Belfast;Atomistic Simulation Centre
adr:;;University Road;Belfast;Antrim;BT71NN;United Kingdom
email;internet:[EMAIL PROTECTED]
title:Mr
tel;work:00442890971428
tel;cell:00447817714182
x-mozilla-html:TRUE
url:http://titus.phy.qub.ac.uk/group/Alin/
version:2.1
end:vcard
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake