Author Topic: Creating a project in Code blocks  (Read 2859 times)

Offline Chaklader

  • Single posting newcomer
  • *
  • Posts: 2
Creating a project in Code blocks
« on: January 20, 2012, 02:15:36 pm »
Dear All,

This is my first email in this forum. I had couple of files with that I need to create a project. I already opened a created a project with main.cpp file named CFD code in my D drive notebook. I have 15 other files composed of cpp source & header files. Anyone could tell me that how I could add the other files to main.cpp to finish the project ?


regards-
lemon

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13405
    • Travis build status
Re: Creating a project in Code blocks
« Reply #1 on: January 20, 2012, 02:48:26 pm »
"File -> New -> Project..." and then "Project -> Add files"
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9614
Re: Creating a project in Code blocks
« Reply #2 on: January 20, 2012, 03:06:36 pm »
"File -> New -> Project..." and then "Project -> Add files"
...or even "Add files recursively", if needed. However, make sure you only add the files your project really needs.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Creating a project in Code blocks
« Reply #3 on: January 20, 2012, 04:09:20 pm »
And don't forget to remove main.cpp if it is not part of your new project.

Offline Chaklader

  • Single posting newcomer
  • *
  • Posts: 2
Re: Creating a project in Code blocks
« Reply #4 on: January 24, 2012, 09:52:52 am »
I'm sorry to reply you so late. Thanks everyone. I already made it  ;D
Though I have some compiling error