Thanks for the two comments so far.

Will I need cmake to actually build on each platform?  Or can I just use
cmake to build the makefiles, etc.  I was thinking the latter, but
having just used cmake on linux to generate a build area, I tried making
on another platform, and it didn't work, looking for cmake.

So will I need cmake executables for every platform I build on?
(Although I've already built on win64 from a build area that I generated
on win32.)

thanks
andy



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sherman
wilcox
Sent: Monday, June 18, 2007 10:03 AM
To: osg users
Subject: Re: [osg-users] automated CMake?

Again, on Windows, here's an excerpt out of a batch file I use to
build OSG. You should call this file from within the Visual Studio
command prompt. I use Vista x64 and Visual Stuion 2005 (8.0).

Note: the %1 is a command line argument I pass to this batch file.
That argument being either build or rebuild

*******************************
cd\
cd 3rdparty\osg\OpenSceneGraph\

IF /I "%1"=="rebuild" cmake
-DCMAKE_INSTALL_PREFIX:PATH="C:\3rdparty\osg\common\OpenSceneGraph" .

devenv OpenSceneGraph.sln /%1 "Debug" /project "ALL_BUILD"
devenv OpenSceneGraph.sln /%1 "Debug" /project "INSTALL"
devenv OpenSceneGraph.sln /%1 "Release" /project "ALL_BUILD"
devenv OpenSceneGraph.sln /%1 "Release" /project "INSTALL"
*******************************

That's pretty much it. I have an OSG 3rdparty folder in
c:\3rdparty\osg\3rdparty.

On 6/18/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hi Andy,
>
> On 6/18/07, Andy Skinner <[EMAIL PROTECTED]> wrote:
> > Hi.  I need to get the Open Scene Graph into an automatic build
system,
> > which is how we keep our 3rd party software.  We'd like to check in
the
> > downloaded software plus minimal configuration stuff if we could.
We'd
> > like to not have to run CMake manually, as well.  (An alternative
would
> > be to download a version of OSG, run cmake manually to produce all
we
> > need, and check all that in.  I'd rather not do it this way.)
> >
> > I see that on Unix I can run cmake instead of ccmake, and I'm trying
> > that now.  If I wanted to specify some options, could I do so
without
> > using the UI?
> >
> > I need to build on Macs, Linux (32 and 64 bits), Windows (32 and 64
> > bits), and Solaris 64 bits.  For now, I think we'd be happy for the
Macs
> > to build like Unix if they can.  So can I get all these to build
> > automatically?
> >
> > I saw that I could use CMakeSetup.exe on Windows instead of ccmake.
Is
> > there an equivalent that wouldn't use the UI (like cmake vs ccmake
on
> > linux)?
> >
>
> On Windows you can call "cmake.exe" with options like -D to specify
options.
>
> --
> Serge Lages
> http://www.magrathea-engine.org
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to