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.
Regards,
Thiago
------------------------------------------------------------------------------
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