Set up build tools

This commit is contained in:
Daniel Thorpe
2024-06-20 13:42:11 +01:00
commit b0278f2755
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
build/*
+7
View File
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.13)
project(gemhadar LANGUAGES C)
add_executable(gemhadar
"main.c"
)
set_property(TARGET gemhadar PROPERTY C_STANDARD 11)
+2
View File
@@ -0,0 +1,2 @@
set(CMAKE_C_COMPILER clang)
set(CMAKE_C_FLAGS "-pedantic -Wall -Wextra")
+7
View File
@@ -0,0 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
return EXIT_SUCCESS;
}