# # overflow/CMakeLists.txt -- # cmake_minimum_required(VERSION 3.12) project(OVERFLOW C) set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) if(CMAKE_C_COMPILER_ID MATCHES "Clang|GNU") add_compile_options(-Wall -Wextra -pedantic -Werror) endif() add_executable(uint8-overflow uint8-overflow.c) add_executable(int8-overflow int8-overflow.c) add_executable(double-overflow double-overflow.c)