New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -5,20 +5,53 @@ if(APPLE)
|
|||
include_directories(${COCOA})
|
||||
endif()
|
||||
|
||||
if(WIN32 OR APPLE)
|
||||
set(frontend-tools_HEADERS
|
||||
auto-scene-switcher.hpp
|
||||
)
|
||||
set(frontend-tools_SOURCES
|
||||
auto-scene-switcher.cpp
|
||||
)
|
||||
set(frontend-tools_UI
|
||||
forms/auto-scene-switcher.ui
|
||||
)
|
||||
endif()
|
||||
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/frontend-tools-config.h.in"
|
||||
"${CMAKE_BINARY_DIR}/config/frontend-tools-config.h")
|
||||
|
||||
set(frontend-tools_HEADERS
|
||||
auto-scene-switcher.hpp
|
||||
${frontend-tools_HEADERS}
|
||||
"${CMAKE_BINARY_DIR}/config/frontend-tools-config.h"
|
||||
output-timer.hpp
|
||||
tool-helpers.hpp
|
||||
)
|
||||
set(frontend-tools_SOURCES
|
||||
${frontend-tools_SOURCES}
|
||||
frontend-tools.c
|
||||
auto-scene-switcher.cpp
|
||||
output-timer.cpp
|
||||
)
|
||||
set(frontend-tools_UI
|
||||
forms/auto-scene-switcher.ui
|
||||
${frontend-tools_UI}
|
||||
forms/output-timer.ui
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
set(frontend-tools_PLATFORM_SOURCES
|
||||
auto-scene-switcher-win.cpp)
|
||||
|
||||
if(BUILD_CAPTIONS)
|
||||
set(frontend-tools_PLATFORM_SOURCES
|
||||
${frontend-tools_PLATFORM_SOURCES}
|
||||
captions.cpp
|
||||
captions-stream.cpp)
|
||||
set(frontend-tools_PLATFORM_HEADERS
|
||||
captions.hpp
|
||||
captions-stream.hpp)
|
||||
set(frontend-tools_PLATFORM_UI
|
||||
forms/captions.ui)
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
set(frontend-tools_PLATFORM_SOURCES
|
||||
auto-scene-switcher-osx.mm)
|
||||
|
|
@ -29,13 +62,16 @@ elseif(APPLE)
|
|||
${COCOA})
|
||||
endif()
|
||||
|
||||
qt5_wrap_ui(frontend-tools_UI_HEADERS ${frontend-tools_UI})
|
||||
qt5_wrap_ui(frontend-tools_UI_HEADERS
|
||||
${frontend-tools_UI}
|
||||
${frontend-tools_PLATFORM_UI})
|
||||
|
||||
add_library(frontend-tools MODULE
|
||||
${frontend-tools_HEADERS}
|
||||
${frontend-tools_SOURCES}
|
||||
${frontend-tools_PLATFORM_SOURCES}
|
||||
${frontend-tools_UI_HEADERS}
|
||||
${frontend-tools_PLATFORM_SOURCES}
|
||||
${frontend-tools_PLATFORM_HEADERS}
|
||||
)
|
||||
target_link_libraries(frontend-tools
|
||||
${frontend-tools_PLATFORM_LIBS}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue