summaryrefslogtreecommitdiffstats
path: root/lib/antlr/src/CMakeLists.txt
blob: 2215c5f67ac30273cf736b0905ee0f3bee1ae622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS)

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/lib/antlr
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)


##### antlr (static) ############################

tde_add_library( antlr STATIC_PIC
  SOURCES
    ANTLRUtil.cpp ASTFactory.cpp ASTNULLType.cpp
    ASTRefCount.cpp BaseAST.cpp BitSet.cpp
    CharBuffer.cpp CharScanner.cpp CommonAST.cpp
    CommonASTWithHiddenTokens.cpp CommonHiddenStreamToken.cpp
    CommonToken.cpp InputBuffer.cpp LLkParser.cpp
    MismatchedCharException.cpp MismatchedTokenException.cpp
    NoViableAltException.cpp NoViableAltForCharException.cpp
    Parser.cpp RecognitionException.cpp String.cpp
    Token.cpp TokenBuffer.cpp TokenRefCount.cpp
    TokenStreamBasicFilter.cpp TokenStreamHiddenTokenFilter.cpp
    TokenStreamRewriteEngine.cpp TokenStreamSelector.cpp
    TreeParser.cpp
)