Thiago Bastos wrote:
> Hi,
> 
>     IIUC, CMake doesn't offer that capability either. You set options, then
>     run a configure pass to generate makefiles, then use your local tools to
>     compile it, according to the set flags. At least for cmake with msvs,
>     all configs (debug/release/etc) get the same flags, so you actually need
>     to change flags, generate & recompile again. And you'd better specify a
>     different directory so you don't overwrite your project-files (which
>     makes msvs do a complete recompile).
> 
> 
> Actually, that is true for Makefiles: you do have to run CMake twice, 
> which is a shame.
> (Of course, it's easy to circunvent this limitation with a wrapper Makefile)
> 
> But it's not true for VisualStudio. In this case CMake does a pretty 
> good job at generating different flags for multiple build 
> configurations. It supports by default: Release, Debug, MinSizeRel and 
> RelWithDebInfo all at once.

Yes, but if I have a separate flag (like the memory debugging one 
mentioned) that's not linked to debug/release/whatnot, then I get the 
same issue. I don't think you can specify different flags for different 
builds with cmakesetup?

Assuming that, yeah, it's a bit better than makefiles, but it's not perfect.

/Marcus

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to