Made RuntimeCompiledCpp reload code. Woooot!
parent
e8c1a9580a
commit
8095b4aef2
|
@ -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)
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef IUPDATEABLE_INCLUDED
|
||||
#define IUPDATEABLE_INCLUDED
|
||||
|
||||
#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h"
|
||||
#include "IObject.h"
|
||||
|
||||
struct IUpdateable : public IObject
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#ifndef INTERFACEIDS_INCLUDED
|
||||
#define INTERFACEIDS_INCLUDED
|
||||
|
||||
#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h"
|
||||
#include "IObject.h"
|
||||
|
||||
enum InterfaceIDEnumConsoleExample
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue