[eigen] build system changes

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

currently we have test_xxx targets generating tests without debug
info, and debug_xxx targets with full debug info.

The true CMake way to do that would be with CMAKE_BUILD_TYPE. Actually
Hauke is already doing that for MSVC, which shows the current solution
is not satisfactory.

The only reason for test_xxx vs debug_xxx was that passing
-DCMAKE_BUILD_TYPE=XXX was cumbersome. Instead, what we can do is
generate in the build directory 2 tiny scripts ./debug and ./release
setting the corresponding build type.

This would also mean building tests with optimizations by default in
release mode. The big argument against that was compiler memory usage.
I think that argument has gone away now that the tests are split into
small executables.

ok?

Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/