Commit Graph

19 Commits

Author SHA1 Message Date
Thomas A
03db084961 Abstract Architecture Detection/Assignment
The main goal of this commit is to make it more easy to add or update any architecture we want to support (such as ARM64). Any changes we want to make would be done in the architectures.cmake file.

The secondary goal of this commit is to encourage a more architecture generic nomenclature. We shouldn't use i368/x86_64 unless we are dealing with code that is specific to those architectures.
2020-09-27 18:54:06 -07:00
Ariel Abreu
c9586c083e Link strong dependencies in the finalpass, too 2020-07-18 21:57:52 -04:00
Ariel Abreu
5a9c2b9695 Allow dependencies to be linked strongly
This is for circular libraries and frameworks that link to static libraries that other siblings depend on being available from the library
2020-07-18 20:04:43 -04:00
Ariel Abreu
e9f1bb2f1c
Fix add_darling_object_library to make 'i386_ONLY' and 'x86_64_ONLY' work 2020-07-15 12:15:48 -04:00
Ariel Abreu
4f1e0c9fee
Fix DSYM generation
The extra "${...}" was not necessary.

This allows DSYMs to be generated normally for all targets and still allows them to be disabled for specific targets via `<target_name>_NO_DSYM` (e.g. `JavaScriptCore_NO_DSYM`)
2020-05-04 20:34:23 -04:00
Ariel Abreu
0608fbff6c
Add the option to disable DSYM generation for specific targets
Primary motivation for this: JavaScriptCore. Generating the DSYM for that takes *forever* (but I still want to build the library)
2020-04-27 12:47:16 -04:00
Andrew Hyatt
d5f4e68180
Allow i386 or x86_64 only builds
Currently x86_64 or i386 only builds fail to enter shell.

CMake generation flags:
Build x86_64 only: -DTARGET_i386=OFF
Build i386 only: -DTARGET_x86_64=OFF

The default is still to build FAT binaries for both.
2019-08-13 14:29:14 -04:00
Andrew Hyatt
36245caa2e
Use different reexport style
The old one couldn't work under the limitations of CMake
2019-06-10 23:25:31 -04:00
Lubos Dolezel
b4ebfa955f Build dSYM files for all binaries 2018-07-30 12:22:45 +02:00
Lubos Dolezel
76ca3173e1 Set compatibility version to 1.0.0 by default for dylibs 2017-04-13 11:18:10 +02:00
Lubos Dolezel
1901d45306 Build Python 2.6 2017-03-07 15:10:16 +01:00
Lubos Dolezel
dd7dfc306d Build CoreServices and installer again, compat changes for running mc 2017-03-01 13:38:46 +01:00
Lubos Dolezel
70a9948594 Fixing several dependency issues encountered in unclean builds 2017-02-17 18:42:35 +01:00
Lubos Dolezel
d1cbe9d1ce Fix dyld errors with upward linking of objc; objc runtime now sadly aborts everything because of pthread_wrlocks 2017-01-30 22:00:11 +01:00
Lubos Dolezel
9a7fc93552 Working new libc and fat build, added machdep calls table and implemented sys_getentropy() 2017-01-28 00:27:14 +01:00
Lubos Dolezel
b7d8170e16 Implement CMake function for circular shared library builds 2017-01-26 22:46:50 +01:00
Lubos Dolezel
8481ea9c4c Work in progress - committing to back up my work 2017-01-24 22:22:04 +01:00
Lubos Dolezel
cf42a0c919 icu, xml2, xslt and openssl building as Mach-O; adding more lib symlinks 2017-01-17 17:24:26 +01:00
Lubos Dolezel
7a75aa42e2 Basic system libraries building as .dylibs, /usr/lib/dyld not linking yet 2017-01-17 14:31:33 +01:00