Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Compiling pre-existing project with CodeBlocks
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Compiling pre-existing project with CodeBlocks (Read 3741 times)
havarti
Single posting newcomer
Posts: 9
Compiling pre-existing project with CodeBlocks
«
on:
November 14, 2013, 12:50:35 pm »
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.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13406
Re: Compiling pre-existing project with CodeBlocks
«
Reply #1 on:
November 14, 2013, 01:14:44 pm »
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...
Logged
(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
Almost regular
Posts: 223
Re: Compiling pre-existing project with CodeBlocks
«
Reply #2 on:
November 17, 2013, 07:52:42 am »
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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Compiling pre-existing project with CodeBlocks