Files
SingularityViewer/indra/llxml/CMakeLists.txt
Lirusaito f4a22ef857 Patch AIXML to work now for import
Not bothering with export at the moment

AIXML"Stream" wasn't even using its stream in its constructor...
Someone clearly hadn't been using ACTUAL C++ for longer than C++'s existence like was claimed
...but then, that's literally impossible, so what could we expect...
And dear lord please stop throwing in constructors...
There are so many better ways to do this...
This use of throwing is why people dislike goto
It's hard to follow flow control that would be better done another way...
One day I'll fix it so it is, until then meh.

Rips out AIFile, since nothing is actually using it anymore and GPL code needs purged.
2019-02-25 12:46:41 -05:00

45 lines
732 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})
target_link_libraries(
llxml
${EXPAT_LIBRARIES}
)