Hi,
I've committed another batch of changes for the reorganisation branch
buildsystem, using CMake. First the bad news:
- It builds the source files for base/ and sound/ directories twice, one for
each executable target, because I'm not using static libraries now. I think
that the solution is to go back using static libraries again. CMake builds
all depending objects for each executable at independent directories. It is a
wise choice, because even the same sources can be built using different
options for several targets, but it hurts our building time. Comments?
- There are two CMakeLists.txt files, one at the root directory, and another
one at src/, and three more CMakeLists are still pending for po/, data/, and
docs/ directories. CMake wants to use directories, and nothing seems to work
if you don't walk directories at least once. I don't see how we can use only
one. Comments?
- The full install target is still pending. It only installs programs and
scripts from the src/ directory now.
- Two new custom targets: uninstall and distclean. The last one doesn't clean
everything yet. It depends on scripts/distclean.sh
Good news:
- Uses RGbuild/ directory to compile. No need to build out-of-sources.
- It detects and configures 3rd party libraries.
- CMake generates a nice configuration summary :)
- Very quiet console output for makefiles, without command lines. In Release
mode, most warnings are also hidden. For Eclipse it is necessary to have the
command lines along with the compiler errors and warinigs. This can be done
using this build command (it is already enabled in out Eclipse support files)
$ make VERBOSE=1
- User options are implemented (but still need more testing). All are yes/no
simple options, with the following default values:
OPTION(WANT_DEBUG "Include debug support" OFF)
OPTION(WANT_SOUND "Include Sound support" ON)
OPTION(WANT_ALSA "Include ALSA support" ON)
OPTION(WANT_JACK "Include Jack support" ON)
OPTION(WANT_DSSI "Include DSSI support" ON)
OPTION(WANT_LIRC "Include LIRC support" ON)
To change an option value, you can use command line parameters:
$ cmake . -DWANT_DEBUG=YES -DWANT_LIRC=OFF
You can use YES/yes/ON/on/TRUE/true/1 as value arguments to enable options,
and NO/no/OFF/off/FALSE/false/0 to disable them.
- You can also use the "ccmake" program to interactively configure and change
options, if you don't like the command line. It is very easy to use. Simply
go to the root directory and enter:
$ ccmake .
The first screen is mostly empty. Press the "c" key to start the configure
process. Once it has finished, you will see the configuration summary, and
you can press "e" to exit the display. It returns to the options screen with
a new set of configuration values, that you can review and change. Once
finished, press "c" again for the final configuration, and finally press "g"
to generate Makefiles and exit the program.
Regards,
Pedro
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel