jag

tetoris_c

public

Small block game in C

Star0
Watch0
2fdb50f8f6eb8f1e6e7af0b745633c148f82f750
1
ssh://git@git.jaglekon.de:30/jag/tetoris_c.git
CMakeLists.txt26 lines445 B
1
cmake_minimum_required(VERSION 3.20)
2
3
project(tetoris C)
4
5
include(FetchContent)
6
7
FetchContent_Declare(
8
  jag_parser
9
  GIT_REPOSITORY https://codeberg.org/Jaglekon/jag_parse.git
10
  GIT_TAG v1.0.0
11
)
12
13
FetchContent_MakeAvailable(parser)
14
15
add_executable(tetoris
16
  source/main.c
17
  source/draw.c
18
  source/logic.c
19
)
20
21
target_link_libraries(tetoris PRIVATE parser)
22
23
target_compile_options(tetoris PRIVATE
24
    $<$<CONFIG:Debug>:-Wall -Wextra -Wpedantic>
25
)
26