kopia lustrzana https://github.com/f4exb/sdrangel
31 wiersze
397 B
CMake
31 wiersze
397 B
CMake
|
project(fcdhid)
|
||
|
|
||
|
set(fcdhid_SOURCES
|
||
|
hid-libusb.c
|
||
|
fcdhid.c
|
||
|
)
|
||
|
|
||
|
set(fcdhid_HEADERS
|
||
|
fcdhid.h
|
||
|
hid-libusb.h
|
||
|
hidapi.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(fcdhid SHARED
|
||
|
${fcdhid_SOURCES}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(fcdhid
|
||
|
${LIBUSB_LIBRARIES}
|
||
|
)
|