aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-03-23 18:03:35 +0100
committerGitHub <noreply@github.com>2019-03-23 18:03:35 +0100
commitd1b2ac03a90fe00ee3b09e60584f895b40e2e9df (patch)
treedf5a5653f0978e700fe7ba6450230789b5e9be34 /cli
parent607b8284672c75f134616a826e3475be4cf8e277 (diff)
parente672047be7bb9e4e1b163a04a55b98b52d39e16a (diff)
downloadOneRoll-d1b2ac03a90fe00ee3b09e60584f895b40e2e9df.tar.gz
OneRoll-d1b2ac03a90fe00ee3b09e60584f895b40e2e9df.zip
Merge pull request #39 from Rolisteam/occurence
Occurence
Diffstat (limited to 'cli')
-rw-r--r--cli/CMakeLists.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt
index 3c14576..f3dd61d 100644
--- a/cli/CMakeLists.txt
+++ b/cli/CMakeLists.txt
@@ -52,12 +52,12 @@ ENDIF(UPDATE_TRANSLATIONS)
if(Qt5Core_FOUND)
- IF(UPDATE_TRANSLATIONS)
+ #IF(UPDATE_TRANSLATIONS)
MESSAGE(status "find" ${dice_TS} ${translate_SRCS} )
- QT5_CREATE_TRANSLATION(dice_QM ${translate_SRCS} ${dice_TS})
- ELSE()
- QT5_ADD_TRANSLATION(dice_QM ${dice_TS})
- ENDIF()
+ #QT5_CREATE_TRANSLATION(dice_QM ${translate_SRCS} ${dice_TS})
+ #ELSE()
+ #QT5_ADD_TRANSLATION(dice_QM ${dice_TS})
+ #ENDIF()
QT5_ADD_RESOURCES(dice_RESOURCES_RCC ${dice_RESOURCES})
@@ -93,6 +93,7 @@ SET( dice_sources
../node/listsetrollnode.cpp
../node/numbernode.cpp
../node/parenthesesnode.cpp
+ ../node/forloopnode.cpp
../node/paintnode.cpp
../node/rerolldicenode.cpp
../node/scalaroperatornode.cpp
@@ -104,13 +105,16 @@ SET( dice_sources
../node/splitnode.cpp
../node/groupnode.cpp
../node/bind.cpp
+ ../node/occurencecountnode.cpp
main.cpp
displaytoolbox.cpp
../highlightdice.cpp
../node/variablenode.cpp
)
-add_executable( dice ${dice_sources} ${dice_QM} )
+set(documentation_files ../HelpMe.md ../README.md)
+
+add_executable( dice ${dice_sources} ${dice_QM} ${documentation_files})
target_link_libraries(dice ${Qt5Core_LIBRARIES} ${Qt5Gui_LIBRARIES} ${Qt5Svg_LIBRARIES})
INSTALL_TARGETS(/bin dice)