add_library(disccord SHARED client.cpp)

target_include_directories(disccord PUBLIC ../include)

set(SOURCE_FILES client.cpp)

add_library(disccord SHARED ${SOURCE_FILES})

target_include_directories(disccord PUBLIC ../include)

Use a variable for source files
Use a variable for source files