dfhack/CMake/Modules
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
..
CMakeVS10FindMake.cmake Possible fix for MSVC 2010 2010-08-13 02:58:45 +02:00
FindCurses.cmake Fix creature owned items vector offset on Windows, added support for owned items to more versions. 2011-05-28 10:18:50 +02:00
FindDocutils.cmake Purge html files, add docutils cmake module 2012-09-29 03:06:39 +02:00
FindDoxygen.cmake Doxygen integration, better defaults for the generated build system. 2011-03-18 06:07:13 +01:00
FindSphinx.cmake Initial CMake version of Sphinx stuff. 2015-09-24 02:09:23 -04:00
FindTinyXML.cmake Support linking against an external tinyxml if EXTERNAL_TINYXML is set 2016-06-29 17:53:16 -04:00