Subdirs project with custom step between projects?
-
I have a subdirs project and a custom build step that needs to be executed after one of the subprojects is already build but before another subproject begin building.
So what's need to happen is:
For now I just open the projects separately and build them by hand in order... but the build takes some time so this is inconvenient and in reality there is more than only 3 steps so I created two subdirs pro files but that's just ugly.
Custom qmake steps for each subproject's pro file? What's the elegant solution?
-
Hi,
What does your custom build step need to do ?
-
@SGaist said in Subdirs project with custom step between projects?:
Hi,
What does your custom build step need to do ?
It builds Godot module with SCons, this module needs the first subproject (non-Qt shared library). The third subproject is tests for the library written with Qt. It all warks together well, just I have to compile everything in order, using separate PRO files. There are also some other things in the subproject but not really important.
-
In that case, wouldn't it be simpler to do that with cmake ?
-
Probably... I'm just so used to qmake I didn't even consider it. Now that Qt6 will use cmake anyway, maybe it's time to learn... so, what I want is impossible in a way I wanted it, yes?
-
You could have a third subdirs project that handles the intermediate build between the two others.