zephyr/drivers/sensor/bmi160/CMakeLists.txt

10 lines
278 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(bmi160.c)
zephyr_library_sources_ifdef(CONFIG_BMI160_TRIGGER bmi160_trigger.c)
zephyr_library_sources_ifdef(CONFIG_EMUL_BMI160 emul_bmi160.c)
zephyr_include_directories_ifdef(CONFIG_EMUL_BMI160 .)