<br><br><div class="gmail_quote">2010/7/18 Julian Bäume <span dir="ltr"><<a href="mailto:julian@svg4all.de">julian@svg4all.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi,<br>
I just pushed some cmake code into a cmake_magic branch. Can you test it and<br>
tell me, if it still compiles for you and you are able to load our plugins? It<br>
works okay for me.<br></blockquote><div><br></div><div>Tested with GUI tools (see tutorial on wiki:</div><div><br></div><div><a href="http://sourceforge.net/apps/mediawiki/ktechlab/index.php?title=Coding_with_KDevelop">http://sourceforge.net/apps/mediawiki/ktechlab/index.php?title=Coding_with_KDevelop</a></div>
<div><br></div><div>) and it works well. It generated the .desktop files from .<a href="http://desktop.in">desktop.in</a> files, and i was able to run unit tests and also open circuit documents.</div><div> </div><div><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I did a little trick to find out the plugin version. If this works, I will<br>
propose this solution to the KDevelop people and ask them to export a cmake<br>
variable in their FindKDevPlatform.cmake script.<br>
<br>
Since this plugin versions purpose is to force a recompilation of the module<br>
before it can be loaded, this solution should work fine. If the API has been<br>
changed, it won't compile and has to be fixed to apply the new API. If nothing<br>
important has changed for the plugin, it should compile fine and the desktop<br>
file will be updated regarding the installed kdevplatform version.<br>
<br>
I will ask on the kdevelop ML later, if this could make any problems (along<br>
with the proposal to integrate these changes) and if this works okay for both<br>
of us, we should use it. This should make life with different versions more<br>
easy for us developers. We only have to make sure, our code compiles with all<br>
stable releases of kdevplatform that we support. This is some testing-work<br>
todo, but we would have done that, anyway.<br>
<br>
There is one open issue, I want to fix, before merging this into kde4-port<br>
branch. For now, we need 2 lines of cmake code to generate and install the<br>
desktop file for a plugin. I want to write a macro that takes the desktop<br>
filename as a parameter and creates these 2 lines. I thought about something<br>
like "ktl_install_desktop( ktlproject.desktop)" which will then expand to<br>
configure_file(....) install(....) commands.<br></blockquote><div><br></div><div>Looks good ;)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
bye then<br>
<font color="#888888">julian<br></font></blockquote><div><br></div><div>Zoltan</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888">
</font><br>------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>_______________________________________________<br>
Ktechlab-devel mailing list<br>
<a href="mailto:Ktechlab-devel@lists.sourceforge.net">Ktechlab-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ktechlab-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/ktechlab-devel</a><br>
<br></blockquote></div><br>