myx-cmake/MyxCMake/modules/MyxCMakeCommon.cmake

53 lines
1.5 KiB
CMake
Raw Normal View History

2021-12-08 11:32:04 +00:00
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
include(GNUInstallDirs)
include(MyxCMakeColoredMessages)
2021-12-08 11:32:04 +00:00
include(MyxCMakeCheckPaths)
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)
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)