Yes!
This commit is contained in:
commit
d0a1e9e8ab
3 files changed
+28
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
build/
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
|
||||||
|
project(snake)
|
||||||
|
|
||||||
|
# Specify the source files
|
||||||
|
set(SOURCES
|
||||||
|
main.c
|
||||||
|
#tetris.c
|
||||||
|
#util.c
|
||||||
|
#file3.c
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add the executable
|
||||||
|
add_executable(snake ${SOURCES})
|
||||||
|
|
||||||
|
|
||||||
|
# Compiler flags
|
||||||
|
target_compile_options(snake PUBLIC -std=c99 -Wall)
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
## dependencies ###############################################################
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
# Used libraries
|
||||||
|
|
||||||
|
#target_link_libraries(tetris PUBLIC ncurses SDL2 SDL2_mixer)
|
||||||
Reference in new issue
Block a user