diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:18:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:18:13 -0600 |
commit | 2fb700f92bb787fab0845a63a541cd5640daa449 (patch) | |
tree | c6f769db55585dd47a9fd415a40ee8b86926f683 /languages/cpp/app_templates/kscons_kmdi/SConscript-src | |
parent | fd1d1e1064eb09ddbbd67d3597c39856f5c0bc76 (diff) | |
download | tdevelop-2fb700f92bb787fab0845a63a541cd5640daa449.tar.gz tdevelop-2fb700f92bb787fab0845a63a541cd5640daa449.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kscons_kmdi/SConscript-src')
-rw-r--r-- | languages/cpp/app_templates/kscons_kmdi/SConscript-src | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/SConscript-src b/languages/cpp/app_templates/kscons_kmdi/SConscript-src deleted file mode 100644 index c1f9742d..00000000 --- a/languages/cpp/app_templates/kscons_kmdi/SConscript-src +++ /dev/null @@ -1,60 +0,0 @@ -#! /usr/bin/env python -## This script is a quick test to demonstrate (and test) -## the bksys moc handling '#include "file.moc"' can be added .. or not -## -## Thomas Nagy, 2005 -## This file can be reused freely for any project (see COPYING) - -Import('env') -myenv=env.Copy() - -## First build : the shell -## Each tab in it will hold an instance of the part .. - -%{APPNAMELC}_sources=""" -main.cpp -%{APPNAMELC}kmdi.cpp -%{APPNAMELC}kmdiView.cpp -kmdikonsole.cpp -settings.kcfgc -prefs.ui -""" -# Now that we have our list of sources we can build the program -myenv.TDEprogram( '%{APPNAMELC}', %{APPNAMELC}_sources ) # main program -myenv.TDEaddpaths_includes( './ ../' ) # additional paths -myenv.TDEaddlibs( 'qt-mt tdecore kio kparts kmdi' ) # additional libraries - -## Next, the kpart library -## using TDEshlib, the .so and .la are installed automatically when needed - -myenv2=env.Copy() -%{APPNAMELC}part_sources = '%{APPNAMELC}_part.cpp' -myenv2.TDEshlib( 'lib%{APPNAMELC}part', %{APPNAMELC}part_sources) -myenv2.TDEaddpaths_includes( './ #/' ) # the '#' means the top-level directory -myenv2.TDEaddlibs( 'qt-mt kio tdecore tdeprint kparts' ) -# myenv2.TDEaddflags_link( '-DQT_THREAD_SUPPORT' ) - -############################# -## Data files to install - -## NOTE: TDEinstall( resource_type, subdir, list of files ) - -## the .kcfg file -myenv.TDEinstall( 'TDEKCFG', '', '%{APPNAMELC}.kcfg' ) - -## the program .desktop file -myenv.TDEinstall( 'TDEMENU', '/Utilities', '%{APPNAMELC}.desktop' ) - -## the rc file - named *_shell.rc instead of *ui.rc for kpart apps -myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}', '%{APPNAMELC}_shell.rc' ) - -## this servicetype desktop file goes in TDEXDG whether the other one goes in TDEMENU -myenv.TDEinstall( 'TDEXDG', '', '%{APPNAMELC}_part.desktop' ) - -## the kpart resource file -myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}part', '%{APPNAMELC}_part.rc' ) - -## Installing icons is easy (hi-16-app-%{APPNAMELC}.png, hi-22-app-%{APPNAMELC}.png) -#myenv.TDEicon() - -## do not forget that this is a python script so even loops are allowed... :) |