Blender Git Commit Log
Git Commits -> Revision 103a515
Revision 103a515 by Campbell Barton (master) July 14, 2016, 09:17 (GMT) |
CMake: per-target CFLAG & CXXFLAG support Applying cflags globally can be problematic especially with extern, intern libs. Now flags from target named will be used when defined, allowing for developers to define flags for modules they maintain. Convention is CMAKE_CFLAGS_${UPPERCASE_TARGET_NAME}, (CXXFLAGS for C++). eg: CMAKE_CFLAGS_BF_BLENDER, CMAKE_CFLAGS_MAKESDNA, CMAKE_CXXFLAGS_CYCLES_KERNEL On Linux run `make help` for full list of names, MSVC shows these in the solution. |
Commit Details:
Full Hash: 103a51504372129975e60f57fbf3c983527037eb
Parent Commit: 036c006
Lines Changed: +50, -2