Skip to content
Browse files

Further updates to plugin builder. Still need to resolve a makefile i…


git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 4, 2006
1 parent a5f70d2 commit d350790afd91a2ac92c800fc1cd7ae98e9cdf616
Showing with 8 additions and 10 deletions.
  1. +8 −10 src/plugins/
@@ -74,17 +74,15 @@
# its a go -- create the plugin and modify the build files
# create the new plugin directory
system("cp -r plugin_template $pluginDir");
# remove the README file
system("rm -rf $pluginDir/README");
# remove the subversion directory
system("rm -rf $pluginDir/.svn");
system("mkdir $pluginDir");
# copy files to appropriate names
system("cp $pluginDir/plugin.cpp $pluginDir/$pluginLCaseName.cpp");
system("cp $pluginDir/plugin.h $pluginDir/$pluginLCaseName.h");
#todo sort out copying these next items properly
system("cp $pluginDir/pluginbase.cpp $pluginDir/$pluginLCaseName.cpp");
system("cp $pluginDir/plugin.cpp $pluginDir/$pluginLCaseName.cpp");
system("cp plugin_template/ $pluginDir/");
system("cp plugin_template/plugin.cpp $pluginDir/$pluginLCaseName.cpp");
system("cp plugin_template/plugin.h $pluginDir/$pluginLCaseName.h");
system("cp plugin_template/plugingui.cpp $pluginDir/${pluginLCaseName}gui.cpp");
system("cp plugin_template/plugingui.h $pluginDir/${pluginLCaseName}gui.h");
system("cp plugin_template/pluginguibase.ui $pluginDir/${pluginLCaseName}guibase.ui");
system("cp plugin_template/pluginguibase.ui.h $pluginDir/${pluginLCaseName}guibase.ui.h");

# Substitute the plugin specific vars in the various files
# This is a brute force approach but its quick and dirty :)

0 comments on commit d350790

Please sign in to comment.
You can’t perform that action at this time.