isolate experimental cmake target from regular phonon config

Review Request #122777 - Created March 2, 2015 and submitted

Information
Harald Sitter
phonon
eaaaf87...
Reviewers
kubuntu, phonon
garg, jriddell, sune
This allows two things
a) One can build with experimental but not have it installed when building
   libphonon software which helps Debian.
b) A config consumer can now specify experimental as COMPONENT and force
   the phonon config to look for experimental and butt out when it can't
   find it. Whereas previously the consumer would have to check the
   variables we set to check whether experimental is even available.

Additionally we continue to quietly look for experimental when it was
built. We do now ignore if it wasn't found thus enabling our builds
to have created experimental but have it not necessarily be available at
buildtime of a consumer.

This is presenting a **slight** incompatibility in that consumers that
did previously not check our variables for whether experimental is
available (i.e. simply assumed it is always available) will now fail iff
the experimental config is not present when building the consumer.
Obviously the consumers did not necessarily build in all setups (i.e. those
without experimental) previously anyway, this is really not much of a
concern however.

built, consumed, exploded

Jonathan Riddell
Harald Sitter
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit f9a268d386f0dcaece6232bf5c9e4b87ebc37cef by Harald Sitter to branch master.
Loading...