a
This commit is contained in:
parent
4b0a924184
commit
247661fc13
22 changed files with 325 additions and 8 deletions
8
client/CMakeLists.txt
Normal file
8
client/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
project(af_client)
|
||||
|
||||
file(GLOB af_client_SRC *.c)
|
||||
|
||||
add_executable(af_client ${af_client_SRC})
|
||||
target_link_libraries(af_client PRIVATE GearBox)
|
||||
|
||||
install_target(af_client)
|
||||
14
client/main.c
Normal file
14
client/main.c
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <GearBox/Foundation.h>
|
||||
|
||||
int main(int argc, char** argv){
|
||||
GBEngineParam param;
|
||||
GBEngine engine;
|
||||
|
||||
param.server = 0;
|
||||
param.client = 1;
|
||||
|
||||
GBInit();
|
||||
|
||||
engine = GBEngineCreate(¶m);
|
||||
GBEngineLoop(engine);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue