diff options
Diffstat (limited to 'knetwalk/src/SConscript')
-rw-r--r-- | knetwalk/src/SConscript | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/knetwalk/src/SConscript b/knetwalk/src/SConscript new file mode 100644 index 00000000..3be117e9 --- /dev/null +++ b/knetwalk/src/SConscript @@ -0,0 +1,23 @@ +#! /usr/bin/env python +Import('env') +myenv=env.Copy() +knetwalk_sources = [ +'cell.cpp', 'main.cpp', 'mainwindow.cpp', 'settings.kcfgc', 'highscores.cpp' +] +myenv.KDEprogram( "knetwalk", knetwalk_sources) +myenv.KDEaddpaths_includes( ['./', '#./']) +myenv.KDEaddlibs( ['qt-mt', 'kio', 'kdecore', 'kdegames']) +myenv.KDEinstall('KDEDATA', 'knetwalk', 'knetwalkui.rc') +myenv.KDEinstall('KDEDATA', 'knetwalk', 'eventsrc') +myenv.KDEinstall('KDEXDG', '', 'knetwalk.desktop') +myenv.KDEinstall('KDEKCFG', '', 'knetwalk.kcfg') + +soundfiles=""" +sounds/click.wav +sounds/connect.wav +sounds/start.wav +sounds/turn.wav +sounds/win.wav +""".split() + +myenv.KDEinstall('KDEDATA', 'knetwalk/sounds', soundfiles) |