I have a C++ Visual Studio project (say p1) in which in one of the header file (say h1.h) I have
#define a 5
the project also has many other .cpp files many of which includes h1.h
Now I want to have a different independent project (say p2) in which the only change is in h1.h which is
#define a 6
I want to reuse all the files of p1 in p2. Question is what is a way I can have a design such that I have two such project in the same solution without duplicating too many files?
include pathto point to a specifich1.h