Have you ever considered moving the headers into a subdirectory?
All include statements would have to be changed to
#include "CEGUI/XYZ.h"
I think it would ease the cross-platform development between Windows and Linux. In Windows you set the include path to a bunch of directories while in Linux you usually just use /usr/include and /usr/local/include. In our case, we would have to add the CEGUI include path to our automake input files, which would not be necessary if the header files would "know" of their subdirectory.
Move the header files in subdirectory
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Move the header files in subdirectory
Thanks for the suugestion
The current linux build system can be used to build and install the system appropriately into a sub-dir of /usr/local/include. You can use the pkg-config system (via the PKG_CHECK_MODULES autoconfig macro) to automatically get the compiler and linker setting you need for your client application, for Ogre you should be checking for the CEGUI-OGRE package since it includes the lib for the renderer.
Hope this helps.
The current linux build system can be used to build and install the system appropriately into a sub-dir of /usr/local/include. You can use the pkg-config system (via the PKG_CHECK_MODULES autoconfig macro) to automatically get the compiler and linker setting you need for your client application, for Ogre you should be checking for the CEGUI-OGRE package since it includes the lib for the renderer.
Hope this helps.
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 6 guests