add warnings to CMake
add roundup macros and tests for them