tornavis/intern/atomic
Ray Molenkamp f0ee4c3ffe Cleanup: Cmake: use alias target for bf_intern_atomic
This introduces an alias target `bf::intern::atomic` for
`bf_intern_atomic`. This has the following benefits:

- Any target name with `::` in it will be recognized as an actual
target by cmake, rather than a library name it may not know about.
and will be validated by cmake to exist. Which means if you make
a typo in the LIB section, CMake will error out telling you it
doesn't know about this specific target rather than passing it on
to the build system, where you'll either get build or linker errors
because of said typo.

- Given there is quite a cleanup still to do in the build system,
it won't always be obvious which targets have been updated to
modern targets and which still need to be done. Having a namespaced
target name is a good indicator there.

Pull Request: https://projects.blender.org/blender/blender/pulls/109784
2023-07-07 15:37:02 +02:00
..
intern License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
tests Cleanup: remove workarounds and version checks for unsupported compilers 2022-09-27 07:05:13 +10:00
CMakeLists.txt Cleanup: Cmake: use alias target for bf_intern_atomic 2023-07-07 15:37:02 +02:00
atomic_ops.h License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00