Set up build tools
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
build/*
|
||||
7
CMakeLists.txt
Normal file
7
CMakeLists.txt
Normal 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
clang-toolchain.cmake
Normal file
2
clang-toolchain.cmake
Normal file
@@ -0,0 +1,2 @@
|
||||
set(CMAKE_C_COMPILER clang)
|
||||
set(CMAKE_C_FLAGS "-pedantic -Wall -Wextra")
|
||||
Reference in New Issue
Block a user