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 += \ # ParseFrame.cpp \ # StoryBoardDocumentParser.cpp \ # StoryChainDocumentParser.cpp \ # StoryOutlineDocumentParser.cpp \ # StoryTool.cpp \ # StoryUnitDocumentParser.cpp \ # XSyntaxBase.cpp \ ast_foundation.cpp \ lex_foundation.cpp \ # libParse.cpp \ # parsechecks.cpp \ node_impls.cpp \ parser_foundation.cpp \ # storyconceptdocumentparser.cpp \ syntax_foundation.cpp \ token_impls.cpp HEADERS += \ ComnDef.h \ # ParseFrame.h \ # StoryBoardDocumentParser.h \ # StoryChainDocumentParser.h \ # StoryOutlineDocumentParser.h \ # StoryTool.h \ # StoryUnitDocumentParser.h \ # SyntaxBase.h \ # XSyntaxBase.h \ ast_foundation.h \ lex_foundation.h \ # libParse.h \ libParse_global.h \ # parsechecks.h \ node_impls.h \ parser_foundation.h \ # storyconceptdocumentparser.h \ syntax_foundation.h \ token_impls.h TRANSLATIONS += \ libParse_zh_CN.ts # Default rules for deployment. unix { target.path = /usr/lib } !isEmpty(target.path): INSTALLS += target