2017-06-30 12:00:45 -07:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
2017-06-30 16:18:54 -07:00
|
|
|
|
|
|
|
add_library(discord-rpc-simple STATIC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc-simple.cpp)
|
|
|
|
|
|
|
|
set(BASE_RPC_SRC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc.cpp yolojson.h connection.h)
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
add_library(discord-rpc STATIC ${BASE_RPC_SRC} connection_win_sync.cpp)
|
|
|
|
endif(WIN32)
|