cmake define_property(CACHED_VARIABLE) examples

tpaviot/oce adm/cmake/cotire.cmake :3671

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_PATH"
	BRIEF_DOCS "Ignore headers from these directories when generating the prefix header."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of include directories."
		"If a header file is found in one of these directories or sub-directories, it will be excluded from the generated prefix header."
		"If not defined, defaults to empty list."
)

tpaviot/oce adm/cmake/cotire.cmake :3680

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_EXTENSIONS"
	BRIEF_DOCS "Ignore includes with the listed file extensions from the generated prefix header."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of file extensions."
		"If a header file extension matches one in the list, it will be excluded from the generated prefix header."
		"Includes with an extension in CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS are always ignored."
		"If not defined, defaults to inc;inl;ipp."
)

tpaviot/oce adm/cmake/cotire.cmake :3690

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS"
	BRIEF_DOCS "Exclude sources with the listed file extensions from the generated unity source."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of file extensions."
		"If a source file extension matches one in the list, it will be excluded from the generated unity source file."
		"Source files with an extension in CMAKE_<LANG>_IGNORE_EXTENSIONS are always excluded."
		"If not defined, defaults to m;mm."
)

tpaviot/oce adm/cmake/cotire.cmake :3700

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES"
	BRIEF_DOCS "Minimum number of sources in target required to enable use of precompiled header."
	FULL_DOCS
		"The variable can be set to an integer > 0."
		"If a target contains less than that number of source files, cotire will not enable the use of the precompiled header for the target."
		"If not defined, defaults to 3."
)

tpaviot/oce adm/cmake/cotire.cmake :3709

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES"
	BRIEF_DOCS "Maximum number of source files to include in a single unity source file."
	FULL_DOCS
		"This may be set to an integer >= 0."
		"If 0, cotire will only create a single unity source file."
		"If a target contains more than that number of source files, cotire will create multiple unity source files for it."
		"Can be set to \"-j\" to optimize the count of unity source files for the number of available processor cores."
		"Can be set to \"-j jobs\" to optimize the number of unity source files for the given number of simultaneous jobs."
		"Is used to initialize the target property COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES."
		"Defaults to \"-j\" for the generators Visual Studio, JOM or Ninja. Defaults to 0 otherwise."
)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :3852

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_PATH"
	BRIEF_DOCS "Ignore headers from these directories when generating the prefix header."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of include directories."
		"If a header file is found in one of these directories or sub-directories, it will be excluded from the generated prefix header."
		"If not defined, defaults to empty list."
)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :3861

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_ADDITIONAL_PREFIX_HEADER_IGNORE_EXTENSIONS"
	BRIEF_DOCS "Ignore includes with the listed file extensions from the generated prefix header."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of file extensions."
		"If a header file extension matches one in the list, it will be excluded from the generated prefix header."
		"Includes with an extension in CMAKE_<LANG>_SOURCE_FILE_EXTENSIONS are always ignored."
		"If not defined, defaults to inc;inl;ipp."
)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :3871

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_UNITY_SOURCE_EXCLUDE_EXTENSIONS"
	BRIEF_DOCS "Exclude sources with the listed file extensions from the generated unity source."
	FULL_DOCS
		"The variable can be set to a semicolon separated list of file extensions."
		"If a source file extension matches one in the list, it will be excluded from the generated unity source file."
		"Source files with an extension in CMAKE_<LANG>_IGNORE_EXTENSIONS are always excluded."
		"If not defined, defaults to m;mm."
)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :3881

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_MINIMUM_NUMBER_OF_TARGET_SOURCES"
	BRIEF_DOCS "Minimum number of sources in target required to enable use of precompiled header."
	FULL_DOCS
		"The variable can be set to an integer > 0."
		"If a target contains less than that number of source files, cotire will not enable the use of the precompiled header for the target."
		"If not defined, defaults to 2."
)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :3890

define_property(
	CACHED_VARIABLE PROPERTY "COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES"
	BRIEF_DOCS "Maximum number of source files to include in a single unity source file."
	FULL_DOCS
		"This may be set to an integer >= 0."
		"If 0, cotire will only create a single unity source file."
		"If a target contains more than that number of source files, cotire will create multiple unity source files for it."
		"Can be set to \"-j\" to optimize the count of unity source files for the number of available processor cores."
		"Can be set to \"-j jobs\" to optimize the number of unity source files for the given number of simultaneous jobs."
		"Is used to initialize the target property COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES."
		"Defaults to \"-j\" for the generators Visual Studio, JOM or Ninja. Defaults to 0 otherwise."
)