I have gone through the summator example in the Development tutorials here: http://docs.godotengine.org/en/3.0/development/cpp/custom_modules_in_cpp.html. I can compile and use the summator module, however I want to set it up so that the module is created as a shared library, so I don't need to compile the whole engine each time I make changes.
The tutorial for setting this up assumes you are using the GNU compiler, with the command line argument -fPIC. Since I am trying to compile for Windows, the Visual Studio C++ compiler, cl, is used instead, which doesn't have -fPIC.
I was wondering if anybody knew what changes should be made to the SCsub file so that summator can be made as a shared module using the Visual Studio C++ compiler?