KDE/kdesdk/scripts
Michael Pyne
mpyne at kde.org
Sun Jun 3 17:30:32 UTC 2012
SVN commit 1298173 by mpyne:
Add CMake buildsystem for kde-dev-scripts.
I also removed some trailing whitespace while I'm at it. The buildsystem should allow
for installing to the appropriate directory even if KDE 4 is not present, but KDE 4
directories are used if they can be found.
This submodule was already optional in the top-level kdesdk so no change was required
there.
CCMAIL:kde-sdk-devel at kde.org
M +15 -0 CMakeLists.txt
--- trunk/KDE/kdesdk/scripts/CMakeLists.txt #1298172:1298173
@@ -1,4 +1,19 @@
+cmake_minimum_required(VERSION 2.8)
+project(kde-dev-scripts)
+find_package(KDE4)
+if (KDE4_FOUND)
+ include(KDE4Defaults)
+ include(MacroLibrary)
+else()
+ set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "The install dir for executables")
+endif()
+
+# Note that all of these files should be *scripts* that do not require
+# compilation, therefore we simply install them. We split out Bourne shell
+# programs explicitly but it's not guaranteed that the Perl/Python/Ruby/etc.
+# ones behave well on Mac or Windows just because we don't elide those too.
+
########### install files ###############
if (UNIX)
#shell program
More information about the kde-sdk-devel
mailing list