dfhack/library
Ben Rosser ae55d2d526 Support linking against an external tinyxml if EXTERNAL_TINYXML is set
As best as I can tell, the copy of tinyxml dfhack uses is unmodified
from whenever it was first bundled. This commit adds an option to CMake,
EXTERNAL_TINYXML, that if set to ON, will attempt to link against a system
tinyxml instead of using the dfhack-bundled one.  It defaults to OFF,
so there is no change in default behavior.

The DFHACK_TINYXML variable is then set to either "tinyxml" or "dfhack-tinyxml"
so the library (and any plugins that need updating) can link against one
or the other.

The FindTinyXML.cmake script was taken from https://github.com/ros/cmake_modules
(licensed under the 3-clause BSD license).

Add license text to new CMake file.
2016-06-29 17:53:16 -04:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
doc Many tweaks to plugins, reorganized the build system and removed more cruft. 2011-08-14 08:42:21 +02:00
include Increased the message size limit in RemoteClient from 8mb to 64mb. 2016-06-20 13:17:30 +05:30
lua Fixes to gui/advfort.lua 2016-05-20 13:55:59 +03:00
modules Modify DFHack to handle new produce() prototype. Major thanks to lethosor, and ragundo for their help in this 2016-06-13 16:57:45 -04:00
proto Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
scripts@b67885c0c0 Move scripts to library/scripts 2016-06-15 18:45:08 -04:00
xml@b9178de68b update xml 2016-06-16 23:37:01 -04:00
CMakeLists.txt Support linking against an external tinyxml if EXTERNAL_TINYXML is set 2016-06-29 17:53:16 -04:00
ColorText.cpp Add missing <algorithm> include for std::min & std::max 2014-11-09 11:19:40 +01:00
Console-posix.cpp Use TCSADRAIN when disabling raw mode as well 2015-10-14 15:58:27 -04:00
Console-windows.cpp hide/show: Provide feedback on unsupported platforms 2015-02-08 09:30:40 -05:00
Core.cpp Wrap script descriptions in `ls` output and remove description length cap 2016-06-14 21:24:27 -04:00
DFHackVersion.cpp Remove a couple unneeded includes 2016-03-04 20:23:00 -05:00
DataDefs.cpp Support std::fstream in data structures and add file_compressorst to xml. 2014-09-24 22:47:04 +04:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
Hooks-darwin.cpp Only block keyboard events in OS X SDL_PollEvent hook without focus 2016-03-13 10:33:25 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp Fix a few GCC warnings on Linux (GCC 4.6) 2015-11-05 21:48:13 -05:00
Hooks-windows.cpp Make SDL_UpperBlit hook check core status first 2015-12-05 20:07:54 -05:00
LuaApi.cpp Expose new unit functions to lua and add some basic safety checks 2016-04-23 21:52:50 -04:00
LuaTools.cpp Improve handling of fatal errors and errors in dfhack.lua 2015-10-17 21:18:04 -04:00
LuaTypes.cpp Implement strnlen on OS X <= 10.6 2015-08-24 17:51:42 -04:00
LuaWrapper.cpp Add Lua primitives: ptr-string, pointer, ptr-vector, bit-vector, bit-array 2016-04-03 20:48:57 -04:00
MiscUtils.cpp fix word_wrap not returning a value. 2016-06-16 20:52:16 +05:30
PlugLoad-posix.cpp Remove AS prefixes from add-spatter.cpp 2015-02-19 12:05:32 -05:00
PlugLoad-windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
PluginManager.cpp Revert #719 2016-01-01 11:20:54 -05:00
Process-darwin.cpp Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
Process-linux.cpp allow dfhack to run inside valgrind 2016-01-31 13:34:07 -06:00
Process-windows.cpp Expose process MD5/PE to Lua (useful in export-dt-ini) 2015-12-27 14:59:18 -05:00
RemoteClient.cpp Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
RemoteServer.cpp Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
RemoteTools.cpp Move get_dfhack_version() to a separate namespace and add a few other version-related functions 2015-04-02 16:37:58 -04:00
TileTypes.cpp Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Types.cpp Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.cpp Improve logging of vtable interpose errors 2016-05-11 17:52:10 -04:00
VersionInfoFactory.cpp Log more information about version information on startup 2015-09-22 20:01:05 -04:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
git-describe.cmake git-describe: Add git xml information 2016-02-01 10:30:53 -05:00