You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
627 B
29 lines
627 B
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 |
|
${swagger_SOURCES} |
|
) |
|
|
|
include_directories( |
|
${CMAKE_SOURCE_DIR}/exports |
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client |
|
) |
|
|
|
if (NOT MSVC) |
|
set_target_properties(swagger PROPERTIES COMPILE_FLAGS "-Wno-conversion-null -Wno-unused-variable -Wno-unused-parameter") |
|
endif() |
|
|
|
target_link_libraries(swagger |
|
Qt::Core |
|
Qt::Network |
|
) |
|
|
|
install(TARGETS swagger DESTINATION ${INSTALL_LIB_DIR})
|
|
|