summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 14:09:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 14:09:13 -0600
commit78e0d2cd45f327df654c8dd17f7098271398177f (patch)
tree3efced3178e93221f7fb591f55ee743191613ef0 /SConstruct
parentbc53daed9ee964d59f9c9d6f06b0999b206d056f (diff)
downloadtdeio-locate-78e0d2cd45f327df654c8dd17f7098271398177f.tar.gz
tdeio-locate-78e0d2cd45f327df654c8dd17f7098271398177f.zip
Initial conversion of kio-locate to CMake
This probably won't build yet
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct82
1 files changed, 0 insertions, 82 deletions
diff --git a/SConstruct b/SConstruct
deleted file mode 100644
index dd1e218..0000000
--- a/SConstruct
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/usr/bin/python
-# kio-locate
-#
-# Copyright (C) 2005 by Tobi Vollebregt
-# tobivollebregt@gmail.com
-#
-# Thanks to Google's Summer Of Code Program!
-#
-# Copyright (C) 2005 by Armin Straub
-# linux@arminstraub.de
-#
-# Adapted from the example shipping with bksys.
-# Thomas Nagy, 2004, 2005
-# Thanks for this great tool!
-
-"""
-help -> scons -h
-compile -> scons
-clean -> scons -c
-install -> scons install
-uninstall -> scons -c install
-configure -> scons configure prefix=/tmp/ita debug=full extraincludes=/usr/local/include:/tmp/include prefix=/usr/local
-
-Run from a subdirectory -> scons -u
-The variables are saved automatically after the first run (look at cache/kde.cache.py, ..)
-"""
-
-###################################################################
-# LOAD THE ENVIRONMENT AND SET UP THE TOOLS
-###################################################################
-
-## Load the builders in config
-env = Environment( tools=['default', 'generic', 'kde'], toolpath=['./admin'])
-
-# Set the build directory so we can do "rm -rf build" to clean up.
-BuildDir('build/src', 'src')
-
-env.KDEuse("environ")
-#env.KDEuse("environ rpath lang_qt thread nohelp")
-
-# Add -DHAVE_UDS_HIDDEN if we detected the UDS_HIDDEN patch.
-if '1' in env['HAVE_UDS_HIDDEN']:
- env.Append(CPPFLAGS = ['-DHAVE_UDS_HIDDEN'])
-
-###################################################################
-# SCRIPTS FOR BUILDING THE TARGETS
-###################################################################
-
-## target processing is done in the subdirectories
-env.subdirs('build/src')
-
-############################
-## Process the documentation
-############################
-
-## Use a distinct environment
-myenv=env.Copy()
-
-## Define this to enable docbook file dependency tracking
-#myenv['i_am_a_documentation_writer']=1
-
-# This shouldn't be needed, but it works around a (possible) bug in bksys 1.5.2.rc1.
-# myenv['_BUILDDIR_']='build'
-
-## Use docfolder for each documentation directory
-## The parameters of docfolder are: documentation dir, language code, app name
-myenv.docfolder('doc/en/', 'en', 'kio-locate/')
-#myenv.docfolder('doc/fr/', 'fr', 'kio-locate/')
-
-############################
-## Process the translations
-############################
-
-## They are usually located in the po/ directory
-## We use myenv here because it has the _BUILDDIR_ workaround. See above.
-myenv.KDElang('po/', 'kio-locate')
-
-###################################################################
-# CONVENIENCE FUNCTIONS TO EMULATE 'make dist' and 'make distclean'
-###################################################################
-
-env.dist('kio-locate')