mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-03 07:21:14 -05:00
31 lines
457 B
CMake
31 lines
457 B
CMake
project(fcdlib)
|
|
|
|
set(fcdlib_SOURCES
|
|
fcdtraits.cpp
|
|
fcdproplusconst.cpp
|
|
fcdproconst.cpp
|
|
)
|
|
|
|
set(fcdlib_HEADERS
|
|
fcdtraits.h
|
|
fcdproplusconst.h
|
|
fcdproconst.h
|
|
)
|
|
|
|
include_directories(
|
|
.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/include-gpl
|
|
)
|
|
|
|
#add_definitions(-DQT_PLUGIN)
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
add_library(fcdlib SHARED
|
|
${fcdlib_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(fcdlib)
|
|
|
|
install(TARGETS fcdlib DESTINATION lib) |