dfhack/depends
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
..
clsocket@b08d765a7d Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
jsoncpp Improve Json::get() slightly 2015-11-27 16:45:26 -05:00
lua Rename the LUA_PATH/LUA_CPATH environment variables to avoid conflicts. 2014-03-31 14:15:57 +04:00
md5 Add <algorithm> includes and use min/max to get them into global scope 2014-11-09 11:20:09 +01:00
protobuf Also exclude libprotoc when cross-compiling (unused) 2016-01-18 09:22:08 -05:00
tinyxml Support linking against an external tinyxml if EXTERNAL_TINYXML is set 2016-06-29 17:53:16 -04:00
tthread add NOMINMAX to Windows.h includes 2016-05-21 19:54:20 -05:00
zlib Move depends out of main library, make them (static) libraries. 2012-03-13 14:46:48 +01:00
CMakeLists.txt Support linking against an external tinyxml if EXTERNAL_TINYXML is set 2016-06-29 17:53:16 -04:00