# # vtable/CMakeLists.txt -- # cmake_minimum_required(VERSION 3.12) project(vtable VERSION 0.1.0 LANGUAGES CXX) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU") add_definitions(-Wall -Wextra -Werror) endif() add_executable(vtable vtable.cc)