Permalink
Browse files

It seems like making packages with CPack only almost work, which isn't

quite good enough, so don't use that.

Also, don't disable the warning from g++. It can actually be fixed.
  • Loading branch information...
1 parent 8e79529 commit 3826c7945f6b15de9ef4ec95019276c48c87e612 @laudrup committed Jun 22, 2011
Showing with 0 additions and 20 deletions.
  1. +0 −20 CMakeLists.txt
View
@@ -18,9 +18,6 @@ add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} ${JACK_DEFINITIONS})
add_definitions(-DCREOX_VERSION="${VERSION}")
include(${QT_USE_FILE})
-# The kde headers sets lots of unused variables, so disable that warning
-add_definitions(-Wno-unused-but-set-variable)
-
# For now, we still need Qt3 supprt, should be disabled at some point
add_definitions(-DQT3_SUPPORT)
@@ -32,20 +29,3 @@ add_subdirectory(pics)
# The icons
add_subdirectory(icons)
-
-# Rules for building packages
-set(CPACK_GENERATOR "DEB")
-
-set(CPACK_PACKAGE_DESCRIPTION "A real time sound effector for KDE 4")
-set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${CPACK_PACKAGE_DESCRIPTION}\rCreox is a real-time sound processor. You can plug your electric\rguitar or any other musical instrument directly to the PC's sound card\rand start experimenting with various sound effects. Creox has a nice\ruser-friendly GUI, a preset support, a low-latency DSP engine and each\reffect parameter can be altered on the fly.")
-set(CPACK_PACKAGE_CONTACT "Kasper Laudrup <laudrup@stacktrace.dk>")
-set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
-set(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
-set(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
-set(CPACK_PACKAGE_VERSION ${VERSION})
-set(VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
-
-# Debian specific package rules.
-set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
-
-include(CPack)

0 comments on commit 3826c79

Please sign in to comment.