aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-22 08:05:58 -0700
committerAdam Vandenberg2010-09-29 22:00:24 -0700
commit82b97f56319080f4cb522c446c4c72230163b7af (patch)
tree8a693f0303e519190086d990787d4a5b7b2b2e16 /Library
parentdbd6de0d5da87ac79f65115212d20daf9436a6e2 (diff)
downloadhomebrew-82b97f56319080f4cb522c446c4c72230163b7af.tar.bz2
improve std_cmake_parameters comments
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index ebc626a45..6a382383b 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -208,12 +208,12 @@ class Formula
end
end
- # we don't have a std_autotools variant because autotools is a lot less
- # consistent and the standard parameters are more memorable
- # really Homebrew should determine what works inside brew() then
- # we could add --disable-dependency-tracking when it will work
+ # Standard parameters for CMake builds.
+ # Using Build Type "None" tells cmake to use our CFLAGS,etc. settings.
+ # Setting it to Release would ignore our flags.
+ # Note: there isn't a std_autotools variant because autotools is a lot
+ # less consistent and the standard parameters are more memorable.
def std_cmake_parameters
- # The None part makes cmake use the environment's CFLAGS etc. settings
"-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -Wno-dev"
end