aboutsummaryrefslogtreecommitdiff
path: root/modules/FindSIP.py
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2008-10-20 07:15:30 +0000
committerLaurent Montel <montel@kde.org>2008-10-20 07:15:30 +0000
commit12593fe0ab3dc6587ea965a8c287735200f9b084 (patch)
treee2d6eecc2a12123dd40977bf4d537f85a3f37fe3 /modules/FindSIP.py
parent61326e9dd53472ec764a1e4223838b00e3ffc870 (diff)
downloadextra-cmake-modules-12593fe0ab3dc6587ea965a8c287735200f9b084.tar.gz
extra-cmake-modules-12593fe0ab3dc6587ea965a8c287735200f9b084.tar.bz2
Move here (used by kdeedu/kdebase)
svn path=/trunk/KDE/kdelibs/; revision=873785
Diffstat (limited to 'modules/FindSIP.py')
-rw-r--r--modules/FindSIP.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/FindSIP.py b/modules/FindSIP.py
new file mode 100644
index 00000000..18db89b3
--- /dev/null
+++ b/modules/FindSIP.py
@@ -0,0 +1,14 @@
+# FindSIP.py
+#
+# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+import sys
+import sipconfig
+
+sipcfg = sipconfig.Configuration()
+print("sip_version:%06.0x" % sipcfg.sip_version)
+print("sip_version_str:%s" % sipcfg.sip_version_str)
+print("sip_bin:%s" % sipcfg.sip_bin)
+print("default_sip_dir:%s" % sipcfg.default_sip_dir)
+print("sip_inc_dir:%s" % sipcfg.sip_inc_dir)