Integrated Rhubarb for Spine into build

This commit is contained in:
Daniel Wolf 2018-02-02 21:28:57 +01:00
parent 61731441b3
commit 19a3144572
7 changed files with 52 additions and 6 deletions

View File

@ -5,11 +5,10 @@ include(appInfo.cmake)
# Build and install main executable
add_subdirectory(rhubarb)
# Install extras
install(
DIRECTORY extras
DESTINATION .
)
# Build and install extras
add_subdirectory("extras/AdobeAfterEffects")
add_subdirectory("extras/MagixVegas")
add_subdirectory("extras/rhubarb-for-spine")
# Install misc. files
install(

View File

@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.2)
set(afterEffectsFiles
"Rhubarb Lip Sync.jsx"
"README.md"
)
install(
FILES ${afterEffectsFiles}
DESTINATION "extras/AdobeAfterEffects"
)

View File

@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.2)
set(vegasFiles
"Debug Rhubarb.cs"
"Debug Rhubarb.cs.config"
"Import Rhubarb.cs"
"Import Rhubarb.cs.config"
"README.md"
)
install(
FILES ${vegasFiles}
DESTINATION "extras/MagixVegas"
)

View File

@ -10,4 +10,5 @@
/.idea/**/*.iml
/build/
/out/
/out/
/tmp/

View File

@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.2)
add_custom_target(
rhubarbForSpine ALL
"./gradlew" "jar"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building Rhubarb for Spine through Gradle."
)
install(
DIRECTORY "build/libs/"
DESTINATION "extras/rhubarb-for-spine"
)
install(
FILES README.md
DESTINATION "extras/rhubarb-for-spine"
)

View File

@ -0,0 +1,3 @@
# Rhubarb Lip Sync for Spine
TODO: Document how to use

0
extras/rhubarb-for-spine/gradlew vendored Normal file → Executable file
View File