summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-09-09 15:49:00 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-09-10 11:46:30 -0300
commitfedb9b3daac568c5c6f23dec0fd97c407f3e8023 (patch)
treea67f780ec984433990d3e2f0c6df51e01fe8aece /generators/qtdoc
parent0c3d5644e0d3eb8b7955c92d0cf147f0ae84869d (diff)
downloadgeneratorrunner-fedb9b3daac568c5c6f23dec0fd97c407f3e8023.tar.gz
generatorrunner-fedb9b3daac568c5c6f23dec0fd97c407f3e8023.tar.xz
generatorrunner-fedb9b3daac568c5c6f23dec0fd97c407f3e8023.zip
Created cmake option 'ENABLE_VERSION_SUFFIX' to use version on generated files to allow multiples version installed simultaneous.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'generators/qtdoc')
-rw-r--r--generators/qtdoc/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/generators/qtdoc/CMakeLists.txt b/generators/qtdoc/CMakeLists.txt
index 8b2f9e0..118cfd7 100644
--- a/generators/qtdoc/CMakeLists.txt
+++ b/generators/qtdoc/CMakeLists.txt
@@ -5,6 +5,8 @@ qtdocgenerator.cpp
)
add_executable(docgenerator main.cpp)
+set_target_properties(docgenerator PROPERTIES OUTPUT_NAME docgenerator${generator_SUFFIX})
+
target_link_libraries(docgenerator ${QT_QTCORE_LIBRARY})
add_library(qtdoc_generator SHARED ${qtdoc_generator_SRC})