2023-11-16 21:05:56 +01:00
|
|
|
file(GLOB effectFiles RELATIVE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/effects/*)
|
|
|
|
set(HYPERION_EFFECTS_RES "")
|
|
|
|
foreach(f ${effectFiles})
|
|
|
|
get_filename_component(fname ${f} NAME)
|
|
|
|
set(HYPERION_EFFECTS_RES "${HYPERION_EFFECTS_RES}\n\t\t<file alias=\"/effects/${fname}\">${f}</file>")
|
|
|
|
endforeach()
|
2013-11-24 18:53:20 +01:00
|
|
|
|
2023-11-16 21:05:56 +01:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/EffectEngine.qrc.in ${CMAKE_BINARY_DIR}/EffectEngine.qrc)
|
2013-12-11 21:58:59 +01:00
|
|
|
|
2013-11-24 16:10:48 +01:00
|
|
|
add_library(effectengine
|
2023-11-16 21:05:56 +01:00
|
|
|
${CMAKE_BINARY_DIR}/EffectEngine.qrc
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/ActiveEffectDefinition.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/Effect.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/EffectDefinition.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/EffectEngine.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/EffectFileHandler.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/EffectModule.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/effectengine/EffectSchema.h
|
|
|
|
${CMAKE_SOURCE_DIR}/libsrc/effectengine/Effect.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/libsrc/effectengine/EffectEngine.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/libsrc/effectengine/EffectFileHandler.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/libsrc/effectengine/EffectModule.cpp
|
2013-11-24 16:10:48 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(effectengine
|
2018-12-27 23:11:32 +01:00
|
|
|
python
|
2023-11-16 21:05:56 +01:00
|
|
|
hyperion
|
2021-11-16 17:12:56 +00:00
|
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
|
|
Qt${QT_VERSION_MAJOR}::Gui
|
2017-08-04 23:08:15 +02:00
|
|
|
)
|