]> Creatis software - bbtk.git/commitdiff
CPAKE in linux
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 22 Feb 2008 17:36:41 +0000 (17:36 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 22 Feb 2008 17:36:41 +0000 (17:36 +0000)
kernel/cmake/BBTKKernelConfig.cmake
kernel/doc/CMakeLists.txt
kernel/src/bbtkConfigurationFile.cxx

index a1462c423990ebe7258307e2aca2002691f707e1..cfb63e7dba28a54b8d2ed64d94575bb114067d8b 100644 (file)
@@ -57,7 +57,7 @@ ENDIF(WIN32)
 # from build tree root or install tree root
 # (different on win/lin)
 IF(WIN32)
-  SET(BBTK_SHARE_REL_PATH)
+  SET(BBTK_SHARE_REL_PATH / )
   SET(BBTK_DOC_REL_PATH doc)
   SET(BBTK_BBS_REL_PATH bbs)
   #  SET(BBTK_RSC_REL_PATH rsc)
index 4bc09114f902672a5931cd08d52878ddb8bc44ce..c29805c8402bef2946a4294a4a823137b117c853 100755 (executable)
@@ -113,16 +113,16 @@ IF(BUILD_bbtk_DOC)
   # Recurse it bbtkWebSite dir
   SUBDIRS(bbtkWebSite)
 
-  
   INSTALL(
-    DIRECTORY  ${BBTK_BINARY_DIR}/doc 
-    DESTINATION  /
+    DIRECTORY  ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH}
+    DESTINATION  ${BBTK_SHARE_REL_PATH}
     )
 
   INSTALL(
-    DIRECTORY  ${BBTK_BINARY_DIR}/bbs 
-    DESTINATION  /
+    DIRECTORY  ${BBTK_BINARY_DIR}/${BBTK_BBS_REL_PATH}
+    DESTINATION  ${BBTK_SHARE_REL_PATH}
     )
+  
 
 ENDIF(BUILD_bbtk_DOC)
 #-----------------------------------------------------------------------------
index d7806817f50d6c0e4bcc3f4230df76ea5adce7f1..b1292caca398d61c99a4b385b9805ee129516eb9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConfigurationFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/21 09:37:23 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2008/02/22 17:36:42 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -48,7 +48,7 @@ namespace bbtk
     mInstall_path = mBin_path + mFile_separator + "..";
     // The relative path to the doc folder (=BBTK_DOC_REL_PATH)
     mDoc_rel_path = BBTK_STRINGIFY_SYMBOL(BBTK_DOC_REL_PATH);
-    mDoc_rel_path = BBTK_STRINGIFY_SYMBOL(doc);
+//EED    mDoc_rel_path = BBTK_STRINGIFY_SYMBOL(doc);
     // The path to the doc folder (=mInstall_path+"/"+mDoc_rel_path)
     mDoc_path = mInstall_path + mFile_separator + mDoc_rel_path;
     // The relative path to the doc folder (=BBTK_BBS_REL_PATH)