Commit Graph

15 Commits

Author SHA1 Message Date
Allan Odgaard
7290c5119e Assume cap’n’proto is installed in parent of build directory 2014-03-14 22:54:27 +07:00
Allan Odgaard
e2d2b1ef6a Do not pass -fobjc-default-synthesize-properties to clang
This option was removed in revision 191551 of clang (Sep 27, 2013).

Property synthesizing seems to now be default, it’s unclear to me what revision of clang made the behavior default, but since we require a fairly recent version for other things (like Cap’n’proto) I don’t think this change will cause a problem.
2014-02-15 09:40:59 +07:00
Allan Odgaard
4080e1dc96 Add support for serialization of cache_t with cap’n proto
See http://kentonv.github.io/capnproto/install.html for how to install.
2013-08-18 17:14:23 +02:00
Jacob Bandes-Storch
847bef3bdd Use @rpath so frameworks can be loaded from the app bundle
@executable_path is the originally-executed program, whereas @loader_path is the program that caused the load to occur (e.g. a Quick Look generator). @rpath can be changed at link time — a QL generator can specify a value that points to the enclosing app bundle’s Frameworks directory.
2013-07-30 22:16:17 +02:00
Allan Odgaard
c9812c5e8a Do not set hidden visibility for C sources
This is for oniguruma and ideally we would set this only for the oniguruma target, but then we need special precompiled headers for that target, so this is a practical way to achieve the goal (there are no other C sources in the build tree).
2013-07-21 13:25:29 +02:00
Allan Odgaard
bd5b105a44 Only set -fobjc-link-runtime for app targets
Ideally this should be set for executable targets that use Objective-C (and have deployment target set to 10.7).

This change is a quick fix for not having pure C++ tests leak. For more info see https://github.com/sorbits/rdar/blob/master/LeakWith10_7ObjCRunTime/README.md
2013-02-25 15:28:37 +01:00
Allan Odgaard
91d786b2cd Don’t set -fobjc-arc-cxxlib=libc++
I never understood what this option was good for and now it gives a warning about being unused during compilation (even though it was set only during linking).
2013-02-02 08:52:13 +01:00
Allan Odgaard
e7b81dba9b Strip indirectly referenced dylibs
Basically libraries referenced indirectly will be setup as a requirement of the target and this option strips that. Doesn’t really matter, but enabling it rather than deleting the line (which was previously commented).
2013-01-29 21:16:49 +01:00
Allan Odgaard
71be61cbbb Enable ARC by default
We now explicitly disable it for targets that hasn’t yet been upgraded to ARC. This way, it’s easier to get an overview of which targets hasn’t yet been upgraded and ensures new targets has ARC enabled.
2012-12-19 19:42:36 +01:00
Allan Odgaard
065f5552bb Enable implicit @synthesize
I haven’t removed the current use of @synthesize since that results in a build that throws exceptions and crashes.
2012-09-12 18:30:37 +02:00
Allan Odgaard
7cfc9c38fc Link with -fobjc-link-runtime for arclite 2012-08-29 14:27:35 +02:00
Jacob Bandes-Storch
dca4292990 Use 64-bit: compiler/linker settings 2012-08-28 21:32:46 +02:00
Jacob Bandes-Storch
502b9e59d1 Use colored diagnostics for compiler output 2012-08-28 20:34:05 +02:00
Jacob Bandes-Storch
c6b6d1a21d Use libc++: compiler/linker settings 2012-08-28 13:30:20 +02:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00