diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b0c612..9a35546 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/src/SceneObject.cpp b/src/SceneObject.cpp index afe2740..0126c89 100644 --- a/src/SceneObject.cpp +++ b/src/SceneObject.cpp @@ -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 public: virtual void Update( float deltaTime ) { - std::cout << "Runtime Object 01 update called!\n"; + std::cout << "Runtime Object 23 update called!\n"; } }; diff --git a/src/rcpp/IUpdateable.h b/src/rcpp/IUpdateable.h index 4f5aeb1..e246d5d 100644 --- a/src/rcpp/IUpdateable.h +++ b/src/rcpp/IUpdateable.h @@ -20,7 +20,7 @@ #ifndef IUPDATEABLE_INCLUDED #define IUPDATEABLE_INCLUDED -#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h" +#include "IObject.h" struct IUpdateable : public IObject { diff --git a/src/rcpp/InterfaceIds.h b/src/rcpp/InterfaceIds.h index bab75eb..7b0b9a3 100644 --- a/src/rcpp/InterfaceIds.h +++ b/src/rcpp/InterfaceIds.h @@ -28,7 +28,7 @@ #ifndef INTERFACEIDS_INCLUDED #define INTERFACEIDS_INCLUDED -#include "RuntimeCompiledCpp/RuntimeObjectSystem/IObject.h" +#include "IObject.h" enum InterfaceIDEnumConsoleExample {