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
.