Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在 XCode 中开发 GTK+ 应用程序。为了让它正常运行,我需要使用一个特殊的 GTK+ 脚本来设置大量的环境变量:
jhbuild run path/to/compiled/binary
如何覆盖 XCode 中的“运行”函数,以便它以这种方式调用应用程序?
(我发现的一种解决方法是创建一个运行 shell 脚本的新聚合构建目标。这需要我在编译应用程序和运行它之间更改方案。这在语义上是不正确的,并且还会导致应用程序在后台启动.)