CMake

References

Notes

  • 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.

Last updated