1
0
Fork 0
mirror of https://git.sr.ht/~kikoodx/sle synced 2021-05-23 12:50:56 +02:00
sle/CMakeLists.txt

18 lines
471 B
CMake
Raw Normal View History

2021-03-18 17:27:34 +01:00
cmake_minimum_required(VERSION 3.18)
project(kblec C)
include_directories(include)
set(SOURCES
src/main.c
src/level.c
)
add_executable(${PROJECT_NAME} ${SOURCES})
target_compile_options(${PROJECT_NAME} PRIVATE
-Wall -Wextra -Wshadow -Wswitch-default -Wswitch-enum
-Wunreachable-code -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Werror-implicit-function-declaration
-ansi -pedantic-errors -g -Os)
target_link_libraries(${PROJECT_NAME} raylib)