No-op server

master
Perttu Ahola 2014-09-16 17:58:01 +03:00
parent 6bcf8f36c1
commit 9250a0254b
3 changed files with 25 additions and 2 deletions

View File

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

View File

@ -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
View File

@ -0,0 +1,8 @@
#include <iostream>
int main(int argc, char *argv[])
{
std::cerr<<"Buildat server"<<std::endl;
return 0;
}