1 2 3 4 5 6 7
project(mazerator C) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ../bin) add_executable(mazerator mazerator.c maze.c utils.c position_stack.c) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")