Hi there!
First of all, thanks you guys for this project!
I made some initial progress recently to make
CMake-based openFrameworks work with Runtime-Compiled C++, here is the result so far:
https://github.com/ofnode/ofLiveAppIt does compiles at runtime and it's super cool to see your changes without restarting the application! :) But I have a few questions which make me wonder -- am I doing this wrong (which is most probably!) or is there any way to introduce new objects at runtime without resetting their values on each runtime compile step?
Here's what I mean: right now to make camera object work, for example, I have to place it in a
global struct which is
created at the parent IObjectFactoryListener class and
passed as a parameter to the functions of a live TInterface class. And it works, I can recompile at runtime without loosing the current position or orientation of the camera. But it works only if a camera object was created at compile time, not on runtime. If I declare it
here in a live class it works too, but on each code update it resets its position, orientation and other parameters to defaults -- am I missing other way which prevents that, without declaring global struct at compile time?
Thanks!