Author: Diego Barrios Romero <[email protected]>
Date:   Sun Feb 26 18:03:04 2012 +0100

Target option

---

 synfig-core/src/tool/main.cpp |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index e880bc0..26ea97c 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -525,6 +525,9 @@ int main(int ac, char* av[])
                        return SYNFIGTOOL_HELP;
                }
 
+
+               // Processing options 
--------------------------------------------------
+               string target_name;
                // Common input file loading
                if (vm.count("input-file"))
                {
@@ -539,6 +542,11 @@ int main(int ac, char* av[])
                        job_list.push_front(job);
                }
 
+               if (vm.count("target"))
+               {
+                       target_name = vm["target"].as<string>();
+               }
+
                // WARNING: canvas must be before append
 
                if (vm.count("canvas"))


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to