Commit 323ff00
Dev (#103)
* Added a shared build example for macOS as well
* Improve compatibility with more generators (specifically milti-configuration generators like Ninja).
* Refined the caching of variables
* Lots of fixes. Cannot get the mac catalyst builds to work with the xcode generator, but works on all other tested generators.
* Exclude the CMAKE_FIND_ROOT_PATH from macOS builds since it is really only useful when cross-compiling. Also, for other platforms, CMAKE_OSX_SYSROOT_INT is now APPENDED to the CMAKE_FIND_ROOT_PATH to allow users to set own custom paths first for custom find_library behaviours
* Refined some xcode settings as well as fixed a few flaws with the macos builds skipping certain user-defined directories when using any of the find_* commands.
* Fixes for watchos with latest additions
* Added better comment about the symbol visibility
* Exported OSX_ARCHITECTURES as a global property and updated the README to reflect the latest changes.
Co-authored-by: Alexander Widerberg <[email protected]>1 parent cfa6908 commit 323ff00
File tree
4 files changed
+298
-182
lines changed- example/example-lib
4 files changed
+298
-182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments