-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into rtcpWrapper
- Loading branch information
Showing
16 changed files
with
663 additions
and
951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cmake_minimum_required(VERSION 3.6.3) | ||
|
||
project(libcorejson NONE) | ||
|
||
if (BUILD_STATIC_LIBS OR WIN32) | ||
set(LIBCOREJSON_SHARED_LIBS OFF) | ||
else() | ||
set(LIBCOREJSON_SHARED_LIBS ON) | ||
endif() | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(libcorejson | ||
GIT_REPOSITORY https://github.com/FreeRTOS/coreJSON.git | ||
GIT_TAG dc1ab9130a1fb99b801a2a1fa8e9f42239f752be | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build | ||
PATCH_COMMAND git apply --ignore-whitespace ${CMAKE_CURRENT_LIST_DIR}/libcorejson-add-cmakelists.patch | ||
CMAKE_ARGS | ||
-DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
-DBUILD_SHARED_LIBS=${LIBCOREJSON_SHARED_LIBS} | ||
"-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -fPIC" | ||
BUILD_ALWAYS TRUE | ||
TEST_COMMAND "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
new file mode 100644 | ||
index 0000000..e48e611 | ||
--- /dev/null | ||
+++ b/CMakeLists.txt | ||
@@ -0,0 +1,24 @@ | ||
+cmake_minimum_required(VERSION 3.6.3) | ||
+project(corejson C) | ||
+ | ||
+include(jsonFilePaths.cmake) | ||
+ | ||
+if(BUILD_SHARED_LIBS) | ||
+ add_library(corejson SHARED ${JSON_SOURCES}) | ||
+else() | ||
+ add_library(corejson STATIC ${JSON_SOURCES}) | ||
+endif() | ||
+ | ||
+target_include_directories(corejson PUBLIC | ||
+ ${JSON_INCLUDE_PUBLIC_DIRS}) | ||
+ | ||
+# install header files | ||
+install( | ||
+ FILES ${JSON_INCLUDE_PUBLIC_DIRS}/core_json.h | ||
+ DESTINATION include/corejson) | ||
+ | ||
+install( | ||
+ TARGETS corejson | ||
+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" | ||
+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" | ||
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cmake_minimum_required(VERSION 3.6.3) | ||
|
||
project(libkvssignaling NONE) | ||
|
||
include(ExternalProject) | ||
if (BUILD_STATIC_LIBS OR WIN32) | ||
set(LIBKVSSIGNALING_SHARED_LIBS OFF) | ||
else() | ||
set(LIBKVSSIGNALING_SHARED_LIBS ON) | ||
endif() | ||
|
||
ExternalProject_Add(libkvssignaling | ||
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-signaling.git | ||
GIT_TAG fb54c01f6f03838ed19ad5c1857bb9406e89f4df | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build | ||
CMAKE_ARGS | ||
-DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX} | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
-DBUILD_SHARED_LIBS=${LIBKVSSIGNALING_SHARED_LIBS} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
BUILD_ALWAYS TRUE | ||
TEST_COMMAND "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.