diff options
Diffstat (limited to 'asciiquarium/src/SConscript')
-rw-r--r-- | asciiquarium/src/SConscript | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/asciiquarium/src/SConscript b/asciiquarium/src/SConscript new file mode 100644 index 00000000..ef7ffeb3 --- /dev/null +++ b/asciiquarium/src/SConscript @@ -0,0 +1,44 @@ +#! /usr/bin/env python +## This script demonstrates how to build and install +## a simple kde program having KconfigXT settings +## with scons +## +## Thomas Nagy, 2004, 2005 + +## This file can be reused freely for any project (see COPYING) + +############################ +## load the config + +## Use the environment and the tools set in the top-level +## SConstruct file (set with 'Export') - this is very important + +Import( 'env' ) +myenv=env.Copy() + +############################# +## the programs to build + +# The sources for our program - only .ui, .skel and .cpp are accepted +aa_sources = """ +aasaver.cpp +screen.cpp +frame.cpp +sprite.cpp +AASaverConfig.kcfgc +settingswidget.ui +""" + +myenv.KDEprogram( "asciiquarium.kss", aa_sources ) + +############################ +## Customization + +## Additional include paths for compiling the source files +## Always add '../' (top-level directory) because moc makes code that needs it +myenv.KDEaddpaths_includes('#/src/ #/') + +## Necessary libraries to link against +myenv.KDEaddlibs( 'qt-mt kdecore kdeui kscreensaver' ) +myenv.KDEinstall('KDEAPPS', 'System/ScreenSavers', 'asciiquarium.desktop') +myenv.KDEinstall('KDEKCFG', '', 'asciiquarium.kcfg') |