Hi Folks,

For both Slicer and SimpleITK, there is currently no support for the clang
c++ standard library new implementation [1] that is now used by default on
Maverick.

It means that we currently expect our users to build the project by passing
the flag:
 -DCMAKE_CXX_FLAGS_INIT:STRING=-stdlib=libstdc++
as explained in [2]

To allow our users to build without explicitly passing flag, what would be
recommended approach ?

I was thinking about the following and would like to get your inputs /
suggestions:

1) Add a compile test so that the flag could be updated before the first
call to "project()/enable_langage()". Is this possible ?

2) Wrap the project into a superbuild structure ... that could work but
would be a ugly hack.

Thanks for your help,
Jc

[1] http://libcxx.llvm.org/

[2]
http://slicer-devel.65872.n3.nabble.com/Mavericks-with-SimpleITK-tt4030687.html
-- 
+1 919 869 8849
-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to