#! /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
btype_sources = """
btype.cpp
main.cpp
bytetape.cpp
mainformbase.ui
mainform.cpp
sha1.cpp
sha1hash.cpp
"""

myenv.KDEprogram( "btype", btype_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 kio kdecore kdeprint kdeui' )
