-
Notifications
You must be signed in to change notification settings - Fork 0
/
HowToCompileSeal.txt
34 lines (18 loc) · 1018 Bytes
/
HowToCompileSeal.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
###########################################################################################################################################################
# Built by Gonçalo Tomas (87009) and Manuel Ruivo (87061)
# Instituto Superior Tecnico, Univ. Lisboa
# Use this code lines to link,compile and run using CMAKE and Microsoft SEAL
###########################################################################################################################################################
# WARNING - RUN THIS CODE EVERYTIME YOU NEED TO LINK, COMPILE AND RUN
1) OPEN YOUR PROJECT DIRECTORY:
cd ~/example/
2) LINK CMAKE AND SEAL, CREATING MAKEFILE:
cmake . -DCMAKE_PREFIX_PATH=~/my_seal
-> EXPECTED OUTPUT: 1)IN TERMINAL - "Build files have been written to: ~/example".
2)IN DIRECTORY - makefile appears in the directory.
2) RUN MAKEFILE:
make
-> EXPECTED OUTPUT: Produced object for the cpp.
3) RUN THE FILE:
./exec
-> EXPECTED OUTPUT: Executable is now running.