Skip to content

Commit 089319d

Browse files
committed
lmdk: adding paths for headers in example module
As an example there is a need to show how to include headers Signed-off-by: Dobrowolski, PawelX <pawelx.dobrowolski@intel.com>
1 parent 8aa6d38 commit 089319d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lmdk/modules/dummy/CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,18 @@ target_sources(dummy PRIVATE dummy.c)
44
set_target_properties(dummy PROPERTIES
55
HPSRAM_ADDR "0xa06a1000"
66
)
7+
8+
target_compile_definitions(dummy PRIVATE CONFIG_XTENSA=1
9+
CONFIG_IPC_MAJOR_4=1
10+
CONFIG_LIBRARY=1
11+
XCHAL_HAVE_HIFI3=1
12+
SOF_MODULE_API_PRIVATE=1)
13+
14+
set(LMDK_DIR_INCLUDE ../../../lmdk/include)
15+
16+
target_include_directories(dummy PRIVATE "${LMDK_DIR_INCLUDE}"
17+
"${LMDK_DIR_INCLUDE}/src/include"
18+
"${LMDK_DIR_INCLUDE}/src/include/sof/audio/module_adapter/iadk"
19+
"${LMDK_DIR_INCLUDE}/posix/include"
20+
"${LMDK_DIR_INCLUDE}/posix/include/sof"
21+
)

0 commit comments

Comments
 (0)