Skip to content

Commit 25db528

Browse files
stephanmeestersxezon
authored andcommitted
refactor(profiling): Rename legacy profile library target (TheSuperHackers#2202)
1 parent 4e21f42 commit 25db528

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

Core/Libraries/Source/profile/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ set(PROFILE_SRC
1616
"profile.h"
1717
)
1818

19-
add_library(core_profile STATIC)
19+
add_library(core_profile_legacy STATIC)
2020

21-
target_sources(core_profile PRIVATE ${PROFILE_SRC})
21+
target_sources(core_profile_legacy PRIVATE ${PROFILE_SRC})
2222

23-
target_include_directories(core_profile INTERFACE
23+
target_include_directories(core_profile_legacy INTERFACE
2424
${CMAKE_CURRENT_SOURCE_DIR}
2525
)
2626

27-
target_precompile_headers(core_profile PRIVATE
27+
target_precompile_headers(core_profile_legacy PRIVATE
2828
[["Utility/CppMacros.h"]] # Must be first, to be removed when abandoning VC6
2929
"profile.h"
3030
"internal.h"
3131
<windows.h>
3232
)
3333

34-
target_link_libraries(core_profile PRIVATE
34+
target_link_libraries(core_profile_legacy PRIVATE
3535
core_wwcommon
3636
corei_always
3737
)

Core/Tools/ImagePacker/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ target_include_directories(corei_imagepacker INTERFACE
2828
target_link_libraries(corei_imagepacker INTERFACE
2929
comctl32
3030
core_debug
31-
core_profile
31+
core_profile_legacy
3232
core_wwcommon
3333
imm32
3434
vfw32

Core/Tools/MapCacheBuilder/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ target_include_directories(corei_mapcachebuilder INTERFACE
1616
target_link_libraries(corei_mapcachebuilder INTERFACE
1717
comctl32
1818
core_debug
19-
core_profile
19+
core_profile_legacy
2020
imm32
2121
vfw32
2222
winmm

Core/Tools/PATCHGET/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ target_sources(corei_patchgrabber INTERFACE ${PATCHGET_SRC})
2424
target_link_libraries(corei_patchgrabber INTERFACE
2525
comctl32
2626
core_debug
27-
core_profile
27+
core_profile_legacy
2828
gamespy::gamespy
2929
imm32
3030
vfw32

Core/Tools/ParticleEditor/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ target_include_directories(core_particleeditor PRIVATE
3838

3939
target_link_libraries(core_particleeditor PRIVATE
4040
core_debug
41-
core_profile
41+
core_profile_legacy
4242
corei_always_no_pch
4343
corei_gameengine_include
4444
corei_libraries_source_wwvegas

GeneralsMD/Code/Main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ target_link_libraries(z_generals PRIVATE
1111
binkstub
1212
comctl32
1313
core_debug
14-
core_profile
14+
core_profile_legacy
1515
d3d8
1616
d3dx8
1717
dinput8

GeneralsMD/Code/Tools/GUIEdit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ target_include_directories(z_guiedit PRIVATE
4848
target_link_libraries(z_guiedit PRIVATE
4949
comctl32
5050
core_debug
51-
core_profile
51+
core_profile_legacy
5252
d3d8lib
5353
imm32
5454
stlport

GeneralsMD/Code/Tools/WorldBuilder/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ target_precompile_headers(z_worldbuilder PRIVATE
217217

218218
target_link_libraries(z_worldbuilder PRIVATE
219219
core_debug
220-
core_profile
220+
core_profile_legacy
221221
d3d8lib
222222
imm32
223223
vfw32

0 commit comments

Comments
 (0)