mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-26 17:45:28 +01:00
Renamed rich presence module
This commit is contained in:
parent
f23faa72ec
commit
18eb29fabd
@ -22,7 +22,7 @@ option(OPT_BUILD_AUDIO_SINK "Build Audio Sink Module (Depedencies: rtaudio)" ON)
|
|||||||
option(OPT_BUILD_FALCON9_DECODER "Build the falcon9 live decoder (Dependencies: ffplay)" OFF)
|
option(OPT_BUILD_FALCON9_DECODER "Build the falcon9 live decoder (Dependencies: ffplay)" OFF)
|
||||||
option(OPT_BUILD_METEOR_DEMODULATOR "Build the meteor demodulator module (no dependencies required)" ON)
|
option(OPT_BUILD_METEOR_DEMODULATOR "Build the meteor demodulator module (no dependencies required)" ON)
|
||||||
option(OPT_BUILD_WEATHER_SAT_DECODER "Build the HRPT decoder module (no dependencies required)" ON)
|
option(OPT_BUILD_WEATHER_SAT_DECODER "Build the HRPT decoder module (no dependencies required)" ON)
|
||||||
option(OPT_BUILD_DISCORD_PRESENCE "Build the Discord Rich Presence module (Dependencies: rapidjson)" ON)
|
option(OPT_BUILD_DISCORD_PRESENCE "Build the Discord Rich Presence module" ON)
|
||||||
# Core of SDR++
|
# Core of SDR++
|
||||||
add_subdirectory("core")
|
add_subdirectory("core")
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ add_subdirectory("weather_sat_decoder")
|
|||||||
endif (OPT_BUILD_WEATHER_SAT_DECODER)
|
endif (OPT_BUILD_WEATHER_SAT_DECODER)
|
||||||
|
|
||||||
if (OPT_BUILD_DISCORD_PRESENCE)
|
if (OPT_BUILD_DISCORD_PRESENCE)
|
||||||
add_subdirectory("discord")
|
add_subdirectory("discord-integration")
|
||||||
endif (OPT_BUILD_DISCORD_PRESENCE)
|
endif (OPT_BUILD_DISCORD_PRESENCE)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
project(discord)
|
project(discord-integration)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc")
|
set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc")
|
||||||
@ -11,13 +11,11 @@ endif ()
|
|||||||
|
|
||||||
file(GLOB SRC "src/*.cpp")
|
file(GLOB SRC "src/*.cpp")
|
||||||
|
|
||||||
include_directories("src/" "discord-rpc/include")
|
include_directories("src/")
|
||||||
|
|
||||||
add_subdirectory("discord-rpc")
|
add_library(integration SHARED ${SRC})
|
||||||
|
target_link_libraries(integration PUBLIC sdrpp_core discord-rpc)
|
||||||
add_library(discord SHARED ${SRC})
|
set_target_properties(integration PROPERTIES PREFIX "")
|
||||||
target_link_libraries(discord PUBLIC sdrpp_core discord-rpc)
|
|
||||||
set_target_properties(discord PROPERTIES PREFIX "")
|
|
||||||
|
|
||||||
# Install directives
|
# Install directives
|
||||||
install(TARGETS discord DESTINATION lib/sdrpp/plugins)
|
install(TARGETS integration DESTINATION lib/sdrpp/plugins)
|
Loading…
x
Reference in New Issue
Block a user