47e20ae44a9c2d9f350279357ff2b82f88eff4b5
[crypto_lab3.git] / src / lab3.qbs
1 import qbs 1.0
2
3 Product {
4    name: "lab3"
5    type: "application"
6
7    files: ["main.cpp", "Rand.h", "Rand.cpp", "Rsa.h", "Rsa.cpp", "RsaStd.h", "RsaStd.cpp", "RsaCrt.h", "RsaCrt.cpp", "Utils.h", "Utils.cpp"]
8
9    cpp.commonCompilerFlags: ["-std=c++14"]
10    cpp.staticLibraries: ["gmp", "gmpxx"]
11
12    Properties {
13       condition: qbs.buildVariant == "release"
14
15       //cpp.commonCompilerFlags: outer.concat("")
16
17       // Override the default optimization (-02).
18       cpp.optimization: "none"
19       cpp.cxxFlags: "-O3"
20    }
21    Properties {
22       condition: qbs.buildVariant == "debug"
23       cpp.debugInformation: true
24    }
25
26    Depends { name: "cpp" }
27 }