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})
|
2021-12-08 11:32:04 +00:00
|
|
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS
|
|
|
|
${CMAKE_CXX_SOURCE_FILE_EXTENSIONS};tpp;tcc)
|
|
|
|
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)
|
|
|
|
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)
|
|
|
|
|