On Mon, Nov 30, 2015 at 7:01 PM, Dan Liew <d...@su-root.co.uk> wrote: > Hi Michael, > >> Not going into detail as I'm typing on the phone, but this really sounds >> like a case where a "SuperBuild" >> (http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html) >> can help you to simplify things a lot. > > Thanks for the suggestion but this certainly is not a case where a > "SuperBuild" would help. CMake does not know how to configure a > compiler that can produce LLVM Bitcode so using a "SuperBuild" is not > going to help. > > Dan.
Hi Dan I fail to see why that should not work. Producing LLVM bitcode from C++ with Clang is just adding -emit-llvm flag, right? So, why can't the SuperBuild configure the child build to use Clang and this flag? And Bob's your uncle... Michael -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake