autotools support

Robert Gruber R.Gruber at gmx.net
Mon May 18 18:25:12 UTC 2009


Hi Andreas!

I've added the suggested changes to automake-plugin's cmake file. But 
I didn't need to change anything at target_link_libraries. What exactly 
did you think needs to be changed there?

I also needed to find KDevelop's include dir. I found and fixed a bug 
in FindKDevelop.cmake because the KDEVELOP_INCLUDE_DIR was not set
correctly there.


@Lorenzo: 
You might want to try to compile the automake plugin standalone (outside 
of KDevelop's source tree).

Greets, Robert


-------- Original-Nachricht --------
> On 17.05.09 11:40:24, Robert Gruber wrote:
> > Hmm, I just did a complete rebuild. Removed both kdevelop und
> kdevplatform's build directory and re-run cmake. All compiled fine.
> > 
> > May you can try to remove your build directories and rebuild all?!
> 
> May I suggest to simply add a 
> 
> find_package(KDE4 REQUIRED)
> find_package(KDevPlatform REQUIRED)
> 
> include_directories(${KDE4_INCLUDE_DIRS} ${KDEVPLATFORM_INCLUDE_DIR})
> 
> and adjust the target_link_libraries call accordingly in the automake
> plugin so it can be built standalone instead of having to copy it into the
> kdevelop source tree?

-- 
______________________________
Robert Gruber -=- r.gruber at gmx.net

Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a




More information about the KDevelop-devel mailing list