RadioTuner/CMakeLists.txt
Brandon Rozek 86b0d07829 Basic Implementation of Radio Server/Client
Client written in QT and communicates to SDR server over TCP sockets.

Currently getting and setting frequencies is supported
2019-05-14 23:09:55 -04:00

15 lines
514 B
CMake

cmake_minimum_required(VERSION 3.1)
project(RadioTuner LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt5 COMPONENTS Core Quick REQUIRED)
add_executable(${PROJECT_NAME} "main.cpp" "qml.qrc" "client.cpp")
target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Core Qt5::Quick)