From e8cb3ab9b9f0639646f2a058f35120a23cb0b9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Wed, 29 Nov 2023 08:32:55 +0100 Subject: [PATCH] add CMake --- CMakeLists.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..49112ee --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,24 @@ +cmake_minimum_required(VERSION 3.22) +project(ProtocolDeveloppement) + +set(CMAKE_CXX_STANDARD 14) + +set(CMAKE_PREFIX_PATH "/Qt/6.5.0/android_arm64_v8a/lib/cmake") + + +find_package(Qt6Widgets REQUIRED) +find_package(Qt6Network REQUIRED) +find_package(Qt6Gui REQUIRED) + +add_executable(${PROJECT_NAME} + main.cpp + stompframe.cpp +) + +link_directories( ${PCL_LIBRARY_DIRS} ) + +target_link_libraries(${PROJECT_NAME} + Qt6::Network + Qt6::Gui + Qt6::Widgets +)