Document reasons for contents of COMMON_LIBRARIES
This commit is contained in:
1 parent
36a1407346
commit
f03a012087
2 files changed
+9
-2
No files matched your search
@@ -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)
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user