main
liamxin 2 years ago
parent 3c19385e56
commit 5ee00ad268

@ -6,23 +6,5 @@ set(CMAKE_CXX_STANDARD 17)
project(cross_test) project(cross_test)
add_executable(cross_test main.cpp) add_executable(${PROJECT} main.cpp)
#set(CMAKE_PREFIX_PATH $ENV{QT_HOME})
#
#find_package(Qt6 COMPONENTS
# Core
# REQUIRED
# )
#
#target_link_libraries(${PROJECT_NAME}
# PRIVATE
# Qt6::Core
# )
#
#target_include_directories(${PROJECT_NAME} PRIVATE
# ${CMAKE_CURRENT_SOURCE_DIR}
# )

@ -3,7 +3,7 @@ set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_SYSTEM_PROCESSOR arm)
# #
set(TOOL_CHAIN_DIR $ENV{CPP_TOOLCHAIN_ARM_LINUX}) set(TOOL_CHAIN_DIR $ENV{CPP_TOOLCHAIN_ARM_LINUX})
set(TOOL_CHAIN_INCLUDE ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/include ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/libc/usr/include) set(TOOL_CHAIN_INCLUDE ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/include ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/libc/usr/include)
set(TOOL_CHAIN_LIB ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/lib ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/libc/usr/lib) set(TOOL_CHAIN_LIB ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/lib ${TOOL_CHAIN_DIR}/aarch64-none-linux-gnu/libc/usr/lib)

Loading…
Cancel
Save