QT += gui

TEMPLATE = lib
DEFINES += LIBPARSE_LIBRARY

CONFIG += c++11
CONFIG += exceptions

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

msvc{
    QMAKE_CXXFLAGS += /utf-8
    QMAKE_CFLAGS += /utf-8
}

SOURCES += \
    LexFoundation.cpp \
    ParseFrame.cpp \
    StoryBoardDocumentParser.cpp \
    StoryChainDocumentParser.cpp \
    StoryOutlineDocumentParser.cpp \
    StoryTool.cpp \
    StoryUnitDocumentParser.cpp \
    WordsPeak.cpp \
    XSyntaxBase.cpp \
    libParse.cpp \
    parsechecks.cpp \
    storyconceptdocumentparser.cpp

HEADERS += \
    ComnDef.h \
    LexFoundation.h \
    ParseFrame.h \
    StoryBoardDocumentParser.h \
    StoryChainDocumentParser.h \
    StoryOutlineDocumentParser.h \
    StoryTool.h \
    StoryUnitDocumentParser.h \
    SyntaxBase.h \
    WordsPeak.h \
    XSyntaxBase.h \
    libParse.h \
    libParse_global.h \
    parsechecks.h \
    storyconceptdocumentparser.h

TRANSLATIONS += \
    libParse_zh_CN.ts


# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
