]> git.mxchange.org Git - simgear.git/blob - simgear/xml/CMakeLists.txt
Option to use system, instead of built-in, expat
[simgear.git] / simgear / xml / CMakeLists.txt
1
2 include (SimGearComponent)
3
4
5 set(HEADERS 
6     easyxml.hxx
7     )
8     
9 set(SOURCES 
10     easyxml.cxx
11     )
12
13 if (NOT SYSTEM_EXPAT)
14     list(APPEND SOURCES
15         asciitab.h
16         hashtable.h
17         iasciitab.h
18         latin1tab.h
19         nametab.h
20         utf8tab.h
21         xmldef.h
22         xmlparse.h
23         xmlrole.h
24         xmltok.h
25         xmltok_impl.h
26         hashtable.c
27         xmlparse.c
28         xmlrole.c
29         xmltok.c
30         internal.h
31         ascii.h
32         expat.h
33         expat_external.h 
34     )
35 endif()
36     
37 simgear_component(xml xml "${SOURCES}" "${HEADERS}")