diff options
author | xantares | 2015-06-08 23:49:30 +0200 |
---|---|---|
committer | xantares | 2015-06-08 23:49:30 +0200 |
commit | 7a4b67f6d2f8d708835cfaaa36543f8f520f9b96 (patch) | |
tree | 7aaf06574e465d3ddc51988656fe2bf4c8e6c5bf /CMakeLists.txt | |
download | aur-7a4b67f6d2f8d708835cfaaa36543f8f520f9b96.tar.gz |
Initial import
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000000..e75b540c02de --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,24 @@ +cmake_minimum_required(VERSION 2.6) + +project(TinyXml) + + +include_directories(./) + +file( + GLOB_RECURSE + source_files + *.h + tiny*.cpp +) + +add_library(tinyxml ${source_files} +) + +#SET_TARGET_PROPERTIES (tinyxml PROPERTIES DEFINE_SYMBOL "EXPORT" ) + +INSTALL( FILES tinyxml.h tinystr.h DESTINATION include ) + +INSTALL( TARGETS tinyxml RUNTIME DESTINATION bin + LIBRARY DESTINATION lib${LIB_SUFFIX} + ARCHIVE DESTINATION lib${LIB_SUFFIX} )
\ No newline at end of file |