mirror of
https://github.com/BotChain-Robots/dev-tools.git
synced 2026-07-08 15:07:22 +02:00
Cleanup for release
This commit is contained in:
42
CMakeLists.txt
Normal file
42
CMakeLists.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
project(DevTools)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if(WIN32)
|
||||
add_compile_options(/permissive-)
|
||||
add_compile_definitions(NOMINMAX)
|
||||
endif()
|
||||
|
||||
find_package(libcontrol REQUIRED)
|
||||
find_package(spdlog REQUIRED)
|
||||
find_package(librpc REQUIRED)
|
||||
find_package(ftxui REQUIRED)
|
||||
|
||||
add_executable(DevTools
|
||||
src/main.cpp
|
||||
src/DeviceListApp.cpp
|
||||
src/DeviceDetailsApp.cpp
|
||||
src/tabs/InformationTab.cpp
|
||||
src/tabs/LoggingTab.cpp
|
||||
src/tabs/FirmwareUpdateTab.cpp
|
||||
src/tabs/TaskManagerTab.cpp
|
||||
src/tabs/ConfigurationTab.cpp
|
||||
src/tabs/CoredumpTab.cpp
|
||||
src/flatbuffers/OTAPacketBuilder.cpp
|
||||
src/rpc/RemoteDebugging.cpp
|
||||
src/rpc/RemoteManagement.cpp
|
||||
src/rpc/RemoteConfig.cpp
|
||||
)
|
||||
|
||||
target_include_directories(DevTools PUBLIC include)
|
||||
|
||||
target_link_libraries(DevTools
|
||||
PRIVATE
|
||||
libcontrol::libcontrol
|
||||
spdlog::spdlog
|
||||
librpc::librpc
|
||||
ftxui::ftxui
|
||||
)
|
||||
Reference in New Issue
Block a user