1if(CONFIG_ZSL) 2zephyr_interface_library_named(ZSCILIB) 3 4zephyr_include_directories(include) 5 6zephyr_library() 7zephyr_library_sources( 8 src/colorimetry/colorimetry.c 9 src/colorimetry/conv.c 10 src/colorimetry/illuminants.c 11 src/colorimetry/lumeff.c 12 src/colorimetry/norm.c 13 src/colorimetry/observers.c 14 src/colorimetry/rgbccms.c 15 src/colorimetry/shell.c 16 src/orientation/ahrs.c 17 src/orientation/compass.c 18 src/orientation/euler.c 19 src/orientation/quaternions.c 20 src/orientation/gravity.c 21 src/orientation/shell.c 22 src/orientation/fusion/madgwick.c 23 src/orientation/fusion/mahony.c 24 src/orientation/fusion/saam.c 25 src/orientation/fusion/aqua.c 26 src/orientation/fusion/complementary.c 27 src/orientation/fusion/kalman.c 28 src/orientation/fusion/calibration.c 29 src/physics/atomic.c 30 src/physics/dynamics.c 31 src/physics/eleccomp.c 32 src/physics/electricity.c 33 src/physics/electric.c 34 src/physics/energy.c 35 src/physics/fluids.c 36 src/physics/gases.c 37 src/physics/gravitation.c 38 src/physics/kinematics.c 39 src/physics/magnetics.c 40 src/physics/mass.c 41 src/physics/misc.c 42 src/physics/momentum.c 43 src/physics/optics.c 44 src/physics/photons.c 45 src/physics/projectiles.c 46 src/physics/relativity.c 47 src/physics/rotation.c 48 src/physics/sound.c 49 src/physics/thermo.c 50 src/physics/waves.c 51 src/physics/work.c 52 src/chemistry.c 53 src/interp.c 54 src/matrices.c 55 src/probability.c 56 src/shell.c 57 src/statistics.c 58 src/vectors.c 59 src/zsl.c 60) 61#zephyr_library_sources_ifdef(CONFIG_ZSL_SINGLE_PRECISION src/zsl_todo.c) 62 63zephyr_library_link_libraries(ZSCILIB) 64target_link_libraries(ZSCILIB INTERFACE zephyr_interface) 65endif() 66