Blender Git Loki

Git Commits -> Revision a2d8cf3

Revision a2d8cf3 by Lukas Toenne (master)
October 6, 2012, 11:00 (GMT)
Better support for LLVM linking, needed for static OSL library.

This adds cmake code for LLVM on linux and updates the cmake code used for OSX.
LLVM is linked like other external libraries now, by using the setup_liblinks and setup_libdirs macros instead of the PLATFORM_LINKFLAGS variable.
The use of llvm-config for getting a list of libraries can also be simplified quite a bit.

Caching the LLVM_DIRECTORY and LLVM_VERSION strings could be nicer though.

Commit Details:

Full Hash: a2d8cf333fb61de97270c1dce732a72915f20dd4
SVN Revision: 51109
Parent Commit: c001bd8
Lines Changed: +120, -60

2 Modified Paths:

/build_files/cmake/macros.cmake (+6, -0) (Diff)
/CMakeLists.txt (+114, -60) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021