From 19a31445729fb3d9214fc1a422481675590da689 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Fri, 2 Feb 2018 21:28:57 +0100 Subject: [PATCH] Integrated Rhubarb for Spine into build --- CMakeLists.txt | 9 ++++----- extras/AdobeAfterEffects/CMakeLists.txt | 11 +++++++++++ extras/MagixVegas/CMakeLists.txt | 14 ++++++++++++++ extras/rhubarb-for-spine/.gitignore | 3 ++- extras/rhubarb-for-spine/CMakeLists.txt | 18 ++++++++++++++++++ extras/rhubarb-for-spine/README.md | 3 +++ extras/rhubarb-for-spine/gradlew | 0 7 files changed, 52 insertions(+), 6 deletions(-) create mode 100644 extras/AdobeAfterEffects/CMakeLists.txt create mode 100644 extras/MagixVegas/CMakeLists.txt create mode 100644 extras/rhubarb-for-spine/CMakeLists.txt create mode 100644 extras/rhubarb-for-spine/README.md mode change 100644 => 100755 extras/rhubarb-for-spine/gradlew diff --git a/CMakeLists.txt b/CMakeLists.txt index 81b1cb0..14c8eab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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( diff --git a/extras/AdobeAfterEffects/CMakeLists.txt b/extras/AdobeAfterEffects/CMakeLists.txt new file mode 100644 index 0000000..c69164b --- /dev/null +++ b/extras/AdobeAfterEffects/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.2) + +set(afterEffectsFiles + "Rhubarb Lip Sync.jsx" + "README.md" +) + +install( + FILES ${afterEffectsFiles} + DESTINATION "extras/AdobeAfterEffects" +) diff --git a/extras/MagixVegas/CMakeLists.txt b/extras/MagixVegas/CMakeLists.txt new file mode 100644 index 0000000..ba9d45b --- /dev/null +++ b/extras/MagixVegas/CMakeLists.txt @@ -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" +) diff --git a/extras/rhubarb-for-spine/.gitignore b/extras/rhubarb-for-spine/.gitignore index 5889e76..2753810 100644 --- a/extras/rhubarb-for-spine/.gitignore +++ b/extras/rhubarb-for-spine/.gitignore @@ -10,4 +10,5 @@ /.idea/**/*.iml /build/ -/out/ \ No newline at end of file +/out/ +/tmp/ diff --git a/extras/rhubarb-for-spine/CMakeLists.txt b/extras/rhubarb-for-spine/CMakeLists.txt new file mode 100644 index 0000000..a4fb7cb --- /dev/null +++ b/extras/rhubarb-for-spine/CMakeLists.txt @@ -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" +) diff --git a/extras/rhubarb-for-spine/README.md b/extras/rhubarb-for-spine/README.md new file mode 100644 index 0000000..dcabdcf --- /dev/null +++ b/extras/rhubarb-for-spine/README.md @@ -0,0 +1,3 @@ +# Rhubarb Lip Sync for Spine + +TODO: Document how to use \ No newline at end of file diff --git a/extras/rhubarb-for-spine/gradlew b/extras/rhubarb-for-spine/gradlew old mode 100644 new mode 100755