Skip to content

Commit 5a5e0e7

Browse files
committed
Manually specify sources to exclude irrelevant files
1 parent c5b98ee commit 5a5e0e7

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

CMakeLists.txt

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
if(DEFINED ESP_PLATFORM AND ESP_PLATFORM EQUAL 1)
2-
idf_component_register(SRC_DIRS "src"
3-
PRIV_REQUIRES mbedtls cbor
4-
INCLUDE_DIRS "src")
2+
idf_component_register(SRCS
3+
"src/bytewords.cpp"
4+
"src/crc32.c"
5+
"src/fountain-decoder.cpp"
6+
"src/fountain-encoder.cpp"
7+
"src/fountain-utils.cpp"
8+
"src/random-sampler.cpp"
9+
"src/ur.cpp"
10+
"src/ur-decoder.cpp"
11+
"src/ur-encoder.cpp"
12+
"src/utils.cpp"
13+
"src/xoshiro256.cpp"
14+
PRIV_REQUIRES mbedtls cbor
15+
INCLUDE_DIRS "src")
516

617
target_compile_features(${COMPONENT_LIB} PRIVATE cxx_std_20)
718
target_compile_options(${COMPONENT_LIB} PRIVATE -ffast-math)

0 commit comments

Comments
 (0)