Blender Git Commit Log

Git Commits -> Revision 294eac2

Revision 294eac2 by Sergey Sharybin (master)
August 17, 2016, 12:00 (GMT)
CMake: Move main platform checks to separate files

Basically title says it all.

The goal is to make platform maintenance easier, so you don't have
to constantly scroll back and forth looking for if() branches to
check which exact platform you're currently working on.

Ideally we also would move option defaults to a platform files,
but that i'm not sure how to implement in a nice way yet.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D2148

Commit Details:

Full Hash: 294eac2991560a79aa3fc48d30965ee54508a322
Parent Commit: 186ee09
Lines Changed: +1700, -1574

5 Added Paths:

/build_files/cmake/platform/platform_apple.cmake (+430, -0) (View)
/build_files/cmake/platform/platform_unix.cmake (+425, -0) (View)
/build_files/cmake/platform/platform_win32.cmake (+87, -0) (View)
/build_files/cmake/platform/platform_win32_mingw.cmake (+302, -0) (View)
/build_files/cmake/platform/platform_win32_msvc.cmake (+452, -0) (View)

1 Modified Path:

/CMakeLists.txt (+4, -1574) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021