Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: dushara on November 30, 2012, 03:43:25 am

Title: Adding existing files to project in wizard
Post by: dushara on November 30, 2012, 03:43:25 am
Hi all,

I'm working on a new project wizard where I need to files that already exist to the project being created (this is to create unit testing projects and the test framework sources already exist elsewhere). However I'm not sure how to do this.

I've tried calling AddFileToTargets(Wizard, absolute path to source) in the SetupProject() project callback but that doesn't work.

How can this be done?

Thanks
Dushara