jag

tetoris_c

public

Small block game in C

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