Skip to content

Instantly share code, notes, and snippets.

@buhanec
Created November 28, 2016 01:19
Show Gist options
  • Save buhanec/e43a8b87267ea003622fc5af6fd49fe6 to your computer and use it in GitHub Desktop.
Save buhanec/e43a8b87267ea003622fc5af6fd49fe6 to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 3.6)
project(sop4 C)
enable_language(C)
set(SOURCE_FILES main.c)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -lm")
add_executable(sop4 ${SOURCE_FILES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment