Reputation: 3161
I have a simple codelite project structure as follows:
All of the three main.cpp files are independent. I just want to keep it that way as I am not building a typical c++ project rather, I want to use CodeLite to compile, run and test one cpp file to solve some algorithmic puzzles online.
However, when I run p2/src/main.cpp
, p1/src/main.cpp runs
, and when I do the same with p3/src/main.cpp
, p1/src/main.cpp
runs again.
Basically, I am not able to build and run other codes except p1/src/main.cpp
.
Upvotes: 2
Views: 2307
Reputation: 1
I hope it's not late to help you, if so, i hope it helps somebody else. I was struggling the the same thing, but i manage to do it, here's the path:
Right Click on the Workspace to create your project
and it's done you can have as many projects as you want and all of them gonna run
I hope i helped.
Upvotes: 0