CMake update

Michel Lesoinne <[email protected]> Sat, 01 Mar 2008 14:35:28 -0700
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Hello all.

I am Michel and maybe you have seen in Robin's blog that I have started
contributing to Glasgow.
I just commited to cvs files to build cinepaint and glasgow using cmake.
CMake is a very impressive configuration program. I had no experience of
it before but was able to pick it up rather quickly. It allowed me to
compile glasgow on linux quite rapidly. I hope you will test it on your
system and report any difficulty you may have.
Since the first work I did that Robin introduced in cvs, I have now
added the compilation of the cinepaint directory.
This is not totally complete as I have not yet done the cmake files for
all the plug-ins. It is not difficult to add the missing ones, it is
just a bit tedious.
There is also need to complete the definition of a complete install of
cinepaint. Right now, only basic files are installed and a few more
things should be done to have a complete install.

To use cmake, check out a fresh copy of cinepaint-project and then in
the cinepaint-project, type:
 cmake .
then:
 make
Finally you can do a
 make install
Right now it installs only some of the the cinepaint subdirectory files.
If you wish to modify where the code will install, you will need to
modify the PREFIX variable in the cinepaint/CMakeLists.txt to the place
you wish to use.

I hope you can all use this new tool and let me improve it. I have only
tested it on one linux distribution so far (OpenSuse 10.3), but Robin
has tested it on another.
In theory, it can also generate Visual Studio project files, but I have
no experience with this. So any report from somebody trying it would be
welcome.

Michel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/