News:

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

Main Menu

Migrating from Atom

Started by newtocpp, February 22, 2019, 03:40:19 AM

Previous topic - Next topic

newtocpp

Hello, I want to start using codeblocks instead of Atom and cmake which I have been using from before.
I have encountered a "problem" (might be just me that is the problem :o)



What I wish to do:
I wish to import my whole (already working) project and directories into codeblocks

What I have done so far:
1) I have created a blank project
2) I copied my directories and files into the new project folder
3) Inside codeblock I selected "Project > Add files" and selected the files I wished to import (from the project folder mentioned in "2)" )

What my problem is:
I cant seem to find either the correct file or directory while trying to compile ???
Have also tried "#include "src/fauxmead.h", "#include "fauxmead.h"" and just to be on the safest side #include "Headers/src/fauxmead.h"

Screenshot: https://i.imgur.com/qysjbYV.png



I hope someone kicks my brain back on track.
Thanks for any contribution ;D

Quiss

Right click project (flush) and select "Build options". Then add the relevant directiories under "Search directories" tab.

oBFusCATed

If you have a cmake build system why don't you just do "cmake -G 'CodeBlocks - Ninja' ."?
(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!]

newtocpp

Does this allow me to import the whole project into codeblocks?

newtocpp

Quote from: Quiss on February 22, 2019, 07:08:08 AM
Right click project (flush) and select "Build options". Then add the relevant directiories under "Search directories" tab.

Thanks alot :)

oBFusCATed

Quote from: newtocpp on February 22, 2019, 01:11:31 PM
Does this allow me to import the whole project into codeblocks?
Yes and you'll be building with ninja/make and you won't have to replicate the cmake build system in c::b.
(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!]