开发者

Specifying build dependency in parallel builds using make

开发者 https://www.devze.com 2023-01-30 02:01 出处:网络
This is what I have: Test scripts under a folder that use some executables in the source tree. Sources for the executables used above under a separate folder in the source tree.

This is what I have:

  1. Test scripts under a folder that use some executables in the source tree.

  2. Sources for the executables used above under a separate folder in the source tree.

What I want to achieve:

Do a build, make sure # 2 is done first and only then #1 is done. How do I specify this dependency ? The build is 开发者_高级运维a parallel build and builds other sources under other directories too.

Why : Because during install I want to bundle the executables from # 2 along with the test scripts in #1.


Just make the appropriate executables dependencies of the test scripts. Is there more to it than that?

0

精彩评论

暂无评论...
验证码 换一张
取 消