Author Topic: make C::B use system tinyxml library when available  (Read 4426 times)

Offline SharkCZ

  • Almost regular
  • **
  • Posts: 134
make C::B use system tinyxml library when available
« on: May 18, 2009, 10:20:49 am »
I have posted 2 patches on berlios.de that makes C::B use system tinyxml library when available.

http://developer.berlios.de/patch/?func=detailpatch&patch_id=2761&group_id=5358
- this patch creates new makefile variable (CB_SDK_INCLUDES) in configure that contains a common set of include directories and it is then used in the makefiles

http://developer.berlios.de/patch/?func=detailpatch&patch_id=2762&group_id=5358
- this is in fact a set of patches that
1. add a check for the tinyxml library into configure
2. moves tinywxuni.cpp into src/sdk and tinywxuni.h from include/tinyxml to include
3. update the paths in codeblock*.cbp to reflect the new location
4. convert sdk, plugins and utils to the new style
- use #include <tinyxml.h> instead of #include <tinyxml/tinyxml.h>, because the default include directories are set properly
- drop inclusion of <tinystr.h>, because tinyxml.h takes care of that
5. build the local copy of tinyxml only when system copy doesn't exist
Code::Blocks package maintainer for Fedora and EPEL