Small block game in C
Commit c50c7bbc5dd5
tarball3 files changed+7-4
@@ -1,3 +1,4 @@
1
+build/12
tetoris23
*.o34
*.d@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.20)
22
33
project(tetoris C)44
5
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})6
+57
include(FetchContent)68
79
FetchContent_Declare(@@ -10,7 +12,7 @@ FetchContent_Declare(
1012
GIT_TAG v1.0.01113
)1214
13
-FetchContent_MakeAvailable(parser)15
+FetchContent_MakeAvailable(jag_parser)1416
1517
add_executable(tetoris1618
source/main.c@@ -18,7 +20,7 @@ add_executable(tetoris
1820
source/logic.c1921
)2022
21
-target_link_libraries(tetoris PRIVATE parser)23
+target_link_libraries(tetoris PRIVATE jag_parser)2224
2325
target_compile_options(tetoris PRIVATE2426
$<$<CONFIG:Debug>:-Wall -Wextra -Wpedantic>@@ -2,11 +2,11 @@
22
33
all:44
cmake -B build -DCMAKE_BUILD_TYPE=Release5
- cmake -build build5
+ cmake --build build66
77
debug:88
cmake -B build -DCMAKE_BUILD_TYPE=Debug9
- cmake -build build9
+ cmake --build build1010
1111
clean:1212
rm -rf build