2025-02-27 17:59:18 +08:00

27 lines
1.1 KiB
CMake

# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENTS_DIRS
$ENV{ARMINO_PATH}/../components
$ENV{ARMINO_PATH}/../components/bk_audio
$ENV{ARMINO_PATH}/../components/bk_audio/audio_streams
$ENV{ARMINO_PATH}/../components/codec/
$ENV{ARMINO_PATH}/../components/codec/legacy
$ENV{ARMINO_PATH}/../components/codec/legacy/media/audio
$ENV{ARMINO_PATH}/../components/codec/legacy/media
$ENV{ARMINO_PATH}/../components/bk_thirdparty/asr
$ENV{ARMINO_PATH}/../components/bk_thirdparty
$ENV{ARMINO_PATH}/../components/bk_bt
$ENV{ARMINO_PATH}/../properties/modules
$ENV{ARMINO_PATH}/../properties/modules/video_codec
$ENV{ARMINO_PATH}/../properties/modules/audio_codec
)
include($ENV{ARMINO_PATH}/tools/build_tools/cmake/project.cmake)
project(app)
# The project compile options should be set after project command
armino_build_set_property(C_COMPILE_OPTIONS "-DAPP_BIN_NAME=\"$ENV{APP_NAME}\"" APPEND)
armino_build_set_property(C_COMPILE_OPTIONS "-DUSER_SW_VER=\"$ENV{APP_VERSION}\"" APPEND)