I use a git repositories for C++ projects built using scons. Project A is then inserted to project B as a git submodule. Project A default scons target generates a dynamic library. My intent is that project B which needs that library builds the default target of project A regardless what target name was given for project B build.
I currently have in project B Sconstruct file an instruction to execute the Sconscript of the project A. The problem is that when want to build the project B like "scons testsX" the build target is named to be testX and that target does not exist in project A and the build fails. I really need the subproject built using default target regardless what target is chosen for the master project build.
What to do in this kind of situation? (Importing the library to the project sources as a binary is not at all satisfactory btw.)
No replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









