From 36060400fa813ea1b81d754302162ca383c3acb2 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Thu, 5 Jan 2023 09:57:52 +0100 Subject: [PATCH] sort source files alphabetically in CMakeLists.txt files --- opl/CMakeLists.txt | 2 +- setup/CMakeLists.txt | 4 +-- src/CMakeLists.txt | 58 +++++++++++++++++++-------------------- textscreen/CMakeLists.txt | 18 ++++++------ 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/opl/CMakeLists.txt b/opl/CMakeLists.txt index 9865a9c5..02fea0c3 100644 --- a/opl/CMakeLists.txt +++ b/opl/CMakeLists.txt @@ -1,8 +1,8 @@ include(WoofSettings) add_library(opl STATIC - opl_internal.h opl.c opl.h + opl_internal.h opl_queue.c opl_queue.h opl_sdl.c opl3.c opl3.h) diff --git a/setup/CMakeLists.txt b/setup/CMakeLists.txt index 1acb71cf..3dba3238 100644 --- a/setup/CMakeLists.txt +++ b/setup/CMakeLists.txt @@ -1,9 +1,9 @@ include(WoofSettings) add_library(setup STATIC + execute.c execute.h mainmenu.c - multiplayer.c multiplayer.h - execute.c execute.h) + multiplayer.c multiplayer.h) target_woof_settings(setup) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 776ca58f..8a7f92d3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,27 +1,27 @@ include(WoofSettings) set(WOOF_SOURCES - am_map.c am_map.h - beta.h - d_deh.c d_deh.h - d_englsh.h - d_event.h - d_french.h - d_items.c d_items.h - d_iwad.c d_iwad.h - d_main.c d_main.h - d_loop.c d_loop.h + am_map.c am_map.h + beta.h + d_deh.c d_deh.h + d_englsh.h + d_event.h + d_french.h + d_items.c d_items.h + d_iwad.c d_iwad.h + d_loop.c d_loop.h + d_main.c d_main.h d_net.c - d_player.h - d_textur.h - d_think.h - d_ticcmd.h + d_player.h d_quit.c d_quit.h - dogs.h - doomdata.h + d_textur.h + d_think.h + d_ticcmd.h + dogs.h + doomdata.h doomdef.c doomdef.h doomstat.c doomstat.h - doomtype.h + doomtype.h dsdhacked.c dsdhacked.h dstrings.c dstrings.h f_finale.c f_finale.h @@ -43,15 +43,15 @@ set(WOOF_SOURCES m_argv.c m_argv.h m_bbox.c m_bbox.h m_cheat.c m_cheat.h + m_fixed.h m_input.c m_input.h m_io.c m_io.h - m_fixed.h m_menu.c m_menu.h m_misc.c m_misc.h m_misc2.c m_misc2.h m_random.c m_random.h m_snapshot.c m_snapshot.h - m_swap.h + m_swap.h memio.c memio.h midifallback.c midifallback.h midifile.c midifile.h @@ -59,7 +59,7 @@ set(WOOF_SOURCES net_client.c net_client.h net_common.c net_common.h net_dedicated.c net_dedicated.h - net_defs.h + net_defs.h net_gui.c net_gui.h net_io.c net_io.h net_loop.c net_loop.h @@ -69,7 +69,7 @@ set(WOOF_SOURCES net_sdl.c net_sdl.h net_server.c net_server.h net_structrw.c net_structrw.h - p_action.h + p_action.h p_ceilng.c p_doors.c p_enemy.c p_enemy.h @@ -94,23 +94,23 @@ set(WOOF_SOURCES r_bmaps.c r_bmaps.h r_bsp.c r_bsp.h r_data.c r_data.h - r_defs.h + r_defs.h r_draw.c r_draw.h r_main.c r_main.h r_plane.c r_plane.h r_segs.c r_segs.h r_sky.c r_sky.h - r_state.h + r_state.h r_swirl.c r_swirl.h r_things.c r_things.h - s_sound.c s_sound.h s_musinfo.c s_musinfo.h + s_sound.c s_sound.h sounds.c sounds.h - statdump.c statdump.h st_lib.c st_lib.h st_stuff.c st_stuff.h + statdump.c statdump.h tables.c tables.h - thermo.h + thermo.h u_mapinfo.c u_mapinfo.h u_scanner.c u_scanner.h v_video.c v_video.h @@ -213,17 +213,17 @@ endif() target_compile_definitions(woof PRIVATE MINIZ_NO_TIME) set(SETUP_SOURCES + d_iwad.c d_iwad.h i_main.c i_system.c i_system.h i_timer.c i_timer.h m_argv.c m_argv.h - m_misc2.c m_misc2.h m_io.c m_io.h - d_iwad.c d_iwad.h + m_misc2.c m_misc2.h net_io.c net_io.h net_packet.c net_packet.h - net_sdl.c net_sdl.h net_query.c net_query.h + net_sdl.c net_sdl.h net_structrw.c net_structrw.h z_zone.c z_zone.h) diff --git a/textscreen/CMakeLists.txt b/textscreen/CMakeLists.txt index f9350839..e817d13f 100644 --- a/textscreen/CMakeLists.txt +++ b/textscreen/CMakeLists.txt @@ -1,26 +1,26 @@ include(WoofSettings) add_library(textscreen STATIC - textscreen.h - txt_main.h + textscreen.h txt_button.c txt_button.h txt_checkbox.c txt_checkbox.h txt_desktop.c txt_desktop.h txt_dropdown.c txt_dropdown.h - txt_gui.c txt_gui.h - txt_io.c txt_io.h - txt_inputbox.c txt_inputbox.h txt_fileselect.c txt_fileselect.h + txt_gui.c txt_gui.h + txt_inputbox.c txt_inputbox.h + txt_io.c txt_io.h txt_label.c txt_label.h - txt_separator.c txt_separator.h + txt_main.h txt_scrollpane.c txt_scrollpane.h + txt_sdl.c txt_sdl.h + txt_separator.c txt_separator.h txt_strut.c txt_strut.h txt_table.c txt_table.h + txt_utf8.c txt_utf8.h txt_widget.c txt_widget.h - txt_window_action.c txt_window_action.h txt_window.c txt_window.h - txt_sdl.c txt_sdl.h - txt_utf8.c txt_utf8.h) + txt_window_action.c txt_window_action.h) target_woof_settings(textscreen)