diff options
author | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-14 20:55:22 +0200 |
---|---|---|
committer | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-14 20:55:22 +0200 |
commit | adee843c4d5c8fbce75abd3a768d643392e4ea90 (patch) | |
tree | 6b4ab90028fc79ca1cfaeda61c0f66aaef7ed9fe /poxml/CMakeLists.txt | |
parent | bfb0bc00e959ed3cac6cf4e517a24de50446be50 (diff) | |
download | tdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.tar.gz tdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.zip |
[tdesdk/cmake] added forgotten files
Diffstat (limited to 'poxml/CMakeLists.txt')
-rw-r--r-- | poxml/CMakeLists.txt | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/poxml/CMakeLists.txt b/poxml/CMakeLists.txt new file mode 100644 index 00000000..ed6c1aeb --- /dev/null +++ b/poxml/CMakeLists.txt @@ -0,0 +1,70 @@ +################################################# +# +# (C) 2012 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( -fexceptions ) + +add_subdirectory( antlr ) + + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/antlr + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### split2po (executable) ##################### + +tde_add_executable( split2po + SOURCES split.cpp parser.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### xml2pot (executable) ###################### + +tde_add_executable( xml2pot + SOURCES xml2pot.cpp parser.cpp + LINK kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### po2xml (executable) ####################### + +tde_add_executable( po2xml + SOURCES GettextLexer.cpp GettextParser.cpp po2xml.cpp parser.cpp + LINK antlr-static kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### swappo (executable) ####################### + +tde_add_executable( swappo + SOURCES GettextLexer.cpp GettextParser.cpp swappo.cpp parser.cpp + LINK antlr-static kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### transxx (executable) ###################### + +tde_add_executable( transxx + SOURCES GettextLexer.cpp GettextParser.cpp transxx.cpp parser.cpp + LINK antlr-static kio-shared + DESTINATION ${BIN_INSTALL_DIR} +) |