[sldev] [VWR] Switch to cmake?

Bill Hoffman bill.hoffman at kitware.com
Fri Oct 19 08:50:31 PDT 2007


Dzonatas wrote:
> Bill Hoffman wrote:
>> That was the exact reason CMake was created.  To automate the "busy 
>> work".
> 
> Hi Bill.  Have you tried to do a full compile of SL with Express? I know 
> it compiles, but after I do a small change and re-compile it forces a 
> complete build of all files again. I know CMake would generate project 
> files, and that would seem not to work for Express users from what I 
> found. Someone mentioned CMake had an automake like option instead of 
> project files for Windows, but how does that work flow?
> 

OK, I am a bit lost here...   I have not built SL at all.  What do you 
mean by Express?   I am not sure what you mean by automake like options 
either. CMake can generate nmake and gmake files on windows as well as 
the IDE project files.  I currently use gmake with the MS VS 2005 
compiler, and make -j2 for a dual core processor.  Is that what you are 
asking?

> Does it also do staged builds? We compile all the external libraries, 
> build the directory structures, and then compile all of SL itself, then 
> create an installation package (InstallJammer).

It could be made to do staged builds.  The external libraries could be 
made to be a separate project, and SL could be a project that uses that 
project, much like my small VTK example.  CMake supports creation of 
installer stuff as well.  We currently support NSIS installer, Debian 
packages, RPMs, cygwin packages, zip files, tar.gz files, and self 
extracting tar.gz files.


I am not really sure I answered your questions.

-Bill


More information about the SLDev mailing list