You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
CMake
65 lines
1.3 KiB
CMake
###########################################
|
|
# #
|
|
# (C) 2025 Denis Kozadaev #
|
|
# denis@tambov.ru #
|
|
# #
|
|
# This file is released under GPL >= 2 #
|
|
# #
|
|
###########################################
|
|
|
|
|
|
##### set project version ########################
|
|
|
|
include( TDEVersion )
|
|
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
|
|
tde_set_project_version( )
|
|
|
|
|
|
##### general package setup
|
|
|
|
project( tdeknighttour )
|
|
|
|
|
|
##### include essential cmake modules
|
|
|
|
include( FindPkgConfig )
|
|
|
|
|
|
##### include our cmake modules
|
|
|
|
include( TDEMacros )
|
|
|
|
|
|
##### setup install paths
|
|
|
|
include( TDESetupPaths )
|
|
tde_setup_paths( )
|
|
|
|
|
|
##### optional stuff
|
|
|
|
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
|
|
|
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
|
|
|
|
|
##### user requested modules
|
|
|
|
option( BUILD_ALL "Build all" ON )
|
|
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
|
|
|
|
|
##### configure checks
|
|
|
|
include( ConfigureChecks.cmake )
|
|
|
|
|
|
##### directories
|
|
|
|
add_subdirectory( src )
|
|
|
|
|
|
##### other data ################################
|
|
|
|
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
|