[cfe-dev] is configure+make dead yet?
geek4civic at gmail.com
Fri Jun 22 19:51:25 PDT 2012
2012/6/23 Joshua Cranmer <pidgeot18 at gmail.com>:
> I decided to try recently to do one of my builds with cmake instead of
> configure. The problem I hit is before I even try compiling in the first
> place: cmake /src/llvm --help produces an extremely useless list of options,
> so it's impossible to figure out how to configure it with cmake without
> looking up online. Compare this to /src/llvm/configure --help, where I can
> see what the default build will look like and also how I can tweak it for
> what I want. Even the online documentation is kind of crappy in this regard:
> e.g., LLVM_TARGETS_TO_BUILD doesn't tell you *which* targets you can build
> in the first place. I'm sure most people who do a lot of cmake know these
> settings by the back of their hand, but if you're like me and totally
> clueless when it comes to cmake, it's downright confusing.
ccmake will help you.
After generating makefiles, "make edit_cache" will show you options.
More information about the cfe-dev