简体   繁体   中英

Using common privilege helper tool across workspace- SMJobBless

I have a workspace which has 2 projects, one is installer application and other is uninstaller app. Both the apps requires privilege helper tool for some operations. I am trying to write a common tool as a third project in my workspace that would be linked with the existing projects.

Now, the question is how can i add that common tool in target dependency of existing projects and launch(privilege tool) it from other projects.

You can add the project that contains the helper tool within the other workspaces, and then add the target corresponding to the helper tool as build dependency, as you want.

If however you are using source control and have different repositories for projects, you can use the helper tool repository as a submodule to the other ones. See this article for more on git submodules and how you can use them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM