Changed: #1323 Cmake with snowballs (patch provided by dfighter)

This commit is contained in:
kervala 2011-08-19 14:54:34 +02:00
parent 5738f6ae47
commit f302b70712
6 changed files with 19 additions and 1 deletions

View file

@ -70,6 +70,10 @@
#include "internationalization.h" #include "internationalization.h"
#include "game_time.h" #include "game_time.h"
#ifdef NL_OS_WINDOWS
#include <Windows.h>
#endif
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;
using namespace NL3D; using namespace NL3D;

View file

@ -36,6 +36,9 @@
// We're using the NeL Service framework, and layer 5 // We're using the NeL Service framework, and layer 5
#include <nel/net/service.h> #include <nel/net/service.h>
#ifdef NL_OS_WINDOWS
#include <Windows.h>
#endif
using namespace std; using namespace std;
using namespace NLMISC; using namespace NLMISC;

View file

@ -17,6 +17,10 @@
#include "collision_service.h" #include "collision_service.h"
#include <nel/3d/u_instance_group.h> #include <nel/3d/u_instance_group.h>
#ifdef NL_OS_WINDOWS
#include <Windows.h>
#endif
using namespace SBSERVICE; using namespace SBSERVICE;
using namespace NLMISC; using namespace NLMISC;
using namespace NLNET; using namespace NLNET;

View file

@ -1,6 +1,6 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(snowballs_frontend_service ${SRC}) ADD_EXECUTABLE(snowballs_frontend_service WIN32 ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})

View file

@ -38,6 +38,10 @@
#include <map> #include <map>
#include <utility> #include <utility>
#ifdef NL_OS_WINDOWS
#include <Windows.h>
#endif
using namespace NLMISC; using namespace NLMISC;
using namespace NLNET; using namespace NLNET;
using namespace std; using namespace std;

View file

@ -41,6 +41,9 @@
#include "physics.h" #include "physics.h"
#ifdef NL_OS_WINDOWS
#include <Windows.h>
#endif
using namespace NLMISC; using namespace NLMISC;
using namespace NLNET; using namespace NLNET;