[kde-edu]: CMakeLists.txt for a library

Jason Harris kstars at 30doradus.org
Sat Jul 15 18:29:11 CEST 2006

How do I tell cmake or make that I want to see the full command line of each 
step?  I think I heard this was possible.  I want to see if it's actually 
linking libSatLib.so when getting these undefined reference errors.


On Friday 14 July 2006 20:09, Jason Harris wrote:
> On Friday 14 July 2006 19:31, Jason Harris wrote:
> > The problem is, if I run "make" in the build dir for this library,
> > nothing happens.  Any idea what I've done wrong?
> Ah, nevermind...nothing happens because the lib is already built.  I was
> confused because it gets placed in kdeedu/lib/libSatLib.so
> However, I am getting udefined reference errors when trying to link kstars
> (referring to functions in libSatLib.so).  My kstars/kstars/CMakeLists.txt
> file contains the following:
> target_link_libraries(kstars ${KDE4_KDECORE_LIBS} kdeeduplot kdeeduui
> extdate kdeprint knewstuff SatLib m z )
> I thought that having "SatLib" there meant that it would link libSatLib.so.
> Is there something else missing?
> thanks,
> Jason

KStars: http://edu.kde.org/kstars
Community Forums: http://kstars.30doradus.org

More information about the kde-edu mailing list