Summary: [metaticket] Headers depend on config.h
Submitted by: cazfi
Submitted on: Wed 26 Jan 2011 09:58:20 PM EET
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
Planned Release: 2.4.0
One goal for ai module support development is that it would be possible to
develop alternative AIs outside freeciv source tree, in independent project
that would only use Freeciv, not be part of it.
One thing preventing this is that some of our headers depend on macros
defined on freeciv config.h. For a number of reasons, it's not advisable to
include freeciv config.h from sources of some other project. And implementing
such an include from freeciv *build* directory would be ugly.
Workarounds such as copying config.h from freeciv and modifying it exist, so
I don't consider this "Blocker" for ai modules support of 2.4. If time runs
short, this refactoring can be retargeted to 2.5.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list