Skip to content

Commit ad3b031

Browse files
authored
[CMAKE] Clean up some comments in CMake scripts (#811)
1 parent e2064f2 commit ad3b031

File tree

10 files changed

+2
-19
lines changed

10 files changed

+2
-19
lines changed

Core/Libraries/Source/WWVegas/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ target_include_directories(core_wwcommon INTERFACE
1919
# WW3D2
2020
WWAudio
2121
WWDebug
22-
# WWDownload
22+
# WWDownload # is not added because headers are included as "WWDownload/file.h"
2323
WWLib
2424
WWMath
2525
WWSaveLoad
@@ -42,7 +42,7 @@ target_include_directories(core_wwvegas INTERFACE
4242
#WW3D2
4343
WWAudio
4444
WWDebug
45-
WWDownload
45+
# WWDownload # is not added because headers are included as "WWDownload/file.h"
4646
WWLib
4747
WWMath
4848
WWSaveLoad

Core/Libraries/Source/WWVegas/WWDebug/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WWDEBUG_SRC
32
wwdebug.cpp
43
wwdebug.h
@@ -9,7 +8,6 @@ set(WWDEBUG_SRC
98
wwprofile.h
109
)
1110

12-
# Targets to build.
1311
add_library(core_wwdebug STATIC)
1412
set_target_properties(core_wwdebug PROPERTIES OUTPUT_NAME wwdebug)
1513

Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WWLIB_SRC
32
always.h
43
argv.cpp
@@ -157,7 +156,6 @@ if(WIN32)
157156
)
158157
endif()
159158

160-
# Targets to build.
161159
add_library(core_wwlib STATIC)
162160
set_target_properties(core_wwlib PROPERTIES OUTPUT_NAME wwlib)
163161

Core/Libraries/Source/WWVegas/WWMath/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ set(WWMATH_SRC
8080
wwmathids.h
8181
)
8282

83-
# Targets to build.
8483
add_library(core_wwmath STATIC)
8584
set_target_properties(core_wwmath PROPERTIES OUTPUT_NAME wwmath)
8685

Core/Libraries/Source/WWVegas/WWSaveLoad/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WWSAVELOAD_SRC
32
definition.cpp
43
definition.h
@@ -36,7 +35,6 @@ set(WWSAVELOAD_SRC
3635
wwsaveload.h
3736
)
3837

39-
# Targets to build.
4038
add_library(core_wwsaveload STATIC)
4139
set_target_properties(core_wwsaveload PROPERTIES OUTPUT_NAME wwsaveload)
4240

Core/Libraries/Source/WWVegas/WWStub/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Set source files
21
set(WWSTUB_SRC
32
wwallocstub.cpp
43
wwdebugstub.cpp
54
)
65

7-
# Targets to build.
86
add_library(core_wwstub STATIC)
97
set_target_properties(core_wwstub PROPERTIES OUTPUT_NAME wwstub)
108

Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WW3D2_SRC
32
aabtree.cpp
43
aabtree.h
@@ -229,7 +228,6 @@ set(WW3D2_SRC
229228
ww3dtrig.h
230229
)
231230

232-
# Targets to build.
233231
add_library(g_ww3d2 STATIC)
234232
set_target_properties(g_ww3d2 PROPERTIES OUTPUT_NAME ww3d2)
235233

Generals/Code/Tools/ParticleEditor/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(PARTICLEED_SRC
32
"CButtonShowColor.cpp"
43
"CButtonShowColor.h"
@@ -27,7 +26,6 @@ set(PARTICLEED_SRC
2726
"VelocityTypePanels.h"
2827
)
2928

30-
# Targets to build.
3129
add_library(g_particleeditor SHARED)
3230
set_target_properties(g_particleeditor PROPERTIES OUTPUT_NAME particleeditor PREFIX "")
3331

Generals/Code/Tools/WorldBuilder/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WORLDBUILDER_SRC
32
"src/addplayerdialog.cpp"
43
"src/AutoEdgeOutTool.cpp"
@@ -195,7 +194,6 @@ set(WORLDBUILDER_SRC
195194
"include/WorldBuilderView.h"
196195
)
197196

198-
# Targets to build.
199197
add_executable(g_worldbuilder WIN32)
200198

201199
target_include_directories(g_worldbuilder PRIVATE

GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Set source files
21
set(WW3D2_SRC
32
aabtree.cpp
43
aabtree.h
@@ -234,7 +233,6 @@ set(WW3D2_SRC
234233
ww3dtrig.h
235234
)
236235

237-
# Targets to build.
238236
add_library(z_ww3d2 STATIC)
239237
set_target_properties(z_ww3d2 PROPERTIES OUTPUT_NAME ww3d2)
240238

0 commit comments

Comments
 (0)