No-op server
This commit is contained in:
parent
6bcf8f36c1
commit
9250a0254b
@ -41,6 +41,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||
|
||||
include_directories(src)
|
||||
|
||||
# Client
|
||||
set(CLIENT_EXE_NAME buildat_client)
|
||||
set(CLIENT_SRCS
|
||||
src/client/main.cpp
|
||||
@ -50,3 +51,10 @@ TARGET_LINK_LIBRARIES(${CLIENT_EXE_NAME}
|
||||
${POLYCODE_DEPENDENCY_LIBS}
|
||||
)
|
||||
|
||||
# Server
|
||||
set(SERVER_EXE_NAME buildat_server)
|
||||
set(SERVER_SRCS
|
||||
src/server/main.cpp
|
||||
)
|
||||
add_executable(${SERVER_EXE_NAME} ${SERVER_SRCS})
|
||||
|
||||
|
11
design.txt
11
design.txt
@ -2,7 +2,14 @@ Buildat
|
||||
=======
|
||||
A Minecraft clone with vast extendability.
|
||||
|
||||
Client is built using Polycode.
|
||||
Client
|
||||
------
|
||||
Built using Polycode C++.
|
||||
|
||||
Server is built using C++ with most functionality in RCC++.
|
||||
Server
|
||||
------
|
||||
Built using C++ with most functionality in RCC++.
|
||||
|
||||
Design issues:
|
||||
- Interfaces between C++ code must be predefined
|
||||
|
||||
|
8
src/server/main.cpp
Normal file
8
src/server/main.cpp
Normal file
@ -0,0 +1,8 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
std::cerr<<"Buildat server"<<std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user