sfml-main does one thing only, for Windows it looks like this:
#include <SFML/Config.hpp>
#ifdef SFML_SYSTEM_WINDOWS
#include <windows.h>
extern int main(int argc, char* argv[]);
////////////////////////////////////////////////////////////
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, INT)
{
return main(__argc, __argv);
}
#endif // SFML_SYSTEM_WINDOWS