summaryrefslogtreecommitdiffstats
path: root/poxml/antlr
diff options
context:
space:
mode:
authorSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 20:55:22 +0200
committerSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 20:55:22 +0200
commitadee843c4d5c8fbce75abd3a768d643392e4ea90 (patch)
tree6b4ab90028fc79ca1cfaeda61c0f66aaef7ed9fe /poxml/antlr
parentbfb0bc00e959ed3cac6cf4e517a24de50446be50 (diff)
downloadtdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.tar.gz
tdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.zip
[tdesdk/cmake] added forgotten files
Diffstat (limited to 'poxml/antlr')
-rw-r--r--poxml/antlr/CMakeLists.txt12
-rw-r--r--poxml/antlr/src/CMakeLists.txt33
2 files changed, 45 insertions, 0 deletions
diff --git a/poxml/antlr/CMakeLists.txt b/poxml/antlr/CMakeLists.txt
new file mode 100644
index 00000000..636d2f7e
--- /dev/null
+++ b/poxml/antlr/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2012 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/poxml/antlr/src/CMakeLists.txt b/poxml/antlr/src/CMakeLists.txt
new file mode 100644
index 00000000..cc54d009
--- /dev/null
+++ b/poxml/antlr/src/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2012 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+string( REPLACE ${TQT_CXX_FLAGS} "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/..
+)
+
+
+##### antlr (static) ############################
+
+tde_add_library( antlr STATIC_PIC
+ SOURCES
+ ANTLRException.cpp ASTFactory.cpp ASTRefCount.cpp BaseAST.cpp
+ BitSet.cpp CharBuffer.cpp CharScanner.cpp CommonAST.cpp
+ CommonASTWithHiddenTokens.cpp CommonHiddenStreamToken.cpp
+ CommonToken.cpp InputBuffer.cpp LLkParser.cpp
+ LexerSharedInputState.cpp MismatchedCharException.cpp
+ MismatchedTokenException.cpp NoViableAltException.cpp
+ NoViableAltForCharException.cpp Parser.cpp ParserSharedInputState.cpp
+ RecognitionException.cpp String.cpp Token.cpp TokenBuffer.cpp
+ TokenStreamBasicFilter.cpp TokenStreamHiddenTokenFilter.cpp
+ TokenStreamSelector.cpp TreeParser.cpp TreeParserSharedInputState.cpp
+)