mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Enable Link-time code generation
It seems to have a positive impact on AVs #127
This commit is contained in:
parent
6d388f7231
commit
a57cec9d44
@ -248,6 +248,9 @@ end
|
||||
|
||||
flags {"NoIncrementalLink", "NoMinimalRebuild", "MultiProcessorCompile", "No64BitChecks"}
|
||||
|
||||
buildoptions {"/GL"}
|
||||
linkoptions { "/IGNORE:4702", "/LTCG" }
|
||||
|
||||
configuration "windows"
|
||||
defines {"_WINDOWS", "WIN32"}
|
||||
|
||||
|
@ -2,10 +2,15 @@
|
||||
|
||||
#include "../event.hpp"
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4702)
|
||||
|
||||
#define SOL_ALL_SAFETIES_ON 1
|
||||
#define SOL_PRINT_ERRORS 0
|
||||
#include <sol/sol.hpp>
|
||||
|
||||
#pragma warning(pop)
|
||||
|
||||
#include "scheduler.hpp"
|
||||
#include "event_handler.hpp"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user