File tree 2 files changed +8
-1
lines changed
examples/thermostat/linux
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import("//build_overrides/chip.gni")
17
17
18
18
executable (" thermostat-app" ) {
19
19
sources = [
20
- " ${ chip_root } /src/app/clusters/thermostat-server/PresetStructWithOwnedMembers.cpp" ,
21
20
" include/low-power/LowPowerManager.cpp" ,
22
21
" include/low-power/LowPowerManager.h" ,
23
22
" main.cpp" ,
Original file line number Diff line number Diff line change @@ -400,6 +400,14 @@ template("chip_data_model") {
400
400
" ${ _app_root } /clusters/${ cluster } /DefaultThreadNetworkDirectoryStorage.h" ,
401
401
" ${ _app_root } /clusters/${ cluster } /ThreadNetworkDirectoryStorage.h" ,
402
402
]
403
+ } else if (cluster == " thermostat-server" ) {
404
+ sources += [
405
+ " ${ _app_root } /clusters/${ cluster } /${ cluster } .cpp" ,
406
+ " ${ _app_root } /clusters/${ cluster } /${ cluster } .h" ,
407
+ " ${ _app_root } /clusters/${ cluster } /PresetStructWithOwnedMembers.cpp" ,
408
+ " ${ _app_root } /clusters/${ cluster } /PresetStructWithOwnedMembers.h" ,
409
+ " ${ _app_root } /clusters/${ cluster } /thermostat-delegate.h" ,
410
+ ]
403
411
} else {
404
412
sources += [ " ${ _app_root } /clusters/${ cluster } /${ cluster } .cpp" ]
405
413
}
You can’t perform that action at this time.
0 commit comments