Files
Allan Odgaard 417193e089 Update link dependencies for all targets
Some targets were including headers from frameworks not specified in their link dependencies. For a clean build this could cause an issue because the header was not available at the time of building the target.

The updated link dependencies are also based on what a target’s tests require. Ideally tests would have separate link dependencies, but as we don’t want to maintain this manually, this will have to wait until the build system automatically handles link dependencies.

Currently the commit command uses constants from the CommitWindow framework but should actually not be linked with it. However, the optimizer will strip dead code, so it should not result in much if any difference in the resulting binary and does solve a build dependency issue.
2016-05-07 13:00:55 +02:00

13 lines
469 B
Plaintext

TARGET_NAME = TextMateQL
SOURCES = src/*.{c,mm}
CP_Resources = resources/*
FRAMEWORKS = CoreFoundation QuickLook AppKit OSAKit
LINK += OakAppKit OakFoundation buffer bundles cf file io ns plist scope settings theme
LN_FLAGS -= -Wl,-dead_strip_dylibs
LN_FLAGS += -bundle
BUNDLE_EXTENSION = qlgenerator
# Load frameworks from the TextMate bundle
LN_FLAGS += -rpath @loader_path/../../../../../Frameworks