Commit Graph

5 Commits

Author SHA1 Message Date
Tobiasz Laskowski
d1db9e88af Fix static debug windows build 2025-02-10 08:59:02 -08:00
arm32x
3c4ddbab17 Fix Main.cpp template for -static -debug builds
When building a Lime application in debug mode on Windows, the console
subsystem is used and Windows looks for a 'main' function. However, the
Main.cpp file used when linking statically always defines a 'WinMain'
function regardless of whether the application is being built in debug
mode.

This commit adds an additional check in the Main.cpp that defines a
'main' function instead of 'WinMain' when building in debug mode.
2022-05-04 13:10:13 -04:00
Joshua Granick
4deb21be8c Fix static build (thanks JeriX) 2015-05-07 13:16:36 -07:00
Joshua Granick
6a6d37f734 Use safe name for registering statics, use 'lime_legacy_' for legacy prims to avoid conflicting names 2015-04-07 12:03:16 -07:00
Joshua Granick
c4ea28e044 Add support for -static flag, initially on Windows 2014-08-15 13:16:19 -07:00