File tree Expand file tree Collapse file tree 9 files changed +39
-31
lines changed Expand file tree Collapse file tree 9 files changed +39
-31
lines changed Original file line number Diff line number Diff line change
1
+ # Set KVS_SDK_PATH if not already set in environment
2
+ if (NOT DEFINED ENV{KVS_SDK_PATH} )
3
+ get_filename_component (KVS_SDK_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../../.." ABSOLUTE )
4
+ message (WARNING "KVS_SDK_PATH not set in environment. Setting to ${KVS_SDK_PATH} " )
5
+ set (ENV{KVS_SDK_PATH} "${KVS_SDK_PATH} " )
6
+ endif ()
Original file line number Diff line number Diff line change 2
2
# in this exact order for cmake to work correctly
3
3
cmake_minimum_required (VERSION 3.5 )
4
4
5
+ # Include common KVS SDK path setting
6
+ include (${CMAKE_CURRENT_SOURCE_DIR} /../app_common/set_kvs_sdk_path.cmake )
7
+
5
8
set (PROJECT_VERSION_MAJOR_1 "0" )
6
9
set (PROJECT_VERSION_MAJOR_2 "0" )
7
10
set (PROJECT_VERSION_MINOR "6" )
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ dependencies:
3
3
# local components
4
4
network_coprocessor :
5
5
version : " *"
6
- path : ../../.. /components/network_coprocessor
6
+ path : ${KVS_SDK_PATH}/esp_port /components/network_coprocessor
7
7
rules :
8
8
- if : " target in [esp32c6]"
Original file line number Diff line number Diff line change 2
2
# CMakeLists in this exact order for cmake to work correctly
3
3
cmake_minimum_required (VERSION 3.5 )
4
4
5
+ # Include common KVS SDK path setting
6
+ include (${CMAKE_CURRENT_SOURCE_DIR} /../app_common/set_kvs_sdk_path.cmake )
7
+
5
8
# Enable signaling only mode
6
9
option (ENABLE_SIGNALLING_ONLY "enable only the signalling component" ON )
7
10
option (ENABLE_STREAMING_ONLY "enable only the streaming component" OFF )
Original file line number Diff line number Diff line change @@ -3,26 +3,26 @@ dependencies:
3
3
4
4
network_coprocessor :
5
5
version : " *"
6
- path : ../../.. /components/network_coprocessor
6
+ path : ${KVS_SDK_PATH}/esp_port /components/network_coprocessor
7
7
rules :
8
8
- if : " target in [esp32c6]"
9
9
10
10
esp_webrtc_utils :
11
- path : ../../.. /components/esp_webrtc_utils
11
+ path : ${KVS_SDK_PATH}/esp_port /components/esp_webrtc_utils
12
12
version : " *"
13
13
14
14
kvs_webrtc :
15
- path : ../../.. /components/kvs_webrtc
15
+ path : ${KVS_SDK_PATH}/esp_port /components/kvs_webrtc
16
16
version : " *"
17
17
18
18
signaling_serializer :
19
- path : ../../.. /components/signaling_serializer
19
+ path : ${KVS_SDK_PATH}/esp_port /components/signaling_serializer
20
20
version : " *"
21
21
22
22
webrtc_bridge :
23
- path : ../../.. /components/webrtc_bridge
23
+ path : ${KVS_SDK_PATH}/esp_port /components/webrtc_bridge
24
24
version : " *"
25
25
26
26
app_common :
27
- path : ../.. /app_common
27
+ path : ${KVS_SDK_PATH}/esp_port/examples /app_common
28
28
version : " *"
Original file line number Diff line number Diff line change 2
2
# CMakeLists in this exact order for cmake to work correctly
3
3
cmake_minimum_required (VERSION 3.5 )
4
4
5
+ # Include common KVS SDK path setting
6
+ include (${CMAKE_CURRENT_SOURCE_DIR} /../app_common/set_kvs_sdk_path.cmake )
7
+
5
8
option (ENABLE_STREAMING_ONLY "enable only the streaming" ON )
6
9
option (ENABLE_DATA_CHANNEL "enable data channel support" ON )
7
10
option (ENABLE_SIGNALLING_ONLY "enable only the streaming" OFF )
Original file line number Diff line number Diff line change 2
2
dependencies :
3
3
# local components
4
4
espressif/esp_hosted :
5
- override_path : ../../.. /components/esp_hosted
5
+ override_path : ${KVS_SDK_PATH}/esp_port /components/esp_hosted
6
6
version : ' *'
7
7
rules :
8
8
- if : target in [esp32p4]
9
9
10
10
espressif/esp_wifi_remote :
11
- override_path : ../../../ components/esp_hosted
11
+ override_path : ${KVS_SDK_PATH}/esp_port/ components/esp_wifi_remote
12
12
version : ' *'
13
13
rules :
14
14
- if : target in [esp32p4]
15
15
16
16
esp_webrtc_utils :
17
- path : ../../.. /components/esp_webrtc_utils
17
+ path : ${KVS_SDK_PATH}/esp_port /components/esp_webrtc_utils
18
18
version : ' *'
19
19
20
20
kvs_webrtc :
21
- path : ../../.. /components/kvs_webrtc
21
+ path : ${KVS_SDK_PATH}/esp_port /components/kvs_webrtc
22
22
version : ' *'
23
23
24
24
media_stream :
25
- path : ../../.. /components/media_stream
25
+ path : ${KVS_SDK_PATH}/esp_port /components/media_stream
26
26
version : ' *'
27
27
28
- espressif/esp_video :
29
- version : ' *'
30
- rules :
31
- - if : target in [esp32p4]
32
-
33
28
signaling_serializer :
34
- path : ../../.. /components/signaling_serializer
29
+ path : ${KVS_SDK_PATH}/esp_port /components/signaling_serializer
35
30
version : ' *'
36
31
37
32
webrtc_bridge :
38
- path : ../../.. /components/webrtc_bridge
33
+ path : ${KVS_SDK_PATH}/esp_port /components/webrtc_bridge
39
34
version : ' *'
40
35
41
36
app_common :
42
- path : ../.. /app_common
37
+ path : ${KVS_SDK_PATH}/esp_port/examples /app_common
43
38
version : ' *'
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.5 )
2
2
3
+ # Include common KVS SDK path setting
4
+ include (${CMAKE_CURRENT_SOURCE_DIR} /../app_common/set_kvs_sdk_path.cmake )
5
+
3
6
include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
4
7
project (webrtc_classic )
5
8
option (ENABLE_DATA_CHANNEL "Enable data_channel support" ON )
Original file line number Diff line number Diff line change 2
2
dependencies :
3
3
# local components
4
4
espressif/esp_hosted :
5
- override_path : ../../.. /components/esp_hosted
5
+ override_path : ${KVS_SDK_PATH}/esp_port /components/esp_hosted
6
6
version : " *"
7
7
rules :
8
8
- if : " target in [esp32p4]"
9
9
10
10
espressif/esp_wifi_remote :
11
- override_path : ../../.. /components/esp_wifi_remote
11
+ override_path : ${KVS_SDK_PATH}/esp_port /components/esp_wifi_remote
12
12
version : " *"
13
13
rules :
14
14
- if : " target in [esp32p4]"
15
15
16
16
esp_webrtc_utils :
17
- path : ../../.. /components/esp_webrtc_utils
17
+ path : ${KVS_SDK_PATH}/esp_port /components/esp_webrtc_utils
18
18
version : " *"
19
19
20
20
kvs_webrtc :
21
- path : ../../.. /components/kvs_webrtc
21
+ path : ${KVS_SDK_PATH}/esp_port /components/kvs_webrtc
22
22
version : " *"
23
23
24
24
media_stream :
25
- path : ../../.. /components/media_stream
25
+ path : ${KVS_SDK_PATH}/esp_port /components/media_stream
26
26
version : " *"
27
27
28
- espressif/esp_video :
29
- version : " *"
30
- rules :
31
- - if : " target in [esp32p4]"
32
-
33
28
app_common :
34
- path : ../.. /app_common
29
+ path : ${KVS_SDK_PATH}/esp_port/examples /app_common
35
30
version : " *"
You can’t perform that action at this time.
0 commit comments