2024-08-22 01:52:27 +02:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(harogic_source)
|
|
|
|
|
|
|
|
file(GLOB SRC "src/*.cpp")
|
|
|
|
|
|
|
|
include(${SDRPP_MODULE_CMAKE})
|
|
|
|
|
|
|
|
if (MSVC)
|
|
|
|
# Lib path
|
|
|
|
target_link_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
|
|
|
|
target_include_directories(harogic_source PRIVATE "C:/radio/HTRA_API/x64/htra_api/")
|
|
|
|
target_link_libraries(harogic_source PRIVATE htra_api)
|
|
|
|
else (MSVC)
|
2024-08-22 04:36:36 +02:00
|
|
|
target_link_directories(harogic_source PRIVATE "/opt/htraapi/lib/${CMAKE_SYSTEM_PROCESSOR}/")
|
|
|
|
target_include_directories(harogic_source PRIVATE "/opt/htraapi/inc/")
|
|
|
|
target_link_libraries(harogic_source PRIVATE htraapi)
|
2024-08-22 01:52:27 +02:00
|
|
|
endif ()
|