Salome HOME
ajout cmake au lanceur runtime, changement de l'environ pour CONFIGURATION
[tools/sat_salome.git] / products / nlopt.pyconf
index 11fcd3577aec796894923d14f7b2bbca5f255599..70fe00db6179b3b6c7ca4bde454f0a227a0a694a 100644 (file)
@@ -8,7 +8,7 @@ default :
     {
        env_script : $name + ".py"
     }
-    depend : ['Python']
+    depend : ['Python', 'numpy'] # numpy mandatory otherwise no python API is generated
     build_depend : ["cmake", "swig"]
     patches : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
@@ -23,7 +23,6 @@ default :
 
 default_win:
 {
-   depend : ['Python']
    properties :
    {
      incremental : "yes"
@@ -33,11 +32,5 @@ default_win:
 
 version_2_5_0:
 {
-    build_source : "cmake"
-    cmake_options : "-DBUILD_SHARED_LIBS:BOOL=ON -DNLOPT_MATLAB:BOOL=OFF -DNLOPT_OCTAVE:BOOL=OFF -DNLOPT_GUILE:BOOL=OFF -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DCMAKE_INSTALL_LIBDIR:STRING=lib"
-}
-
-version_2_5_0_win:
-{
-    build_source : "script"
+    compil_script :  "nlopt-2.5.0" + $VARS.scriptExtension
 }