[Kde-games-devel] libkdegames v5

Stefan Majewsky stefan.majewsky at googlemail.com
Tue Jan 31 09:08:38 UTC 2012


On Mon, Jan 30, 2012 at 8:47 PM, Albert Astals Cid <aacid at kde.org> wrote:
> This (not install headers) is going to be difficult if we go to the split repo
> mode.

I have two immediate ideas. First is to use #error in the header.

// kgamecanvas.h
#ifndef I_KNOW_THAT_THIS_KDEGAMES_API_WILL_BREAK_AND_EAT_KITTENS
#error "This API is not public, and unstable. It may break at any
point, or be removed at any point. Use QGraphicsView instead."
#endif

Second, install header files to a hidden directory, e.g.
${INCLUDE_INSTALL_DIR}/.kdegames_private_headers.

Greetings
Stefan


More information about the kde-games-devel mailing list