The AIXML* classes provide an Object Oriented way to serialize objects to and from an XML file. Documentation is added at the top of aixml.cpp These classes will be used by AIMultiGrid.
45 lines
763 B
CMake
45 lines
763 B
CMake
# -*- cmake -*-
|
|
|
|
project(llxml)
|
|
|
|
include(00-Common)
|
|
include(LLCommon)
|
|
include(LLMath)
|
|
include(LLXML)
|
|
|
|
include_directories(
|
|
${LLCOMMON_INCLUDE_DIRS}
|
|
${LLMATH_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(llxml_SOURCE_FILES
|
|
aixml.cpp
|
|
llcontrol.cpp
|
|
llxmlnode.cpp
|
|
llxmlparser.cpp
|
|
llxmltree.cpp
|
|
)
|
|
|
|
set(llxml_HEADER_FILES
|
|
CMakeLists.txt
|
|
|
|
aixml.h
|
|
llcontrol.h
|
|
llcontrolgroupreader.h
|
|
llxmlnode.h
|
|
llxmlparser.h
|
|
llxmltree.h
|
|
)
|
|
|
|
set_source_files_properties(${llxml_HEADER_FILES}
|
|
PROPERTIES HEADER_FILE_ONLY TRUE)
|
|
|
|
list(APPEND llxml_SOURCE_FILES ${llxml_HEADER_FILES})
|
|
|
|
add_library (llxml ${llxml_SOURCE_FILES})
|
|
add_dependencies(llxml prepare)
|
|
target_link_libraries(
|
|
llxml
|
|
${EXPAT_LIBRARIES}
|
|
)
|