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
|
||||
windows*
|
||||
|
||||
build/src
|
||||
build/tetris
|
||||
.kdev4*
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user