The VS2015 solution has the following structure:
vs2015 Solution -
-Project-A (googletest source code)
-Project-B-Folder-1 (with source and header files)
-Folder-2 (with source and header files in 2 sub-folders)
-Folder-3 (with source and header files)
-src (with source files)
-include (with header files)-Project-C (unit tests)
I need to build a static library from all the sources in Project-B
and link this static library to Project-C
. I tried to use CMake just for Project-B
, but could not get it to work. Besides, this creates a projectB.sln
within the main *.sln.
What's the best way to deal with this, and ensure that this can scale later if I were to add a new project to the main solution? (I'm stuck with this set-up of the code because the previous developer structured it in that way.)