Plugin Building

View: New views
2 Messages — Rating Filter:   Alert me  

Plugin Building

by Alexander Egger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

when running cmake on the kde-pim or google-calendar plugins from svn cmake
throws an error, telling me that the build dir has to be different from the
src dir.

Is there still a reason for that or is that just a legacy?

It would be nice to get rid of that because without that I can create
eclipse CDT projects easier with cmake.

Alexander

--
Dr. Alexander Egger, Studiengang IT & IT-Marketing
CAMPUS 02 Fachhochschule der Wirtschaft GmbH
Körblergasse 126, 8021 Graz, Austria/EUROPE
T:+43 316 6002 395 M:+43 699 14102026

----------------------
GTDInbox.com: [P/Privat/opensync]

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: Plugin Building

by Bjoern Ricks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexander,

we introduced a cmake makro that forbids to build within the source
dirs. Please create a separate directory like "build" and use it
instead. With a separate build dir it is easier to remove all files that
a generated by cmake (like the Makefiles or the CMakeFiles sub dirs). It
is possible to use only rm -r * in your build dir to clean up all cmake
files. Without a separate build dir you have to remove all cmake files
within the source directories.

> Hi,
>
> when running cmake on the kde-pim or google-calendar plugins from svn cmake
> throws an error, telling me that the build dir has to be different from the
> src dir.
>
> Is there still a reason for that or is that just a legacy?
>
> It would be nice to get rid of that because without that I can create
> eclipse CDT projects easier with cmake.
>
> Alexander
>
>  
--
/Bjoern Ricks

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel
LightInTheBox - Buy quality products at wholesale price