Document reasons for contents of COMMON_LIBRARIES

This commit is contained in:
Tim Angus committed 2025-08-12 11:44:59 +01:00
1 parent 36a1407346
commit f03a012087
2 files changed
+9 -2

No files matched your search

+4 -1
View File
@@ -16,7 +16,10 @@ if(USE_HTTP)
list(APPEND CLIENT_PLATFORM_SOURCES ${SOURCE_DIR}/client/cl_http_curl.c)
endif()
list(APPEND COMMON_LIBRARIES dl m)
list(APPEND COMMON_LIBRARIES
dl # Dynamic loader
m # Math library
)
list(APPEND CLIENT_DEFINITIONS USE_ICON)
list(APPEND RENDERER_DEFINITIONS USE_ICON)
+5 -1
View File
@@ -15,7 +15,11 @@ if(USE_HTTP)
list(APPEND CLIENT_LIBRARIES wininet)
endif()
list(APPEND COMMON_LIBRARIES ws2_32 winmm psapi)
list(APPEND COMMON_LIBRARIES
ws2_32 # Windows Sockets 2
winmm # timeBeginPeriod/timeEndPeriod
psapi # EnumProcesses
)
if(MINGW)
list(APPEND COMMON_LIBRARIES mingw32)