To build and install the binaries into the prefix/
directory, run:
mkdir build
cd build
cmake ..
make install
To compile and install the SecreC files, run:
sm_compile.sh secrec/*.sc
- Load the project by opening the
CMakeLists.txt
file in Qt Creator and going through the CMake wizard. - Build.
- Compile and install the SecreC files by opening them and selecting 'Tools'->'External'->'Sharemind SDK'->'Compile SecreC' or Ctrl+F1.
Before running the application, start the Sharemind servers either in Qt Creator ('Tools'->'External'->'Sharemind SDK'->'Start Sharemind') or by running sm_start_servers.sh
on the command line.
Then run the executable prefix/bin/ScalarProduct
from the command line or run the project from Qt Creator (Ctrl+R).