summarylogtreecommitdiffstats
path: root/CMakeLists.txt
blob: e75b540c02de75352b1a0a11b917eb406f50aa03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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} )