-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e41df4
commit 90c2231
Showing
25 changed files
with
2,433 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[submodule "extern/rist-cpp"] | ||
path = extern/rist-cpp | ||
url = https://github.com/patcarter883/rist-cpp.git | ||
branch = swxtch | ||
[submodule "extern/rpclib"] | ||
path = extern/rpclib | ||
url = https://github.com/rpclib/rpclib.git | ||
[submodule "vcpkg"] | ||
path = vcpkg | ||
url = https://github.com/Microsoft/vcpkg.git |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
set(GSTREAMER_FOUND FALSE) | ||
|
||
if (WIN32) | ||
|
||
set(GSTREAMER_DIR $ENV{GSTREAMER_1_0_ROOT_MSVC_X86_64}) | ||
|
||
if (EXISTS ${GSTREAMER_DIR}/include/gstreamer-1.0/gst/gst.h) | ||
set(GSTREAMER_FOUND TRUE) | ||
set(GSTREAMER_VERSION_STRING 1.0 CACHE STRING "") | ||
set(GSTREAMER_INCLUDE_DIRS | ||
${GSTREAMER_DIR}/include/gstreamer-1.0/ | ||
${GSTREAMER_DIR}/include/glib-2.0/ | ||
${GSTREAMER_DIR}/lib/glib-2.0/include/ | ||
${GSTREAMER_DIR}/lib/gstreamer-1.0/include/ | ||
${GSTREAMER_DIR}/include/libxml2/ | ||
CACHE STRING "" | ||
) | ||
|
||
file(GLOB gst_lib_files ${GSTREAMER_DIR}/lib/*.lib) | ||
set(GSTREAMER_LIBRARIES ${gst_lib_files} CACHE STRING "") | ||
|
||
mark_as_advanced(GSTREAMER_INCLUDE_DIRS GSTREAMER_LIBRARIES) | ||
|
||
endif() | ||
|
||
endif() |
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,59 @@ | ||
if(WIN32) | ||
if(DEFINED ENV{NDI_SDK_DIR}) | ||
set(NDI_FOUND TRUE) | ||
set(NDI_DIR $ENV{NDI_SDK_DIR}) | ||
string(REPLACE "\\" "/" NDI_DIR "${NDI_DIR}") | ||
if(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
set(NDI_ARCH "x86") | ||
else() | ||
set(NDI_ARCH "x64") | ||
endif() | ||
set(NDI_INCLUDE_DIR "${NDI_DIR}/Include") | ||
set(NDI_LIBRARY_DIR "${NDI_DIR}/Lib/${NDI_ARCH}") | ||
set(NDI_LICENSE_DIR "${NDI_DIR}/Bin/${NDI_ARCH}") | ||
set(NDI_LIBS "Processing.NDI.Lib.${NDI_ARCH}") | ||
else() | ||
set(NDI_FOUND FALSE) | ||
endif() | ||
elseif(APPLE) | ||
if(EXISTS "/Library/NDI SDK for Apple/include/Processing.NDI.Lib.h") | ||
set(NDI_FOUND TRUE) | ||
set(NDI_DIR "/Library/NDI SDK for Apple") | ||
set(NDI_INCLUDE_DIR "${NDI_DIR}/include") | ||
set(NDI_LIBRARY_DIR "${NDI_DIR}/lib/macOS") | ||
set(NDI_LICENSE_DIR "${NDI_DIR}/licenses") | ||
file(GLOB NDI_LIBS "${NDI_LIBRARY_DIR}/*.dylib") | ||
else() | ||
set(NDI_FOUND FALSE) | ||
endif() | ||
elseif(UNIX) | ||
if(EXISTS "${NDI_SDK_DIR}/include/Processing.NDI.Lib.h") | ||
set(NDI_FOUND TRUE) | ||
set(NDI_DIR ${NDI_SDK_DIR}) | ||
if(NOT NDI_ARCH) | ||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") | ||
set(NDI_ARCH "aarch64-rpi4-linux-gnueabi") | ||
elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
set(NDI_ARCH "i686-linux-gnu") | ||
else() | ||
set(NDI_ARCH "x86_64-linux-gnu") | ||
endif() | ||
endif() | ||
set(NDI_INCLUDE_DIR "${NDI_DIR}/include") | ||
set(NDI_LIBRARY_DIR "${NDI_DIR}/lib/${NDI_ARCH}") | ||
set(NDI_LICENSE_DIR "${NDI_DIR}/licenses") | ||
set(NDI_LIBS "ndi") | ||
elseif(EXISTS "/usr/include/Processing.NDI.Lib.h") | ||
set(NDI_FOUND TRUE) | ||
set(NDI_DIR "/usr") | ||
set(NDI_INCLUDE_DIR "${NDI_DIR}/include") | ||
set(NDI_LIBRARY_DIR "${NDI_DIR}/lib") | ||
set(NDI_LICENSE_DIR "${NDI_DIR}/share/licenses/ndi-sdk") | ||
set(NDI_LIBS "ndi") | ||
else() | ||
set(NDI_FOUND FALSE) | ||
endif() | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(NDI DEFAULT_MSG NDI_DIR ${NDI_FOUND}) |
Oops, something went wrong.