You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Move feature summary to root CMakeLists
This commit is contained in:
@@ -66,6 +66,15 @@ Generating build files for OpenShot with CMake ${CMAKE_VERSION}
|
||||
# in order to properly configure CMAKE_INSTALL_LIBDIR path
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# Collect and display summary of options/dependencies
|
||||
include(FeatureSummary)
|
||||
|
||||
################ OPTIONS ##################
|
||||
# Optional build settings for libopenshot
|
||||
option(USE_SYSTEM_JSONCPP "Use system installed JsonCpp, if found" ON)
|
||||
option(DISABLE_BUNDLED_JSONCPP "Don't fall back to bundled JsonCpp" OFF)
|
||||
option(ENABLE_IWYU "Enable 'Include What You Use' scanner (CMake 3.3+)" OFF)
|
||||
|
||||
########## Configure Version.h header ##############
|
||||
configure_file(include/OpenShotVersion.h.in include/OpenShotVersion.h @ONLY)
|
||||
# We'll want that installed later
|
||||
@@ -111,3 +120,9 @@ endif()
|
||||
if(NOT DISABLE_TESTS)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
########### PRINT FEATURE SUMMARY ##############
|
||||
feature_summary(WHAT ALL
|
||||
INCLUDE_QUIET_PACKAGES
|
||||
FATAL_ON_MISSING_REQUIRED_PACKAGES
|
||||
DESCRIPTION "Displaying feature summary\n\nBuild configuration:")
|
||||
|
||||
@@ -27,12 +27,6 @@
|
||||
# Collect and display summary of options/dependencies
|
||||
include(FeatureSummary)
|
||||
|
||||
################ OPTIONS ##################
|
||||
# Optional build settings for libopenshot
|
||||
option(USE_SYSTEM_JSONCPP "Use system installed JsonCpp, if found" ON)
|
||||
option(DISABLE_BUNDLED_JSONCPP "Don't fall back to bundled JsonCpp" OFF)
|
||||
option(ENABLE_IWYU "Enable 'Include What You Use' scanner (CMake 3.3+)" OFF)
|
||||
|
||||
# Automatically process Qt classes with meta-object compiler
|
||||
set(CMAKE_AUTOMOC True)
|
||||
|
||||
@@ -426,12 +420,6 @@ ENDIF (BLACKMAGIC_FOUND)
|
||||
############### INCLUDE SWIG BINDINGS ################
|
||||
add_subdirectory(bindings)
|
||||
|
||||
########### PRINT FEATURE SUMMARY ##############
|
||||
feature_summary(WHAT ALL
|
||||
INCLUDE_QUIET_PACKAGES
|
||||
FATAL_ON_MISSING_REQUIRED_PACKAGES
|
||||
DESCRIPTION "Displaying feature summary\n\nBuild configuration:")
|
||||
|
||||
############### INSTALL HEADERS & LIBRARY ################
|
||||
set(LIB_INSTALL_DIR lib${LIB_SUFFIX}) # determine correct lib folder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user