diff --git a/CMakeLists.txt b/CMakeLists.txt index 1376cfa..61487c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,10 @@ +IF(BIICODE) + ADD_BIICODE_TARGETS() + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/resources) + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + ENDIF() + RETURN() +ENDIF(BIICODE) cmake_minimum_required(VERSION 2.6 FATAL_ERROR) cmake_policy(VERSION 2.6) diff --git a/biicode.conf b/biicode.conf new file mode 100644 index 0000000..5dca6b1 --- /dev/null +++ b/biicode.conf @@ -0,0 +1,7 @@ +# Biicode configuration file + +[paths] + / + +[dependencies] + xmltest.cpp + resources/*.xml \ No newline at end of file diff --git a/contrib/html5-printer.cpp b/contrib/html5-printer.cpp index 3205ccd..7728b69 100644 --- a/contrib/html5-printer.cpp +++ b/contrib/html5-printer.cpp @@ -65,7 +65,7 @@ public: protected: virtual void CloseElement () { if (_elementJustOpened && !isVoidElement (_stack.PeekTop())) { - SealElement(); + SealElementIfJustOpened(); } XMLPrinter::CloseElement(); }