CMake
Last updated
Was this helpful?
Last updated
Was this helpful?
(official, latest, top-level)
(official, latest)
(tutorial from users)
(top level, minimum requirement in Ubuntu 18)
build target and library, set property
about find_package(), etc.
std::min
and std::max
min
and max
are defined as macros on some systems. std::min
and std::max
may not be used. Use cmMinimum
and cmMaximum
instead.
size_t
Various implementations have differing implementation of size_t
. When assigning the result of .size()
on a container for example, the result should not be assigned to an unsigned int
or similar. std::size_t
must not be used.