[DiscordArchive] is there a way to compile scripts without recompiling all project? to speed up process?
[DiscordArchive] is there a way to compile scripts without recompiling all project? to speed up process?
Archived author: Greencheezz • Posted: 2023-12-11T23:07:45.090000+00:00
Original source
is there a way to compile scripts without recompiling all project? to speed up process?
Archived author: <o> • Posted: 2023-12-11T23:18:04.535000+00:00
Original source
that's the default, if you don't change header files you shouldn't recompile more than the cpp file you edit
Archived author: <o> • Posted: 2023-12-11T23:19:54.081000+00:00
Original source
as for improving compilation times i did a few experiments with unity builds a while ago but not very big gains without rewriting scripts to support it
Archived author: <o> • Posted: 2023-12-11T23:21:23.485000+00:00
Original source
and even then it probably wouldn't do too much, it's mostly effective to reduce template spam in addition to precompiled headers, which tc already uses. what you can do (if you're not using tswow, we don't support it) is enable the recompilation/hotswapping and you won't have to restart the server itself just to change script behaviors
Archived author: <o> • Posted: 2023-12-11T23:22:35.667000+00:00
Original source
similarly there's livepp that works decently with trinitycore for non-script files, but is pretty slow to recompile larger files
Archived author: jackpoz • Posted: 2023-12-11T23:47:33.531000+00:00
Original source
When editing scripts with pch enabled, you just compile 1 cpp file and incremental link