mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-08 09:36:02 -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) |