From 6fdce2fc2fe225517896d318bea3d4cc3e06d131 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 8 Jun 2021 17:38:04 +0200 Subject: [PATCH] updated project file and main --- bsp_hosted/main.cpp | 5 +- misc/eclipse/.cproject | 102 ++++++++++++++++++++++++++++++++--------- 2 files changed, 83 insertions(+), 24 deletions(-) diff --git a/bsp_hosted/main.cpp b/bsp_hosted/main.cpp index 01b9b2f..9ddc77e 100644 --- a/bsp_hosted/main.cpp +++ b/bsp_hosted/main.cpp @@ -5,15 +5,16 @@ #include #include +#include #include #include #include #include -#ifdef WIN32 +#ifdef PLATFORM_WIN static const char* COMPILE_PRINTOUT = "Windows"; -#elif LINUX +#elif defined(PLATFORM_UNIX) static const char* COMPILE_PRINTOUT = "Linux"; #else static const char* COMPILE_PRINTOUT = "unknown OS"; diff --git a/misc/eclipse/.cproject b/misc/eclipse/.cproject index f36fd4c..1c0feee 100644 --- a/misc/eclipse/.cproject +++ b/misc/eclipse/.cproject @@ -22,13 +22,17 @@ @@ -40,6 +44,11 @@ + @@ -75,12 +84,18 @@ @@ -92,6 +107,11 @@ + @@ -124,18 +144,27 @@ + @@ -176,18 +205,27 @@ + @@ -254,6 +292,8 @@ + + @@ -276,9 +316,6 @@ - - - @@ -291,9 +328,6 @@ - - - @@ -303,6 +337,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -312,16 +379,13 @@ - - - - + @@ -336,11 +400,5 @@ - - - - - - \ No newline at end of file