Should probably go in Library/Homebrew/formula.rb, as std_cmake_parameters
It should choose the QMAKESPEC (see /usr/local/Cellar/qt/4.7.4/mkspecs) according to the active compiler, e.g. --use-llvm should generate -spec macx-llvm, --use-gcc should generate -spec macx-g++ and --use-clang should generate some warning, since clang isn't currently a supported makespec.
Should probably go in Library/Homebrew/formula.rb, as
std_cmake_parameters
It should choose the QMAKESPEC (see /usr/local/Cellar/qt/4.7.4/mkspecs) according to the active compiler, e.g.--use-llvm
should generate-spec macx-llvm
,--use-gcc
should generate-spec macx-g++
and--use-clang
should generate some warning, since clang isn't currently a supported makespec.