summaryrefslogtreecommitdiff
path: root/builder.sce~
diff options
context:
space:
mode:
Diffstat (limited to 'builder.sce~')
-rw-r--r--builder.sce~56
1 files changed, 0 insertions, 56 deletions
diff --git a/builder.sce~ b/builder.sce~
deleted file mode 100644
index 5666a70..0000000
--- a/builder.sce~
+++ /dev/null
@@ -1,56 +0,0 @@
-// Sce file to build the toolbox(intqpipopt)
-
-mode(-1);
-
-toolboxTitle = 'FOSSEE_Scilab_intqpipopt';
-
-path = get_absolute_file_path('builder.sce');
-include_path = path + 'build/Bonmin/include/coin';
-lib_path = path + 'build/Bonmin/lib';
-sci_path = path + 'build/Scilab/';
-cpp_path = path + 'build/cpp/';
-help_dir = path + 'help/';
-demos_dir = path + 'demos/';
-
-C_Flags = ['-D__USE_DEPRECATED_STACK_FUNCTIONS__ -w -fpermissive -I ' + include_path + ' -I -Wl,-rpath=' + lib_path];
-Linker_Flag = ['-L' + lib_path + 'libCoinUtils.so ' + lib_path + 'libClp.so ' + lib_path + 'libClpSolver.so ' + lib_path + 'libOsi.so ' + lib_path + 'libOsiClp.so ' + lib_path + 'libCgl.so ' + 'libCbc.so ' + lib_path + 'libCbcSolver.so ' + lib_path + 'libOsiCbc.so ' + lib_path + 'libipopt.so ' + lib_path + 'libbonmin.so '];
-
-files = [cpp_path + 'minuncTMINLP.hpp', cpp_path + 'sci_minuncTMINLP.cpp', cpp_path + 'sci_iofunc.hpp', cpp_path + 'sci_iofunc.cpp', cpp_path + 'cpp_intfminunc.cpp', cpp_path + 'minbndTMINLP.hpp', cpp_path + 'sci_minbndTMINLP.cpp', cpp_path + 'cpp_intfminbnd.cpp'];
-
-functionNames = ['inter_fminunc', 'cpp_intfminunc';'inter_fminbnd', 'cpp_intfminbnd'];
-
-tbx_build_gateway(toolboxTitle, functionNames, files, path, [], Linker_Flag, C_Flags, [], 'g++');
-
-link(lib_path + '/libcoinblas.so')
-link(lib_path + '/libcoinlapack.so')
-link(lib_path + '/libCoinUtils.so');
-link(lib_path + '/libClp.so');
-link(lib_path + '/libClpSolver.so');
-link(lib_path + '/libOsi.so');
-link(lib_path + '/libOsiClp.so');
-link(lib_path + '/libCgl.so');
-link(lib_path + '/libCbc.so');
-link(lib_path + '/libCbcSolver.so');
-link(lib_path + '/libOsiCbc.so');
-link(lib_path + '/libipopt.so');
-
-link(lib_path + '/libcoinblas.so');
-link(lib_path + '/libcoinlapack.so');
-link(lib_path + '/libcoinmumps.so');
-link(lib_path + '/libbonmin.so');
-
-exec (path + 'loader.sce');
-exec (sci_path + 'Checktype.sci');
-exec (sci_path + 'intfminunc.sci');
-exec (sci_path + 'intfminbnd.sci');
-
-//help_from_sci(sci_path + 'intqpipopt.sci', help_dir, demos_dir);
-//xmltojar(help_dir, toolboxTitle);
-//add_help_chapter(toolboxTitle, help_dir);
-
-clear WITHOUT_AUTO_PUTLHSVAR toolboxTitle functionNames files Linker_Flag C_Flags;
-clear path sci_path lib_path app_path help_dir demos_dir include_path;
-
-disp('--------------------------------------------------------------')
-disp('Done')
-