--recursive
flag, which will automatically clone these dependencies as well.CMakeLists.txt
that is available in the root SHOT folder you downloaded in step 2. CMakeLists.txt
file; instead settings can be provided as arguments when calling CMake. -DCMAKE_BUILD_TYPE=<Debug|Release|
RelWithDebInfo|MinSizeRel>
Debug
or RelWithDebInfo
is used, additional debug information is created.-DHAS_AMPL=<on|off>
-DHAS_CBC=<on|off>
-DCBC_DIR=<directory>
-DHAS_CPLEX=<on|off>
-DCPLEX_DIR=<directory>
-DHAS_GAMS=<on|off>
-DGAMS_DIR=<directory>
-DHAS_GUROBI=<on|off>
-DGUROBI_DIR=<directory>
-DHAS_IPOPT=<on|off>
-DIPOPT_DIR=<directory>
-DGENERATE_EXE=<on|off>
make install
to install SHOT (including the binary, library and header files) to your system. By default the install is made into /usr/local
on a Linux-system. If you want to change this, you can substitute the call to CMake above with:--install
needs to come first. make package
or cpack
after the steps above have completed. -DGAMS_DIR=
.gmscmpun.txt
(gmscmpnx.txt
on Windows) in the GAMS system directory: