cmake: enable MXL tools build by default (testsrc, sink)
This commit is contained in:
+7
-1
@@ -12,7 +12,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
option(DMF_BUILD_TESTS "Build tests" ON)
|
option(DMF_BUILD_TESTS "Build tests" ON)
|
||||||
option(DMF_BUILD_MXL_TOOLS "Build MXL tools (testsrc, sink)" OFF)
|
option(DMF_BUILD_MXL_TOOLS "Build MXL tools (testsrc, sink)" ON)
|
||||||
option(DMF_BUILD_DECKLINK "Build DeckLink I/O nodes" ON)
|
option(DMF_BUILD_DECKLINK "Build DeckLink I/O nodes" ON)
|
||||||
option(DMF_BUILD_FABRICS "Build Fabrics bridge nodes" OFF)
|
option(DMF_BUILD_FABRICS "Build Fabrics bridge nodes" OFF)
|
||||||
|
|
||||||
@@ -35,6 +35,12 @@ find_package(Libwebsockets CONFIG REQUIRED)
|
|||||||
find_package(Catch2 CONFIG QUIET)
|
find_package(Catch2 CONFIG QUIET)
|
||||||
|
|
||||||
set(BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
set(BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||||
|
|
||||||
|
if(DMF_BUILD_MXL_TOOLS)
|
||||||
|
set(BUILD_TOOLS ON CACHE BOOL "" FORCE)
|
||||||
|
set(BUILD_UTILS ON CACHE BOOL "" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(extern/mxl)
|
add_subdirectory(extern/mxl)
|
||||||
add_subdirectory(libs/dmf-node)
|
add_subdirectory(libs/dmf-node)
|
||||||
add_subdirectory(libs/dmf-engine)
|
add_subdirectory(libs/dmf-engine)
|
||||||
|
|||||||
Reference in New Issue
Block a user