2021-12-08 11:32:04 +00:00
|
|
|
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
|
|
|
|
|
|
|
include(GNUInstallDirs)
|
2021-12-21 10:15:59 +00:00
|
|
|
include(MyxCMakeColoredMessages)
|
2021-12-08 11:32:04 +00:00
|
|
|
include(MyxCMakeCheckPaths)
|
|
|
|
|
2021-12-10 07:55:19 +00:00
|
|
|
link_directories(${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
|
2022-01-25 17:49:02 +00:00
|
|
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc)
|
2021-12-08 11:32:04 +00:00
|
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
|
|
|
|
|
|
|
include(MyxCMakeProjectVersion)
|
|
|
|
include(MyxCMakeRequiredVariables)
|
|
|
|
include(MyxCMakeGlobalFunctions)
|
|
|
|
include(MyxCMakeGlobalVariables)
|
2021-12-12 19:37:50 +00:00
|
|
|
include(MyxCMakeDates)
|
2021-12-08 11:32:04 +00:00
|
|
|
include(MyxCMakeLSBInfo)
|
2022-01-26 06:58:24 +00:00
|
|
|
include(MyxCMakePaths)
|
2021-12-08 11:32:04 +00:00
|
|
|
include(MyxCMakeCompiler)
|
|
|
|
include(MyxCMakeCompilerFlags)
|
|
|
|
include(MyxCMakeDistCC)
|
|
|
|
include(MyxCMakeUnityBuild)
|
|
|
|
include(MyxCMakePrecompiledHeaders)
|
|
|
|
include(MyxCMakeBuildTypes)
|
|
|
|
include(MyxCMakeDebugOutputOptions)
|
|
|
|
|
2021-12-20 11:33:14 +00:00
|
|
|
include(MyxCMakeCodeAnalyzeApplyReplacements)
|
2021-12-08 11:32:04 +00:00
|
|
|
include(MyxCMakeCodeAnalyzeClangCheck)
|
|
|
|
include(MyxCMakeCodeAnalyzeClangTidy)
|
|
|
|
include(MyxCMakeCodeAnalyzeClazy)
|
|
|
|
include(MyxCMakeCodeAnalyzePvsStudio)
|
|
|
|
include(MyxCMakeCodeCoverage)
|
|
|
|
include(MyxCMakeFormatSources)
|
|
|
|
include(MyxCMakeCommonTargetProperties)
|
|
|
|
include(MyxCMakeAddSharedLibrary)
|
|
|
|
include(MyxCMakeAddStaticLibrary)
|
|
|
|
include(MyxCMakePkgConfig)
|
|
|
|
include(MyxCMakeNinjaGeneratorHelper)
|
2021-12-12 19:37:50 +00:00
|
|
|
include(MyxCMakeDocDoxygen)
|
|
|
|
include(MyxCMakeDocBreathe)
|
2021-12-09 14:55:30 +00:00
|
|
|
include(MyxCMakeExternalProject)
|
2021-12-08 11:32:04 +00:00
|
|
|
include(MyxCMakeCPack)
|
|
|
|
include(MyxCMakeUninstall)
|
2021-12-09 11:41:26 +00:00
|
|
|
|
|
|
|
# Additional functions
|
|
|
|
include(MyxCMakeGenerateGitInfoHeader)
|
|
|
|
include(MyxCMakeGeneratePrivateConfigHeader)
|
|
|
|
include(MyxCMakeHighPrecisionMath)
|
|
|
|
include(MyxCMakeLargeFiles)
|
|
|
|
include(MyxCMakeQtTranslation)
|
|
|
|
include(MyxCMakeRemoveFlag)
|
|
|
|
include(MyxCMakeWriteCompilerDetectionHeader)
|
|
|
|
|