Hmm, apparently we did not think about that :)

If WT_CPP_11_MODE is not empty, the cmake script will assume C++11. So set
WT_CPP_11_MODE to "-O3" and widget gallery should be built...

Wim.


On 9 August 2015 at 20:18, Marius <wishi...@gmail.com> wrote:

> Hi,
>
> I built Wt with the free Intel C++ compiler (for Linux) with success.
>
> These are the flags / variables for ICC which work for me for now.
>
> export CC="icc"
> export CXX="icpc"
> export CFLAGS="-march=native -O3 -no-prec-div -fno-alias -pipe"
> export CXXFLAGS="${CFLAGS}"
> export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
> export AR="xiar"
> export LD="xild"
>
>
> I run cmake from a build dir:
>
> ** Enabling built-in httpd.
> -- Looking for strcasestr
> -- Looking for strcasestr - found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> *** Not building widget gallery; C++11 required (gcc > 4.6 + set
> WT_CPP_11_MODE=-std=c++0x or MSVS >= 2012)
>
> Is there a force flag somewhere to emit the compiler checks?
>
> Best,
> Marius
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to