2

I have a simple codelite project structure as follows:

enter image description here

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.

halfer
  • 19,824
  • 17
  • 99
  • 186
user3243499
  • 2,953
  • 6
  • 33
  • 75