summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-19 03:38:44 -0400
committerLioncash <mathew1800@gmail.com>2018-03-19 04:02:12 -0400
commit3a4c3bbe01e7a44ec997f4fbf0b678fba6f2d46c (patch)
tree8fe36291b72940dc9bd1fbde2a217feb532442c7 /Source/Core/Common/FileUtil.cpp
parent0c128f3abe3f261db88b4986ec4e8dedf85b5d9c (diff)
Core/CMakeLists: Migrate off add_dolphin_library
This macro (that has unfortunately become the de-facto way of introducing targets) has a lot of disadvantages that outweigh the fact that you avoid writing two extra lines of CMake script. - It encourages the use of variables. In a build system the last thing we want to care about is mutable state that can be avoided. - It only handles linking in the libraries and nothing else. It's a laziness macro. - We should be explicit about what we're doing by introducing the target first, not last. This gets the ball rolling by migrating Core off the macro. Note that this is essentially 1-to-1 unrolling of the macro, therefore we're still linking in all libraries as public, even though that may not be necessary. This can be revisited once everything is off the macro for a quicker transition period.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions