2022-12-06 08:23:58 +01:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(spectran_source)
|
|
|
|
|
|
|
|
file(GLOB SRC "src/*.cpp")
|
|
|
|
|
2023-02-14 16:25:05 +01:00
|
|
|
include(${SDRPP_MODULE_CMAKE})
|
2022-12-06 08:23:58 +01:00
|
|
|
|
|
|
|
if (MSVC)
|
|
|
|
# Lib path
|
|
|
|
target_link_directories(spectran_source PRIVATE "C:/Program Files/Aaronia AG/Aaronia RTSA-Suite PRO/sdk")
|
|
|
|
|
|
|
|
target_include_directories(spectran_source PUBLIC "C:/Program Files/Aaronia AG/Aaronia RTSA-Suite PRO/sdk")
|
|
|
|
|
|
|
|
target_link_libraries(spectran_source PRIVATE AaroniaRTSAAPI)
|
|
|
|
else (MSVC)
|
2022-12-06 14:33:18 +01:00
|
|
|
# Lib path
|
|
|
|
target_link_directories(spectran_source PRIVATE "~/Aaronia/RTSA/Aaronia-RTSA-Suite-PRO")
|
|
|
|
|
|
|
|
target_include_directories(spectran_source PUBLIC "~/Aaronia/RTSA/Aaronia-RTSA-Suite-PRO")
|
|
|
|
|
|
|
|
target_link_libraries(spectran_source PRIVATE AaroniaRTSAAPI)
|
2022-12-06 08:23:58 +01:00
|
|
|
endif ()
|