Add CMake project

This commit is contained in:
Martchus 2018-08-31 15:41:42 +02:00
parent 72e653a856
commit ce6140ad80
1 changed files with 12 additions and 0 deletions

12
CMakeLists.txt Normal file
View File

@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
set(CMAKE_AUTORCC ON)
find_package(Qt5Core)
find_package(Qt5Quick)
find_package(Qt5Sensors)
find_package(Qt5Svg)
find_package(Qt5Xml)
add_executable(accelbubble main.cpp accelbubble.qrc)
target_link_libraries(accelbubble Qt5::Quick Qt5::Sensors Qt5::Svg Qt5::Xml)