Bo Peng wrote:
All is fine now, except that the CCFLAGS of previous mingw build is
restored for the msvc build. I guess this is unavoidable and a "del
env.cache" solves the problem anyway.

I implemented load_option=-opt1,opt2 and load_option=opt1,opt2 . The
first one means do not load opt1, opt2,, the second one means load
only opt1, opt2 etc. load_options=yes/no still works. They are useful
only for interactive use though.

You see, I solved the problem before you bring it up. :-)

Good ;-)
I would prefer remove_options="opt1, opt2" though...


By the way, can I mix "build_dir=msvc" and "mode=release" options?

The answer is maybe since I have not tried. It seems to me that
mode=release will give you the right options, and build_dir will
override  build directory.

OK, I'll try that.


As I know nothing about msvc options, I don't really know if
optimization are enabled by default for msvc... A message stating so
would be welcome.

Now, debug/release mode now have hard-coded options that you can not
change. Your CCFLAGS will override default flags. If you are not sure
about default options, use optimization='/O3'.

I mean: it would be nice, if default options are used, to say so in the final listing stage.

Abdel.



Bo


Reply via email to