diff options
| author | 2022-04-29 10:48:09 +0200 | |
|---|---|---|
| committer | 2022-04-29 10:48:09 +0200 | |
| commit | 07c5f6ec23fcf9237a24e71adcfacabce677f818 (patch) | |
| tree | 588e8c5f82b9163181fad3581f610e6f1d88cba4 /webserver/CMakeLists.txt | |
| parent | a9153f1615a842cfb9e9bcda4d9071e202618569 (diff) | |
| download | OneRoll-07c5f6ec23fcf9237a24e71adcfacabce677f818.tar.gz OneRoll-07c5f6ec23fcf9237a24e71adcfacabce677f818.zip | |
Change file organization.
Diffstat (limited to 'webserver/CMakeLists.txt')
| -rw-r--r-- | webserver/CMakeLists.txt | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/webserver/CMakeLists.txt b/webserver/CMakeLists.txt deleted file mode 100644 index 3fa9b56..0000000 --- a/webserver/CMakeLists.txt +++ /dev/null @@ -1,78 +0,0 @@ -cmake_minimum_required(VERSION 3.16) - -option(UPDATE_TRANSLATIONS "update Translation" OFF) -MESSAGE(STATUS "UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}") - - -project(diceserver) - - -# Find includes in corresponding build directories -set(CMAKE_INCLUDE_CURRENT_DIR ON) -# Instruct CMake to run moc automatically when needed. -set(CMAKE_AUTOMOC ON) - -# Find the QtWidgets library -find_package(Qt6 COMPONENTS Core Network) -#find_package(Qt6QuickCompiler) - -set(EXECUTABLE_OUTPUT_PATH bin/) - -include_directories(${Qt5Core_INCLUDES} ${Qt5Network_INCLUDES} webserver/qhttp/src ../) -add_definitions(${Qt5Core_DEFINITIONS} ${Qt5Network_DEFINITIONS} ) - -ADD_DEFINITIONS( - -std=c++11 -) - -#set(diceserver_RESOURCES diceparser.qrc) -FIND_PACKAGE(Qt6LinguistTools) - - - -SET( diceserver_sources - ../diceparser.cpp - ../range.cpp - ../booleancondition.cpp - ../validator.cpp - ../compositevalidator.cpp - ../operationcondition.cpp - ../die.cpp - ../parsingtoolbox.cpp - ../dicealias.cpp - ../result/result.cpp - ../result/scalarresult.cpp - ../result/stringresult.cpp - ../result/diceresult.cpp - ../node/countexecutenode.cpp - ../node/dicerollernode.cpp - ../node/executionnode.cpp - ../node/explodedicenode.cpp - ../node/helpnode.cpp - ../node/mergenode.cpp - ../node/jumpbackwardnode.cpp - ../node/keepdiceexecnode.cpp - ../node/listaliasnode.cpp - ../node/listsetrollnode.cpp - ../node/numbernode.cpp - ../node/parenthesesnode.cpp - ../node/paintnode.cpp - ../node/rerolldicenode.cpp - ../node/scalaroperatornode.cpp - ../node/sortresult.cpp - ../node/startingnode.cpp - ../node/ifnode.cpp - ../node/filternode.cpp - ../node/stringnode.cpp - main.cpp - diceserver.cpp - ../highlightdice.cpp -) -#qt5_add_resources(RESOURCE_ADDED mobile.qrc) - -add_executable( diceserver ${diceserver_sources} ) - -target_link_libraries(diceserver ${Qt5Core_LIBRARIES} ${Qt5Network_LIBRARIES} /home/renaud/application/mine/DiceParser/webserver/qhttp/xbin/libqhttp.so) -INSTALL_TARGETS(/bin diceserver) - -#qt5_use_modules() |