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
windows*
build/src
build/tetris
.kdev4*

View File

@ -1,27 +1,10 @@
cmake_minimum_required(VERSION 2.8)
project(tetris)
set(EXE_NAME tetris)
add_executable(
tetris
scoreitem.cpp
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
)
project(${EXE_NAME})
add_subdirectory(src)
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)