diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/tinyxml/CMakeLists.txt')
-rw-r--r-- | var/spack/repos/builtin/packages/tinyxml/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tinyxml/CMakeLists.txt b/var/spack/repos/builtin/packages/tinyxml/CMakeLists.txt new file mode 100644 index 0000000000..93f124d716 --- /dev/null +++ b/var/spack/repos/builtin/packages/tinyxml/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 2.6) + +project(TinyXml) +OPTION(TIXML_USE_STL "Use STL with TIXML" ON) +if(TIXML_USE_STL) + add_definitions(-DTIXML_USE_STL) +endif(TIXML_USE_STL) +add_library( + tinyxml + tinyxml.cpp + tinystr.cpp + tinyxmlerror.cpp + tinyxmlparser.cpp +) + +INSTALL( FILES tinyxml.h tinystr.h DESTINATION include ) +INSTALL( TARGETS tinyxml ARCHIVE DESTINATION lib ) |