Warning, /rolisteam/rolisteam/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 project(rolisteam VERSION 1.10.0 LANGUAGES CXX)
0004 
0005 set(CMAKE_CXX_STANDARD 17)
0006 set(CMAKE_CXX_STANDARD_REQUIRED ON)
0007 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
0008 set(CMAKE_CURRENT_BINARY_DIR ON)
0009 set(CMAKE_AUTORCC ON)
0010 add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050F00)
0011 set(CMAKE_CXX_STANDARD 17)
0012 set(CMAKE_CXX_STANDARD_REQUIRED ON)
0013 
0014 include(CTest)
0015 
0016 option(CODE_COVERAGE OFF)
0017 option(DEBUG_MODE "enable more debug report" OFF)
0018 option(WARNING_AS_ERROR "Set all warning as error" OFF)
0019 
0020 
0021 
0022 find_package(Qt6 COMPONENTS Core Widgets Gui LinguistTools QmlImportScanner REQUIRED)
0023 configure_file(version.h.in version.h @ONLY)
0024 
0025 
0026 
0027 
0028 
0029 
0030 add_subdirectory(translations)
0031 add_subdirectory(src)
0032 
0033 
0034 set(documentation README.md HelpMe.md)
0035 
0036 
0037 if(EXISTS ${IFW_PATH})
0038   include(install_helper)
0039   setupCPack(${IFW_PATH})
0040 endif()
0041 
0042 configure_file(scripts/generate_coverage.sh.in generate_coverage.sh @ONLY)