Hello

I wuld like generate my makefile projet by running 'cmake' in command line:
cmake
-D "BUILD_EXAMPLES:BOOL=OFF"
-D "CMAKE_CXX_FLAGS:STRING=-Wall"
:
:
-D "CMAKE_OSX_ARCHITECTURES:STRING=i386"
:
:

But CMAKE_OSX_ARCHITECTURES value is always force by cmake and set to the default value "ppc;i386;ppc64;x86_64". The line -D "CMAKE_OSX_ARCHITECTURES:STRING=i386" has no effect.


I try a second solution:
cmake -C MyConfig.cmake

and MyConfig.cmake contain:
:
:
SET( CMAKE_OSX_ARCHITECTURES "i386" CACHE STRING "OX Architectures" FORCE)
:
:

But it the same result.


How can I force the value ? Is it possible ?


Regards,
Thomas



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thomas FEUVRIER - Ingénieur de développement / Traitement des images
CS / ESPACE / Départ. Information Géographique & Image
+33 (0)561 17 65 16 / FAX : +33 (0)561 34 84 15 / thomas.feuvr...@c-s.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
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