diff options
| author | Tim Blechmann <tim@klingt.org> | 2022-05-25 02:36:18 (GMT) |
|---|---|---|
| committer | Tim Blechmann <tim@klingt.org> | 2022-06-01 04:12:08 (GMT) |
| commit | 4a9daae4832de862ee0f82e13784a93dcf5fafbe (patch) | |
| tree | 3c79bab444bd69a1e534a5d68bdfff0142a933af /Help/guide/tutorial/Step1 | |
| parent | 0b3056821929646a0b9394c95dbdcc1482a18e89 (diff) | |
| download | CMake-4a9daae4832de862ee0f82e13784a93dcf5fafbe.zip CMake-4a9daae4832de862ee0f82e13784a93dcf5fafbe.tar.gz CMake-4a9daae4832de862ee0f82e13784a93dcf5fafbe.tar.bz2 | |
automoc: silence linker warning on macos
when an empty `mocs_compilation.cpp` is included in a static library,
the macos linker emits a warning:
```
/Applications/Xcode13.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
file: path/To/Library.a(mocs_compilation.cpp.o) has no symbols
```
we therefore generate a globally visible weak symbol in the form of a
virtual function table
Diffstat (limited to 'Help/guide/tutorial/Step1')
0 files changed, 0 insertions, 0 deletions
