On Thursday 11 August 2011, Nils Hjelte wrote:
> Hello!
> 
> I'm trying to port a C++ project to NaCl
> (http://code.google.com/chrome/nativeclient/), with cmake as the build
> system, and I need to figure out some things. I am using a Mac as
> build machine. I have changed the CMAKE_CXX_COMPILER/LINKER variables
> to use the nacl toolchain. What I would like to know is if it is
> possible to discard all the default compiler flags. I get lots of
> flags that the nacl compiler does not like,

After a very quick first look, maybe this should be treated as cross 
compiling, with the target OS being "NaCl" or something like that.
That way you'll have a platform file, where you can set all the flags as 
necessary for that target.

Alex
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to