Forums WoW Modding Support Archives TrinityCore Discord Archives [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?

[DiscordArchive] is there a way to compile scripts without recompiling all project? to speed up process?

rektbyfaith
Administrator
0
12-11-2023, 11:07 PM
#1
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?
rektbyfaith
12-11-2023, 11:07 PM #1

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?

rektbyfaith
Administrator
0
12-11-2023, 11:18 PM
#2
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
rektbyfaith
12-11-2023, 11:18 PM #2

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

rektbyfaith
Administrator
0
12-11-2023, 11:19 PM
#3
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
rektbyfaith
12-11-2023, 11:19 PM #3

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

rektbyfaith
Administrator
0
12-11-2023, 11:21 PM
#4
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
rektbyfaith
12-11-2023, 11:21 PM #4

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

rektbyfaith
Administrator
0
12-11-2023, 11:22 PM
#5
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
rektbyfaith
12-11-2023, 11:22 PM #5

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

rektbyfaith
Administrator
0
12-11-2023, 11:47 PM
#6
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
rektbyfaith
12-11-2023, 11:47 PM #6

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)