It would be really helpful, if it would be possible just to "build" an ASI from main project.
To differentiate, you could define something like #define BUILD_ASI, if the use switches to the ASI build configuration, then with #ifdef you can load different includes and set different defines.
Also the ASI loader callback's a specific export function called InitializeASI from the plugin dll.
It would be really helpful, if it would be possible just to "build" an ASI from main project.
To differentiate, you could define something like
#define BUILD_ASI
, if the use switches to the ASI build configuration, then with#ifdef
you can load different includes and set different defines.Also the ASI loader callback's a specific export function called
InitializeASI
from the plugin dll.This way it can be easy differentiate, if your code if called by SFSE or ASI loader.