{
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
default_win:
{
- depend : ['Python']
properties :
{
incremental : "yes"
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"
+ compil_script : "nlopt-2.5.0" + $VARS.scriptExtension
}
-version_2_5_0_win:
+version_2_6_0:
{
- build_source : "script"
+ compil_script : "nlopt-2.6.0" + $VARS.scriptExtension
}