#BBTK_CREATE_PACKAGE_BBDOC(${BBTK_PACKAGE_NAME})
BBTK_DOC_INSTALL_IMAGES(bbdoc/${BBTK_PACKAGE_NAME})
+
+
+ IF(NOT WIN32)
+ # runs bbRegeneratePackageDoc and bbRegenerateBoxesLists
+ # as a post install step
+ # does not work on windaube
+ IF(NOT BBTK_CORE_PACKAGE)
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${BBTK_BIN_PATH}/bbRegeneratePackageDoc ${BBTK_PACKAGE_NAME} && ${BBTK_BIN_PATH}/bbRegenerateBoxesLists )")
+ ENDIF(NOT BBTK_CORE_PACKAGE)
+ ENDIF(NOT WIN32)
DESTINATION ${BBTK_DOC_INSTALL_PATH}/bbtkWebSite
)
ENDFOREACH(page)
+
+
+SET(INDEX_OUTPUT index-alpha.html)
+
+IF (WIN32)
+
+ SET(USE_DOT TRUE)
+ MAKE_DLL_PATH()
+
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${INDEX_OUTPUT}
+ COMMAND
+ set ${DLL_PATH} cd ${BBTK_BIN_PATH} && ./bbRegeneratePackageDoc -a && ./bbRegenerateBoxesLists
+
+ DEPENDS ${BBTK_PACKAGES_DEPS}
+ )
+
+ELSE (WIN32)
+
+ MESSAGE(STATUS "PACKAGE_DEPS=${BBTK_PACKAGES_DEPS}")
+
+ SET(LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}")
+ # MESSAGE(LD_LIBRARY_PATH=${LD_LIBRARY_PATH})
+
+ ADD_CUSTOM_COMMAND(
+ OUTPUT ${INDEX_OUTPUT}
+ COMMAND
+
+ cd ${BBTK_BIN_PATH} && export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} && ./bbRegeneratePackageDoc -a && ./bbRegenerateBoxesLists
+
+ DEPENDS ${BBTK_PACKAGES_DEPS}
+ )
+
+ENDIF (WIN32)
+
+ADD_CUSTOM_TARGET(bbdoc ALL
+ DEPENDS ${INDEX_OUTPUT}
+ )
+
Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
Language: C++
- Date: $Date: 2008/10/08 14:46:42 $
- Version: $Revision: 1.24 $
+ Date: $Date: 2008/10/09 14:38:57 $
+ Version: $Revision: 1.25 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string command;
command = ConfigurationFile::GetInstance().Get_bin_path();
command += ConfigurationFile::GetInstance().Get_file_separator();
- command += "bbRegeneratePackageDoc * && ";
- command = ConfigurationFile::GetInstance().Get_bin_path();
+ command += "bbRegeneratePackageDoc -a && ";
+ command += ConfigurationFile::GetInstance().Get_bin_path();
command += ConfigurationFile::GetInstance().Get_file_separator();
command += "bbRegenerateBoxesLists";
bbtkMessage("debug",1,"Executing system command '"<<command<<"'"<<std::endl);
SUBDIRS(toolsbbtk)
SUBDIRS(wxvtk)
SUBDIRS(itkvtk)
+SUBDIRS(demo)
#SUBDIRS(creaReaders)
#-----------------------------------------------------------------------------