This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
qEcho/source/CMakeLists.txt

31 lines
506 B
CMake
Raw Normal View History

2017-10-15 10:30:15 +00:00
cmake_minimum_required(VERSION 3.6)
project(qEcho)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt5Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-psabi")
2017-10-15 10:30:15 +00:00
add_executable(${PROJECT_NAME}
2017-10-16 11:16:05 +00:00
qecho.cpp
2017-10-15 10:30:15 +00:00
mainwindow.cpp
mainwindow.h
mainwindow.ui
led.cpp
led.h
blinkthread.cpp
2017-10-15 10:30:15 +00:00
blinkthread.h
median.h
hcsr04.cpp
hcsr04.h
distancethread.cpp
2017-10-15 10:30:15 +00:00
distancethread.h
)
target_link_libraries(${PROJECT_NAME} wiringPi Qt5::Widgets)