+#cmake_minimum_required(VERSION 2.4)
+#if(COMMAND cmake_policy)
+ # UNCOMMENT the 3 lines 'cmake_policy(...
+ # If you'er using cmake 2.6
+ #cmake_policy(SET CMP0000 OLD)
+ #cmake_policy(SET CMP0005 NEW)
+ #cmake_policy(SET CMP0003 NEW)
+ # endif(COMMAND cmake_policy)
+
#-----------------------------------------------------------------------------
PROJECT(BBTK)
#-----------------------------------------------------------------------------
+
#-----------------------------------------------------------------------------
# Set global configuration of the toolkit
INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake)
#-----------------------------------------------------------------------------
+#---Documentation-------------
+#http://www.cmake.org/Wiki/CMake:Packaging_With_CPack
+#http://www.cmake.org/Wiki/CMake:CPackConfiguration
+#http://www.cmake.org/Wiki/CMake:Install_Commands
SET(CPACK_STRIP_FILES "bin/bbi")
SET(CPACK_SOURCE_STRIP_FILES "")
ENDIF(WIN32 AND NOT UNIX)
-SET(CPACK_PACKAGE_EXECUTABLES "bbi" "bbs interpreter")
+SET(CPACK_PACKAGE_EXECUTABLES "bbi" "bbs interpreter" "bbhelp" "bbtk documentation" "bbed" "bbs Editor")
+
+
INCLUDE(CPack)