mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-10 07:06:34 -04:00
31 lines
676 B
CMake
31 lines
676 B
CMake
project (swagger)
|
|
|
|
file(GLOB swagger_SOURCES
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client/*.cpp
|
|
)
|
|
|
|
file(GLOB swagger_HEADERS
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client/*.h
|
|
)
|
|
|
|
add_library(swagger SHARED
|
|
${swagger_SOURCES}
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
)
|
|
|
|
if (C_GCC OR C_CLANG)
|
|
set_target_properties(swagger PROPERTIES COMPILE_FLAGS "-Wno-conversion-null -Wno-unused-variable -Wno-unused-parameter")
|
|
endif()
|
|
|
|
target_link_libraries(swagger
|
|
Qt5::Core
|
|
Qt5::Network
|
|
)
|
|
|
|
install(TARGETS swagger DESTINATION ${INSTALL_LIB_DIR})
|