first
This commit is contained in:
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
cmake_minimum_required(VERSION 3.28.0)
|
||||
#-------------------------------------
|
||||
# oltg is a OnLineTerminalGame
|
||||
# what this project should do
|
||||
# is build a game that runs in
|
||||
# the teraminal.
|
||||
#
|
||||
# -Note-
|
||||
# The Server should be built with
|
||||
# the clinent.
|
||||
#-------------------------------------
|
||||
|
||||
project(OnLineTerminalGame)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
#add_subdirectory(tests)
|
||||
add_subdirectory(libs)
|
||||
add_subdirectory(src)
|
||||
8
ReadMe.md
Normal file
8
ReadMe.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# OnLineTerminalGame
|
||||
This is a game that can be run in the terminal and would allow you play with your
|
||||
frends.
|
||||
|
||||
## Game Loop
|
||||
- The game loop is there are 2 _or more_ '@'. each '@' has its own color and the
|
||||
gole is to shoot each other. you can only shoot in the cardnal directions.
|
||||
- When you are the last man standing you win!!
|
||||
1
libs/CMakeLists.txt
Normal file
1
libs/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
||||
add_subdirectory(TerRend)
|
||||
3
libs/TerRend/CMakeLists.txt
Normal file
3
libs/TerRend/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
cmake_minimum_required(VERSION 3.28.0)
|
||||
project(terrend)
|
||||
add_library(${CMAKE_PROJECT_NAME} SHARED "src/terrend.cpp")
|
||||
0
libs/TerRend/includes/terrend.h
Normal file
0
libs/TerRend/includes/terrend.h
Normal file
0
libs/TerRend/src/terrend.cpp
Normal file
0
libs/TerRend/src/terrend.cpp
Normal file
4
src/CMakeLists.txt
Normal file
4
src/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
project(cliant VERSION 0.1)
|
||||
add_executable( ${CMAKE_PROJECT_NAME} main.cpp)
|
||||
4
src/main.cpp
Normal file
4
src/main.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
int int main (int argc, char *argv[]) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user