You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
510 B
29 lines
510 B
cmake_minimum_required(VERSION 3.24)
|
|
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/arm.linux.toolchain.cmake)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
project(cross_test)
|
|
|
|
add_executable(cross_test 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}
|
|
# )
|
|
|
|
|