port:libclang (and libLLVM)

Jack Howarth howarth.at.macports at gmail.com
Thu Mar 10 16:43:42 PST 2016


On Thu, Mar 10, 2016 at 4:47 PM, René J.V. <rjvbertin at gmail.com> wrote:
> On Thursday March 10 2016 14:24:00 Ryan Schmidt wrote:
>
>> > CMake does something similar for all 4 built-in presets, so the only way I know to control the exact compiler flags is to set CMAKE_BUILD_TYPE to a custom value. Debian/Ubuntu do that in their packaging scripts (-DCMAKE_BUILD_TYPE=Debian); I've proposed a modified CMake PortGroup that uses -DCMAKE_BUILD_TYPE=MacPorts (and parses configure.cppflags because CMake doesn't have a dedicated variable for preprocessor options).
>>
>> If so, that would be yet another bug, or yet another broken-by-design feature, of cmake.
>
> I tend to agree, but it depends on how you look at the concept of presets ...
>



More information about the macports-dev mailing list