Answer Question
Debug and Release Versions of User Defined Models
Anyone have a good setup for developing user-defined models in a debug and release context? I've got most of my toolchain for developing user-defined models setup in Visual Studio so I can compile for debug and release modes including some arguments into my model execution function that I only want available in a development context for debugging the model, but when I compile for release, I need to manually open PSCAD, delete those arguments from my model Fortran call, and then package for release.
Anybody have a nicer more automated way of doing this? I'm considering setting up some Python code for scrubbing my debug stuff from my library and example case files to help speed up model releases.
Anybody have a nicer more automated way of doing this? I'm considering setting up some Python code for scrubbing my debug stuff from my library and example case files to help speed up model releases.