Commit 1c83393a authored by L. E. Segovia's avatar L. E. Segovia

Add SeExpr as a 3rdparty dependency

This first commit adds SeExpr as a supported dependency on Windows only.
Later commits will add it to Linux and macOS.
parent 207a9f4e
......@@ -235,3 +235,4 @@ endif()
add_subdirectory( ext_heif )
add_subdirectory(ext_giflib)
add_subdirectory(ext_quazip)
add_subdirectory(ext_seexpr)
SET(PREFIX_ext_seexpr "${EXTPREFIX}" )
ExternalProject_Add(
ext_seexpr
GIT_REPOSITORY https://invent.kde.org/lsegovia/SeExpr.git
GIT_TAG 9d44ad9ff6b7d797de718a6869ba5f43e2790867
PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory <SOURCE_DIR>/windows7/SeExpr/generated <SOURCE_DIR>/src/SeExpr2/generated
COMMAND ${CMAKE_COMMAND} -E copy_directory <SOURCE_DIR>/windows7/ui/generated <SOURCE_DIR>/src/SeExpr2/UI/generated
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${PREFIX_ext_seexpr} -DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE} ${GLOBAL_PROFILE} -DBOOST_INCLUDE_DIR=${PREFIX_ext_seexpr}/include -DBOOST_ROOT=${PREFIX_ext_seexpr} -DBOOST_LIB_DIR=${PREFIX_ext_seexpr}/lib -DENABLE_LLVM_BACKEND=OFF -DENABLE_SSE4=OFF -DBUILD_DOC=OFF -DBUILD_TESTS=OFF -DBUILD_UTILS=OFF -DUSE_PYTHON=OFF
UPDATE_COMMAND ""
DEPENDS ext_qt ext_pyqt
)
......@@ -768,6 +768,7 @@ set EXT_TARGETS=%EXT_TARGETS% jpeg lcms2 ocio ilmbase openexr png tiff gsl vc li
set EXT_TARGETS=%EXT_TARGETS% giflib qt kwindowsystem drmingw gmic freetype poppler
set EXT_TARGETS=%EXT_TARGETS% python sip pyqt
set EXT_TARGETS=%EXT_TARGETS% lzma quazip openjpeg libheif
set EXT_TARGETS=%EXT_TARGETS% seexpr
for %%a in (%EXT_TARGETS%) do (
echo Building ext_%%a...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment