CMake
References
CMake Documentation (official, latest, top-level)
CMake Tutorial (official, latest)
CMake Practice (tutorial from users)
CMake 3.0.2 Documentation (top level, minimum requirement in Ubuntu 18)
build target and library, set property
about find_package(), etc.
Notes
std::minandstd::maxminandmaxare defined as macros on some systems.std::minandstd::maxmay not be used. UsecmMinimumandcmMaximuminstead.
size_tVarious 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 anunsigned intor similar.std::size_tmust not be used.
Last updated
Was this helpful?