You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
898 B
CMake

cmake_minimum_required(VERSION 3.20)
if(NOT packet_export_name)
set(packet_export_name "LowKBase")
endif()
find_package(gugao500)
find_package(acs)
set(library_name "motor_driver_impl")
set(linked_library LowKBase::motor_driver LowKBase::hardware_driver gugao500 acs logic_interface system_external)
set(PROJECT_VERSION_MAJOR 2)
set(PROJECT_VERSION_MINOR 1)
set(PROJECT_VERSION_PATCH 1)
set(version_info ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
set(config_utils_path ${CMAKE_CURRENT_SOURCE_DIR}/../utils)
include(files.cmake)
if (DEFINED Copy_Solution)
include(${config_utils_path}/base.cmake)
else()
include(base.cmake)
endif()
#target_compile_definitions(${library_name} PRIVATE __SIMULATOR__)
#target_compile_definitions(${library_name} PRIVATE __USE_DWIDE_LASER__)
#target_compile_definitions(${library_name} PRIVATE __USE_MOTOR_PATH__)