From 12f6b22c8ba4560e70fd5a3a0aa2acace75cf79d Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 26 Jan 2025 23:35:03 -0600 Subject: [PATCH] [nostalgia/gfx/studio/palette] Cleanup --- .../gfx/src/studio/paletteeditor/CMakeLists.txt | 17 ++--------------- .../paletteeditor/commands/CMakeLists.txt | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 src/nostalgia/modules/gfx/src/studio/paletteeditor/commands/CMakeLists.txt diff --git a/src/nostalgia/modules/gfx/src/studio/paletteeditor/CMakeLists.txt b/src/nostalgia/modules/gfx/src/studio/paletteeditor/CMakeLists.txt index 9ec397bf..25e3a79c 100644 --- a/src/nostalgia/modules/gfx/src/studio/paletteeditor/CMakeLists.txt +++ b/src/nostalgia/modules/gfx/src/studio/paletteeditor/CMakeLists.txt @@ -1,19 +1,6 @@ -target_sources( - NostalgiaCore-Studio PRIVATE - commands/addcolorcommand.cpp - commands/addpagecommand.cpp - commands/applycolorallpagescommand.cpp - commands/duplicatepagecommand.cpp - commands/movecolorcommand.cpp - commands/movepagecommand.cpp - commands/removecolorcommand.cpp - commands/removepagecommand.cpp - commands/renamepagecommand.cpp - commands/updatecolorcommand.cpp - commands/updatecolorinfocommand.cpp -) - target_sources( NostalgiaCore-Studio-ImGui PRIVATE paletteeditor-imgui.cpp ) + +add_subdirectory(commands) \ No newline at end of file diff --git a/src/nostalgia/modules/gfx/src/studio/paletteeditor/commands/CMakeLists.txt b/src/nostalgia/modules/gfx/src/studio/paletteeditor/commands/CMakeLists.txt new file mode 100644 index 00000000..42c4cd54 --- /dev/null +++ b/src/nostalgia/modules/gfx/src/studio/paletteeditor/commands/CMakeLists.txt @@ -0,0 +1,15 @@ + +target_sources( + NostalgiaCore-Studio PRIVATE + addcolorcommand.cpp + addpagecommand.cpp + applycolorallpagescommand.cpp + duplicatepagecommand.cpp + movecolorcommand.cpp + movepagecommand.cpp + removecolorcommand.cpp + removepagecommand.cpp + renamepagecommand.cpp + updatecolorcommand.cpp + updatecolorinfocommand.cpp +)