refactor(CMake): Rename project and update include directories

- Changed project name from 'unitree_go2_custom' to 'lzwc_go2'.
- Added include directory for 'unitree_sdk2' to the main target.
This commit is contained in:
2025-09-22 15:33:00 +08:00
parent 26b9c11a25
commit ef57e9b8a4

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(unitree_go2_custom VERSION 1.0.0)
project(lzwc_go2 VERSION 1.0.0)
# Set C++ standard
set(CMAKE_CXX_STANDARD 17)
@@ -26,6 +26,8 @@ include_directories(
$<$<NOT:$<BOOL:${PahoMqttC_FOUND}>>:${PAHO_MQTT_C_INCLUDE_DIR}>
)
target_include_directories(main PRIVATE ${unitree_sdk2_INCLUDE_DIRS})
# Source files
set(SOURCES
src/main.cpp