Implement SDL platform, windowing and input handling

This commit is contained in:
2024-07-25 21:39:21 +03:00
committed by Ari Vuollet
parent c83a3c32c7
commit b622a1cc5e
131 changed files with 67507 additions and 95 deletions

View File

@@ -79,6 +79,11 @@ namespace Flax.Build
options.CompileEnv.PreprocessorDefinitions.Add("USE_LARGE_WORLDS");
options.ScriptingAPI.Defines.Add("USE_LARGE_WORLDS");
}
if (EngineConfiguration.WithSDL(options))
{
options.CompileEnv.PreprocessorDefinitions.Add("PLATFORM_SDL");
options.ScriptingAPI.Defines.Add("PLATFORM_SDL");
}
// Add include paths for this and all referenced projects sources
foreach (var project in Project.GetAllProjects())