# The "core" packages
SUBDIRS(packages)
#-----------------------------------------------------------------------------
+
+
+
+
+
+INCLUDE(InstallRequiredSystemLibraries)
+
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Black Box Tool Kit (bbtk) - Creatis-LRMN")
+SET(CPACK_PACKAGE_VENDOR "Creatis-LRMN")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.txt")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
+SET(CPACK_PACKAGE_VERSION_MAJOR ${BBTK_MAJOR_VERSION})
+SET(CPACK_PACKAGE_VERSION_MINOR ${BBTK_MINOR_VERSION})
+SET(CPACK_PACKAGE_VERSION_PATCH ${BBTK_BUILD_VERSION})
+SET(CPACK_PACKAGE_INSTALL_DIRECTORY "bbtk-${BBTK_MAJOR_VERSION}.${BBTK_MINOR_VERSION}")
+IF(WIN32 AND NOT UNIX)
+ # There is a bug in NSI that does not handle full unix paths properly. Make
+ # sure there is at least one set of four (4) backlasshes.
+#EED SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/kernel/install/gnome/bbi-icon2.bmp")
+ SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin/BBI_EXE.exe")
+ SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} My Famous Project BBTK")
+ SET(CPACK_NSIS_HELP_LINK "http://www.creatis.insa-lyon.fr/software/bbtk")
+ SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr")
+ SET(CPACK_NSIS_CONTACT "info-dev@creatis.insa-lyon.fr")
+ SET(CPACK_NSIS_MODIFY_PATH ON)
+ELSE(WIN32 AND NOT UNIX)
+ SET(CPACK_STRIP_FILES "bin/bbi")
+ SET(CPACK_SOURCE_STRIP_FILES "")
+ENDIF(WIN32 AND NOT UNIX)
+SET(CPACK_PACKAGE_EXECUTABLES "bbi" "bbs interpreter")
+INCLUDE(CPack)
SUBDIRS(bbtkWebSite)
+ INSTALL(
+ DIRECTORY ${BBTK_BINARY_DIR}/doc
+ DESTINATION /
+ )
+ INSTALL(
+ DIRECTORY ${BBTK_BINARY_DIR}/bbs
+ DESTINATION /
+ )
-# INSTALL(
-# DIRECTORY ${BBTK_BINARY_DIR}/kernel/doc
-# DESTINATION ${CMAKE_INSTALL_PREFIX}
-# )
ENDIF(BUILD_bbtk_DOC)
#-----------------------------------------------------------------------------
target="information">pdf</a></small></small></font>)<br>
Reference (pdf)<br>
</small></font></small><small><font size="3"><small> <a
- href="../doxygen/bbtk/index.html" target="information">Doxygen doc</a></small></font></small>
+ href="../doxygen/bbtk/main.html" target="information">Doxygen doc</a></small></font></small>
<ul>
</ul>
<hr style="width: 100%; height: 2px;">Boxes<small><br>
#-----------------------------------------------------------------------------
FILE(GLOB BBTK_HEADERS "*.h")
INSTALL(FILES ${BBTK_HEADERS} DESTINATION include/bbtk)
-INSTALL(TARGETS bbtk DESTINATION lib)
+INSTALL(TARGETS bbtk DESTINATION bin)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------