Zmena struktúry priecinkov...

This commit is contained in:
SGOrava 2015-04-06 16:23:50 +02:00
parent b3f02858bd
commit 0792d55823
2 changed files with 5 additions and 21 deletions

1
.gitignore vendored
View File

@ -43,5 +43,6 @@ install_manifest.txt
# unsuported build # unsuported build
windows* windows*
build/src
build/tetris build/tetris
.kdev4* .kdev4*

View File

@ -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)