"Andy Skinner" wrote:
> We use SUNWspro, and CMake was picking gcc.

Simply set CC="cc -xO3 -xtarget=...." and CXX="CC <the same>" and
you're done.

In order to build the four binaries on Solaris I'm tweaking few
CMake-generated files - using a silly/simple script:

  for i in osgarchive osgconv osgversion osgviewer; do
    BUILDMAKE=applications/${i}/CMakeFiles/application_${i}.dir/build.make
    sed -e 's/\-lthread/\-lthread\ \-lrt/g' < ${BUILDMAKE} > TEMP
    mv TEMP ${BUILDMAKE}


Cheers,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to