simongeilfus / Cinder-Runtime

Runtime-Compiled C++ for Cinder
57 stars 43 forks source link

Is post-build setup to be called after modifying header or cpp file? #33

Open mattfelsen opened 6 years ago

mattfelsen commented 6 years ago

I noticed something curious today which is my class' setup() function is called after I save the cpp file, but not when saving the header file. This is the opposite of what I'd expect -- if the header is changed the object is re-instantiated, then this is when setup() should be called, no? And when modifying the cpp then only the updated function's pointer is updated? Not sure if I'm thinking about this backwards, or my build setup isn't working correct, or if there's a bug somewhere. Thanks!