Made RuntimeCompiledCpp reload code. Woooot!

master
Martin Felis 2016-08-31 22:44:29 +02:00
parent e8c1a9580a
commit 8095b4aef2
4 changed files with 8 additions and 5 deletions

View File

@ -28,7 +28,10 @@ INCLUDE_DIRECTORIES (
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src
# Required to compile RCPP related code
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/RuntimeCompiledCpp/RuntimeObjectSystem
)
FIND_PACKAGE (X11 REQUIRED)

View File

@ -1,5 +1,5 @@
#include "RuntimeCompiledCpp/RuntimeObjectSystem/ObjectInterfacePerModule.h"
#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h"
#include "ObjectInterfacePerModule.h"
#include "IObject.h"
#include "rcpp/IUpdateable.h"
#include "rcpp/InterfaceIds.h"
@ -11,7 +11,7 @@ class SceneObject : public TInterface<IID_IUPDATEABLE,IUpdateable>
public:
virtual void Update( float deltaTime )
{
std::cout << "Runtime Object 01 update called!\n";
std::cout << "Runtime Object 23 update called!\n";
}
};

View File

@ -20,7 +20,7 @@
#ifndef IUPDATEABLE_INCLUDED
#define IUPDATEABLE_INCLUDED
#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h"
#include "IObject.h"
struct IUpdateable : public IObject
{

View File

@ -28,7 +28,7 @@
#ifndef INTERFACEIDS_INCLUDED
#define INTERFACEIDS_INCLUDED
#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h"
#include "IObject.h"
enum InterfaceIDEnumConsoleExample
{