Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
cbMakefileGen plugin
kisoft:
--- Quote from: Denis on September 28, 2007, 04:14:12 pm ---Can't build plugin from SVN. Build process stops with message:
--- Code: ---D:\GCC\CodeBlocksPlugins\MakefileGen\Makefile.cpp: In member function 'bool cbMGMakefile::SaveMakefile()':
D:\GCC\CodeBlocksPlugins\MakefileGen\Makefile.cpp:181: error: 'ctInvalid' was not declared in this scope
--- End code ---
--- End quote ---
I update repository today. Fixed Makefile.cpp. This is temporary solution.
checkout repository: /branches/alltargets
trunk repository being content old version 0.2 now.
After will do release 0.3 version (I think it will ver. 0.4), trunk will update.
Thanks for bugreport!
Good Luck!
Denis:
Thanks. It compiles now
MortenMacFly:
It really seems to work - I tried today another time with another project and it worked from scratch. Well done. Hence one thing I am missing: The plugin does overwrite existing Makefile's without any warning. This is no good. I lost an old Makefile that way. :-( Any chance for an improvement accordingly?! ;-(
kisoft:
--- Quote from: MortenMacFly on October 01, 2007, 02:25:50 pm ---It really seems to work - I tried today another time with another project and it worked from scratch. Well done. Hence one thing I am missing: The plugin does overwrite existing Makefile's without any warning. This is no good. I lost an old Makefile that way. :-( Any chance for an improvement accordingly?! ;-(
--- End quote ---
You should do configure the Overwrite option into Settings/Environment/cbMakefileGen dialog.
Overwrite is true by default, hmm. :(
Now I being changed default values to:
--- Code: ---FileName: "Makefile.gen"
Overwrite: "false"
--- End code ---
I will tests and do commit this changes to repository and binary distributive later.
I have idea for add an execution dialog for show options, error messages and other logs.
This dialog would content all options and filename of Makefile and an file existance flag.
Big sorry.
MortenMacFly:
--- Quote from: kisoft on October 01, 2007, 03:06:40 pm ---You should do configure the Overwrite option into Settings/Environment/cbMakefileGen dialog.
Overwrite is true by default, hmm. :(
--- End quote ---
Oh - a config! Sorry - I missed that completely. Well if it's an option than it fine! Thanks! :-)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version