News:

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

Main Menu

Compiling pre-existing project with CodeBlocks

Started by havarti, November 14, 2013, 12:50:35 PM

Previous topic - Next topic

havarti

Hi

I have a bunch of C++ files and associated headers, and I wanted to work with them in CodeBlocks. A CMakeLists-file comes with the project. Am I supposed to add this to CodeBlocks before I can build it?

Thanks in advance.

oBFusCATed

You have two options:
1. use your makefile in a custom make file project (search the forum for details)
2. redo your project in the C::B's built-in build system

Both have pros and cons...
(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!]

ouch

I would like to add that if it is your project and have control over it use 2. If it's not your project and your just compiling something from say SVN then definitely go with 1.