mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-18 22:32:44 +00:00
More work on the source module system
This commit is contained in:
@@ -3,6 +3,12 @@ project(soapy)
|
||||
|
||||
if (MSVC)
|
||||
set(CMAKE_CXX_FLAGS "-O2 /std:c++17")
|
||||
|
||||
# Lib path
|
||||
target_link_directories(sdrpp_core PUBLIC "C:/Program Files/PothosSDR/lib/")
|
||||
|
||||
# Misc headers
|
||||
target_include_directories(sdrpp_core PUBLIC "C:/Program Files/PothosSDR/include/")
|
||||
else()
|
||||
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fpermissive")
|
||||
endif (MSVC)
|
||||
@@ -11,4 +17,6 @@ file(GLOB SRC "src/*.cpp")
|
||||
|
||||
add_library(soapy SHARED ${SRC})
|
||||
target_link_libraries(soapy PRIVATE sdrpp_core)
|
||||
set_target_properties(soapy PROPERTIES PREFIX "")
|
||||
set_target_properties(soapy PROPERTIES PREFIX "")
|
||||
|
||||
target_link_libraries(soapy PUBLIC SoapySDR)
|
||||
Reference in New Issue
Block a user