diff options
Diffstat (limited to 'src/uscxml/plugins/datamodel/CMakeLists.txt')
-rw-r--r-- | src/uscxml/plugins/datamodel/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/uscxml/plugins/datamodel/CMakeLists.txt b/src/uscxml/plugins/datamodel/CMakeLists.txt index c597acc..561d06c 100644 --- a/src/uscxml/plugins/datamodel/CMakeLists.txt +++ b/src/uscxml/plugins/datamodel/CMakeLists.txt @@ -47,6 +47,16 @@ if (LUA_FOUND) list (APPEND USCXML_OPT_LIBS ${LUA_LIBRARY}) endif() +if (ON) + set(USCXML_DATAMODELS "c89 ${USCXML_DATAMODELS}") + # Lua ecmascript datamodel + file(GLOB C89_DATAMODEL + c89/*.cpp + c89/*.h + ) + list (APPEND USCXML_FILES ${C89_DATAMODEL}) +endif() + if (NOT SWIG_FOUND) message(STATUS "No swig binary found, not generating DOM classes") elseif(SWIG_VERSION VERSION_LESS 3.0.8) |