cmake_minimum_required(VERSION 3.0.0) set(CMAKE_C_STANDARD 11) project(mazerator_project C) file(GLOB SOURCES src/*.c) add_executable(mazerator ${SOURCES}) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")