Zmena struktúry priecinkov...
This commit is contained in:
parent
b3f02858bd
commit
0792d55823
1
.gitignore
vendored
1
.gitignore
vendored
@ -43,5 +43,6 @@ install_manifest.txt
|
|||||||
# unsuported build
|
# unsuported build
|
||||||
windows*
|
windows*
|
||||||
|
|
||||||
|
build/src
|
||||||
build/tetris
|
build/tetris
|
||||||
.kdev4*
|
.kdev4*
|
||||||
|
@ -1,27 +1,10 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
project(tetris)
|
set(EXE_NAME tetris)
|
||||||
|
|
||||||
add_executable(
|
project(${EXE_NAME})
|
||||||
tetris
|
|
||||||
scoreitem.cpp
|
add_subdirectory(src)
|
||||||
scorestate.cpp
|
|
||||||
stringinput.cpp
|
|
||||||
part.cpp
|
|
||||||
main.cpp
|
|
||||||
global.cpp
|
|
||||||
map.cpp
|
|
||||||
resource.cpp
|
|
||||||
game.cpp
|
|
||||||
pausestate.cpp
|
|
||||||
playstate.cpp
|
|
||||||
menustate.cpp
|
|
||||||
menuitem.cpp
|
|
||||||
menu.cpp
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(tetris SDL SDL_ttf)
|
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "-Wextra -ftabstop=4 -march=native -std=gnu++11 -fshow-column -ftabstop=4 -frounding-math -pipe")
|
|
||||||
|
|
||||||
install(TARGETS tetris RUNTIME DESTINATION bin)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user