User forums > Using Code::Blocks

Compiling pre-existing project with CodeBlocks

(1/1)

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...

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.

Navigation

[0] Message Index

Go to full version