kdeexamples buildsystem
Michael Jansen
kde at michael-jansen.biz
Fri Jul 15 20:25:53 CEST 2011
Hi
I pushed a small project to git at git.kde.org:scratch/mjansen/cmake_test . That
should be git://anongit.kde.org/scratch/mjansen/cmake_test for you to clone
(in a while after anongit catches up).
It contains 2 projects. A small helloworld lib and a binary using it. In the
toplevel is a makefile that builds the projects in different configurations
and shows what works and what not works. Have a look inside.
The case that now works is building the lib in 32bit and trying to compile it
in 64bit (At least here in OpenSuSE). The find_library call accepts the 32bit
lib and naturally the linking fails later.
This problem exposed as a find_library problem is inherent in find_package and
config mode too.
Mike
More information about the Kde-buildsystem
mailing list