News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Importing existing files under a project

Started by gauravnaik, May 01, 2012, 10:33:41 AM

Previous topic - Next topic

gauravnaik

hello,

i have some c++ files which i need to import under a single project in code blocks. I can open the files indvidually but i cannot use the features like "find implementaion" etc. i created a new project and replaced the main.cpp with the existing main, but it did not work.

please help.

thanks :)

MortenMacFly

Setup your project properly.

- create an empty project
- add all files needed to that project
- adjust the compiler / linker include path's and other settings so it compiles
- CC should work.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]