add biicode support

This commit is contained in:
David 2015-03-16 10:41:00 +01:00
parent b53aaa885d
commit 4633c3aa27
3 changed files with 15 additions and 1 deletions

View File

@ -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)

7
biicode.conf Normal file
View File

@ -0,0 +1,7 @@
# Biicode configuration file
[paths]
/
[dependencies]
xmltest.cpp + resources/*.xml

View File

@ -65,7 +65,7 @@ public:
protected:
virtual void CloseElement () {
if (_elementJustOpened && !isVoidElement (_stack.PeekTop())) {
SealElement();
SealElementIfJustOpened();
}
XMLPrinter::CloseElement();
}