2017-11-16 21:17:15 -05:00
|
|
|
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
|
|
|
|
)
|
|
|
|
|
2024-09-11 15:16:40 -04:00
|
|
|
add_library(swagger
|
2017-11-16 21:17:15 -05:00
|
|
|
${swagger_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2019-05-01 05:54:58 -04:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2017-11-16 21:17:15 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
|
|
)
|
|
|
|
|
2020-11-20 10:29:11 -05:00
|
|
|
if (NOT MSVC)
|
2019-05-01 05:54:58 -04:00
|
|
|
set_target_properties(swagger PROPERTIES COMPILE_FLAGS "-Wno-conversion-null -Wno-unused-variable -Wno-unused-parameter")
|
2018-12-01 21:06:04 -05:00
|
|
|
endif()
|
2017-11-16 21:17:15 -05:00
|
|
|
|
|
|
|
target_link_libraries(swagger
|
2022-11-17 09:34:54 -05:00
|
|
|
Qt::Core
|
|
|
|
Qt::Network
|
2017-11-16 21:17:15 -05:00
|
|
|
)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
install(TARGETS swagger DESTINATION ${INSTALL_LIB_DIR})
|