From dd75e1e58f356868a069479faf975659e265c82d Mon Sep 17 00:00:00 2001 From: xezon <4720891+xezon@users.noreply.github.com> Date: Sun, 4 May 2025 17:44:59 +0200 Subject: [PATCH] [CMAKE] Clean up some comments in CMake scripts --- Core/Libraries/Source/WWVegas/CMakeLists.txt | 4 ++-- Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt | 2 -- Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt | 2 -- Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt | 1 - Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt | 2 -- Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt | 2 -- Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt | 2 -- Generals/Code/Tools/ParticleEditor/CMakeLists.txt | 2 -- Generals/Code/Tools/WorldBuilder/CMakeLists.txt | 2 -- GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt | 2 -- 10 files changed, 2 insertions(+), 19 deletions(-) diff --git a/Core/Libraries/Source/WWVegas/CMakeLists.txt b/Core/Libraries/Source/WWVegas/CMakeLists.txt index 645fe7385ff..74b85e90c42 100644 --- a/Core/Libraries/Source/WWVegas/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/CMakeLists.txt @@ -19,7 +19,7 @@ target_include_directories(core_wwcommon INTERFACE # WW3D2 WWAudio WWDebug - # WWDownload + # WWDownload # is not added because headers are included as "WWDownload/file.h" WWLib WWMath WWSaveLoad @@ -42,7 +42,7 @@ target_include_directories(core_wwvegas INTERFACE #WW3D2 WWAudio WWDebug - WWDownload + # WWDownload # is not added because headers are included as "WWDownload/file.h" WWLib WWMath WWSaveLoad diff --git a/Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt b/Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt index 45f40a32c99..9d9a8cef437 100644 --- a/Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WWDEBUG_SRC wwdebug.cpp wwdebug.h @@ -9,7 +8,6 @@ set(WWDEBUG_SRC wwprofile.h ) -# Targets to build. add_library(core_wwdebug STATIC) set_target_properties(core_wwdebug PROPERTIES OUTPUT_NAME wwdebug) diff --git a/Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt b/Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt index dcd56f32086..50ee924afc0 100644 --- a/Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WWLIB_SRC always.h argv.cpp @@ -157,7 +156,6 @@ if(WIN32) ) endif() -# Targets to build. add_library(core_wwlib STATIC) set_target_properties(core_wwlib PROPERTIES OUTPUT_NAME wwlib) diff --git a/Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt b/Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt index d248f6af817..d88eb09edb7 100644 --- a/Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt @@ -80,7 +80,6 @@ set(WWMATH_SRC wwmathids.h ) -# Targets to build. add_library(core_wwmath STATIC) set_target_properties(core_wwmath PROPERTIES OUTPUT_NAME wwmath) diff --git a/Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt b/Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt index f6875832bee..bcb5af6819c 100644 --- a/Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WWSAVELOAD_SRC definition.cpp definition.h @@ -36,7 +35,6 @@ set(WWSAVELOAD_SRC wwsaveload.h ) -# Targets to build. add_library(core_wwsaveload STATIC) set_target_properties(core_wwsaveload PROPERTIES OUTPUT_NAME wwsaveload) diff --git a/Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt b/Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt index b80b6216eea..1b5edd79cdd 100644 --- a/Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt +++ b/Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt @@ -1,10 +1,8 @@ -# Set source files set(WWSTUB_SRC wwallocstub.cpp wwdebugstub.cpp ) -# Targets to build. add_library(core_wwstub STATIC) set_target_properties(core_wwstub PROPERTIES OUTPUT_NAME wwstub) diff --git a/Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt b/Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt index 63ebcaf547c..b6b311b9438 100644 --- a/Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt +++ b/Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WW3D2_SRC aabtree.cpp aabtree.h @@ -229,7 +228,6 @@ set(WW3D2_SRC ww3dtrig.h ) -# Targets to build. add_library(g_ww3d2 STATIC) set_target_properties(g_ww3d2 PROPERTIES OUTPUT_NAME ww3d2) diff --git a/Generals/Code/Tools/ParticleEditor/CMakeLists.txt b/Generals/Code/Tools/ParticleEditor/CMakeLists.txt index 49a49e7ce2b..bf7005ea58a 100644 --- a/Generals/Code/Tools/ParticleEditor/CMakeLists.txt +++ b/Generals/Code/Tools/ParticleEditor/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(PARTICLEED_SRC "CButtonShowColor.cpp" "CButtonShowColor.h" @@ -27,7 +26,6 @@ set(PARTICLEED_SRC "VelocityTypePanels.h" ) -# Targets to build. add_library(g_particleeditor SHARED) set_target_properties(g_particleeditor PROPERTIES OUTPUT_NAME particleeditor PREFIX "") diff --git a/Generals/Code/Tools/WorldBuilder/CMakeLists.txt b/Generals/Code/Tools/WorldBuilder/CMakeLists.txt index da0f3cda1c6..4b3eee326a5 100644 --- a/Generals/Code/Tools/WorldBuilder/CMakeLists.txt +++ b/Generals/Code/Tools/WorldBuilder/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WORLDBUILDER_SRC "src/addplayerdialog.cpp" "src/AutoEdgeOutTool.cpp" @@ -195,7 +194,6 @@ set(WORLDBUILDER_SRC "include/WorldBuilderView.h" ) -# Targets to build. add_executable(g_worldbuilder WIN32) target_include_directories(g_worldbuilder PRIVATE diff --git a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt index 4973d7c73cb..6aa9ede6dfb 100644 --- a/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt +++ b/GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt @@ -1,4 +1,3 @@ -# Set source files set(WW3D2_SRC aabtree.cpp aabtree.h @@ -234,7 +233,6 @@ set(WW3D2_SRC ww3dtrig.h ) -# Targets to build. add_library(z_ww3d2 STATIC) set_target_properties(z_ww3d2 PROPERTIES OUTPUT_NAME ww3d2)