how to convert the project format of KDevelop to Gideon (was: Re: team interview)

F@lk Brettschneider falk.brettschneider at gmx.de
Thu May 30 14:17:04 UTC 2002


Bernd Gehrmann wrote:

>>BTW: Is Gideon able to open (and maybe to convert to the current Gideon
>>format) all the .kdevprj projects we've used until KDevelop-2.1.1? I
>>really don't want to regenerate because it always needs manual adapting
>>which would be annoying for the 50 local .kdevprj projects I have. They
>>mostly are separate plugin projects and for instance the binary location
>>is very special here. bin_program= in the .kdevprj files...
>>
>
>For mass conversion, it is probably the easiest to prepare one template
>with customized file tree and file groups settings, copy it everywhere and
>then transfer the differing settings with a script, like
>
>  prog=`grep ^bin_program foo.kdevprj | sed -e s/bin_program=//`
>  perl -pi -e "s#\<mainprogram/\>#<mainprogram>$prog</mainprogram>#" foo.kdevelop
>
>(modulo some backslashes...)
>
>I think I will also write a script (or C++ program, so KSimpleConfig can be
>used) for an automatic conversion which is able to convert the file lists for 
>custom projects.
>
Yes, fine, some automatic conversion is an important issue.
An appropriate feature in Gideon would be fine.
Also the possibility to "Save file as..." .kdevprj in Gideon.

Cheers
F at lk







More information about the KDevelop-devel mailing list