mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-18 00:22:11 +00:00
- moved several files for which fastmath is mostly irrelevant into the PCH group.
Because reducing compile time is more important than some microscopic performance gain in non-time-critical code.
This commit is contained in:
parent
6325fbc491
commit
1c81c40c59
1 changed files with 40 additions and 39 deletions
|
@ -866,45 +866,6 @@ set( FASTMATH_PCH_SOURCES
|
||||||
polyrenderer/drawers/screen_triangle.cpp
|
polyrenderer/drawers/screen_triangle.cpp
|
||||||
polyrenderer/math/tri_matrix.cpp
|
polyrenderer/math/tri_matrix.cpp
|
||||||
polyrenderer/math/poly_intersection.cpp
|
polyrenderer/math/poly_intersection.cpp
|
||||||
r_sky.cpp
|
|
||||||
s_advsound.cpp
|
|
||||||
s_environment.cpp
|
|
||||||
s_playlist.cpp
|
|
||||||
s_sndseq.cpp
|
|
||||||
s_sound.cpp
|
|
||||||
GuillotineBinPack.cpp
|
|
||||||
SkylineBinPack.cpp
|
|
||||||
intermission/intermission.cpp
|
|
||||||
intermission/intermission_parse.cpp
|
|
||||||
menu/joystickmenu.cpp
|
|
||||||
menu/loadsavemenu.cpp
|
|
||||||
menu/menu.cpp
|
|
||||||
menu/menudef.cpp
|
|
||||||
menu/messagebox.cpp
|
|
||||||
menu/optionmenu.cpp
|
|
||||||
menu/playermenu.cpp
|
|
||||||
menu/videomenu.cpp
|
|
||||||
oplsynth/fmopl.cpp
|
|
||||||
oplsynth/mlopl.cpp
|
|
||||||
oplsynth/mlopl_io.cpp
|
|
||||||
oplsynth/dosbox/opl.cpp
|
|
||||||
oplsynth/OPL3.cpp
|
|
||||||
oplsynth/nukedopl3.cpp
|
|
||||||
timidity/common.cpp
|
|
||||||
timidity/instrum.cpp
|
|
||||||
timidity/instrum_dls.cpp
|
|
||||||
timidity/instrum_font.cpp
|
|
||||||
timidity/instrum_sf2.cpp
|
|
||||||
timidity/mix.cpp
|
|
||||||
timidity/playmidi.cpp
|
|
||||||
timidity/resample.cpp
|
|
||||||
timidity/timidity.cpp
|
|
||||||
wildmidi/file_io.cpp
|
|
||||||
wildmidi/gus_pat.cpp
|
|
||||||
wildmidi/reverb.cpp
|
|
||||||
wildmidi/wm_error.cpp
|
|
||||||
r_data/colormaps.cpp
|
|
||||||
r_data/r_translate.cpp
|
|
||||||
)
|
)
|
||||||
# This is disabled for now because I cannot find a way to give the .pch file a different name.
|
# This is disabled for now because I cannot find a way to give the .pch file a different name.
|
||||||
# Visual C++ 2015 seems hell-bent of only allowing one .pch file with the same name as the executable.
|
# Visual C++ 2015 seems hell-bent of only allowing one .pch file with the same name as the executable.
|
||||||
|
@ -1150,6 +1111,12 @@ set (PCH_SOURCES
|
||||||
po_man.cpp
|
po_man.cpp
|
||||||
portal.cpp
|
portal.cpp
|
||||||
r_utility.cpp
|
r_utility.cpp
|
||||||
|
r_sky.cpp
|
||||||
|
s_advsound.cpp
|
||||||
|
s_environment.cpp
|
||||||
|
s_playlist.cpp
|
||||||
|
s_sndseq.cpp
|
||||||
|
s_sound.cpp
|
||||||
serializer.cpp
|
serializer.cpp
|
||||||
sc_man.cpp
|
sc_man.cpp
|
||||||
st_stuff.cpp
|
st_stuff.cpp
|
||||||
|
@ -1185,6 +1152,20 @@ set (PCH_SOURCES
|
||||||
g_statusbar/sbar_mugshot.cpp
|
g_statusbar/sbar_mugshot.cpp
|
||||||
g_statusbar/shared_sbar.cpp
|
g_statusbar/shared_sbar.cpp
|
||||||
g_statusbar/strife_sbar.cpp
|
g_statusbar/strife_sbar.cpp
|
||||||
|
menu/joystickmenu.cpp
|
||||||
|
menu/loadsavemenu.cpp
|
||||||
|
menu/menu.cpp
|
||||||
|
menu/menudef.cpp
|
||||||
|
menu/messagebox.cpp
|
||||||
|
menu/optionmenu.cpp
|
||||||
|
menu/playermenu.cpp
|
||||||
|
menu/videomenu.cpp
|
||||||
|
oplsynth/fmopl.cpp
|
||||||
|
oplsynth/mlopl.cpp
|
||||||
|
oplsynth/mlopl_io.cpp
|
||||||
|
oplsynth/dosbox/opl.cpp
|
||||||
|
oplsynth/OPL3.cpp
|
||||||
|
oplsynth/nukedopl3.cpp
|
||||||
resourcefiles/ancientzip.cpp
|
resourcefiles/ancientzip.cpp
|
||||||
resourcefiles/file_7z.cpp
|
resourcefiles/file_7z.cpp
|
||||||
resourcefiles/file_grp.cpp
|
resourcefiles/file_grp.cpp
|
||||||
|
@ -1226,6 +1207,10 @@ set (PCH_SOURCES
|
||||||
fragglescript/t_spec.cpp
|
fragglescript/t_spec.cpp
|
||||||
fragglescript/t_variable.cpp
|
fragglescript/t_variable.cpp
|
||||||
fragglescript/t_cmd.cpp
|
fragglescript/t_cmd.cpp
|
||||||
|
intermission/intermission.cpp
|
||||||
|
intermission/intermission_parse.cpp
|
||||||
|
r_data/colormaps.cpp
|
||||||
|
r_data/r_translate.cpp
|
||||||
r_data/sprites.cpp
|
r_data/sprites.cpp
|
||||||
r_data/voxels.cpp
|
r_data/voxels.cpp
|
||||||
r_data/renderstyle.cpp
|
r_data/renderstyle.cpp
|
||||||
|
@ -1249,8 +1234,24 @@ set (PCH_SOURCES
|
||||||
scripting/zscript/zcc_compile.cpp
|
scripting/zscript/zcc_compile.cpp
|
||||||
scripting/zscript/zcc_parser.cpp
|
scripting/zscript/zcc_parser.cpp
|
||||||
sfmt/SFMT.cpp
|
sfmt/SFMT.cpp
|
||||||
|
timidity/common.cpp
|
||||||
|
timidity/instrum.cpp
|
||||||
|
timidity/instrum_dls.cpp
|
||||||
|
timidity/instrum_font.cpp
|
||||||
|
timidity/instrum_sf2.cpp
|
||||||
|
timidity/mix.cpp
|
||||||
|
timidity/playmidi.cpp
|
||||||
|
timidity/resample.cpp
|
||||||
|
timidity/timidity.cpp
|
||||||
|
wildmidi/file_io.cpp
|
||||||
|
wildmidi/gus_pat.cpp
|
||||||
|
wildmidi/reverb.cpp
|
||||||
|
wildmidi/wm_error.cpp
|
||||||
events.cpp
|
events.cpp
|
||||||
|
GuillotineBinPack.cpp
|
||||||
|
SkylineBinPack.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
enable_precompiled_headers( g_pch.h PCH_SOURCES )
|
enable_precompiled_headers( g_pch.h PCH_SOURCES )
|
||||||
|
|
||||||
add_executable( zdoom WIN32 MACOSX_BUNDLE
|
add_executable( zdoom WIN32 MACOSX_BUNDLE
|
||||||
|
|
Loading…
Reference in a new issue