]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
*** empty log message ***
authoradam <adam>
Thu, 14 Oct 2010 09:26:58 +0000 (09:26 +0000)
committeradam <adam>
Thu, 14 Oct 2010 09:26:58 +0000 (09:26 +0000)
salome_adm/cmake_files/FindPYTHON.cmake
salome_adm/cmake_files/am2cmake.py

index 9c4bfeb4eca826361be4f5b237a5d6b990000571..dc643da1c078af983c92ceb0339b9d4cc8d15b11 100644 (file)
@@ -201,6 +201,7 @@ ENDIF(PYTHON_STATUS)
 
 IF(PYTHON_STATUS)
   SET(PYTHON_CPPFLAGS ${PYTHON_INCLUDES})
+  SET(PYLOGLEVEL WARNING)
 ELSE(PYTHON_STATUS)
   IF(PYTHON_IS_MANDATORY)
     MESSAGE(FATAL_ERROR "python not found ... mandatory ... abort")
index 8adaf1525842740ebe6a040859e186fb70205a18..28d1de121f6ce2afacf001c8aab8a2555cf534fd 100644 (file)
@@ -1481,26 +1481,29 @@ class CMakeFile(object):
             resdir = self.hxxmodule
             pass
         d = {
-            "salomeadmux_DATA"            :  "salome_adm/unix",
-            "dist_salomeadmux_DATA"       :  "salome_adm/unix",
-            "dist_salome_cmake_DATA"      :  "salome_adm/cmake_files",
-            "dist_salomem4_DATA"          :  "salome_adm/unix/config_files",
-            "dist_salome4depr_DATA"       :  "salome_adm/unix/config_files/DEPRECATED",
-            "dist_admlocalm4_DATA"        :  "adm_local/unix/config_files",
-            "dist_admlocal_cmake_DATA"    :  "adm_local/cmake_files",
-            "salomeinclude_DATA"          :  "include/salome",
-            "salomeinclude_HEADERS"       :  "include/salome",
-            "dist_salomeres_DATA"         :  "share/salome/resources/%s"%(resdir),
-            "nodist_salomeres_DATA"       :  "share/salome/resources/%s"%(resdir),
-            "nodist_salomeres_SCRIPTS"    :  "share/salome/resources/%s"%(resdir),
-            "dist_salomescript_SCRIPTS"   :  "bin/salome",
-            "dist_salomescript_DATA"      :  "bin/salome",
-            "dist_salomescript_PYTHON"    :  "bin/salome",
-            "nodist_salomescript_DATA"    :  "bin/salome",
-            "salomepython_PYTHON"         :  "lib/python${PYTHON_VERSION}/site-packages/salome",
-            "nodist_salomepython_PYTHON"  :  "lib/python${PYTHON_VERSION}/site-packages/salome",
-            "dist_salomepython_DATA"      :  "lib/python${PYTHON_VERSION}/site-packages/salome",
-            "sharedpkgpython_PYTHON"      :  "lib/python${PYTHON_VERSION}/site-packages/salome/shared_modules",
+            "salomeadmux_DATA"                 :  "salome_adm/unix",
+            "dist_salomeadmux_DATA"            :  "salome_adm/unix",
+            "dist_salome_cmake_DATA"           :  "salome_adm/cmake_files",
+            "dist_salomem4_DATA"               :  "salome_adm/unix/config_files",
+            "dist_salome4depr_DATA"            :  "salome_adm/unix/config_files/DEPRECATED",
+            "dist_admlocalm4_DATA"             :  "adm_local/unix/config_files",
+            "dist_admlocal_cmake_DATA"         :  "adm_local/cmake_files",
+            "salomeinclude_DATA"               :  "include/salome",
+            "salomeinclude_HEADERS"            :  "include/salome",
+            "nodist_salomeinclude_HEADERS"     :  "include/salome",
+            "dist_salomeres_DATA"              :  "share/salome/resources/%s"%(resdir),
+            "nodist_salomeres_DATA"            :  "share/salome/resources/%s"%(resdir),
+            "nodist_salomeres_SCRIPTS"         :  "share/salome/resources/%s"%(resdir),
+            "dist_salomescript_SCRIPTS"        :  "bin/salome",
+            "dist_salomescript_DATA"           :  "bin/salome",
+            "dist_salomescript_PYTHON"         :  "bin/salome",
+            "nodist_salomescript_DATA"         :  "bin/salome",
+            "salomepython_PYTHON"              :  "lib/python${PYTHON_VERSION}/site-packages/salome",
+            "nodist_salomepython_PYTHON"       :  "lib/python${PYTHON_VERSION}/site-packages/salome",
+            "dist_salomepython_DATA"           :  "lib/python${PYTHON_VERSION}/site-packages/salome",
+            "sharedpkgpython_PYTHON"           :  "lib/python${PYTHON_VERSION}/site-packages/salome/shared_modules",
+            "salomepypkg_PYTHON"               :  "lib/python${PYTHON_VERSION}/site-packages/salome/salome",
+            "mypkgpython_PYTHON"               :  "lib/python${PYTHON_VERSION}/site-packages/salome/salome/kernel",
             }
         if self.module == "medfile":
             d = {