Skip to content

Commit

Permalink
add biicode support
Browse files Browse the repository at this point in the history
  • Loading branch information
David committed Mar 16, 2015
1 parent b53aaa8 commit 4633c3a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
7 changes: 7 additions & 0 deletions biicode.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Biicode configuration file

[paths]
/

[dependencies]
xmltest.cpp + resources/*.xml
2 changes: 1 addition & 1 deletion contrib/html5-printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class XMLPrinterHTML5 : public XMLPrinter
protected:
virtual void CloseElement () {
if (_elementJustOpened && !isVoidElement (_stack.PeekTop())) {
SealElement();
SealElementIfJustOpened();
}
XMLPrinter::CloseElement();
}
Expand Down

0 comments on commit 4633c3a

Please sign in to comment.