@@ -60,6 +60,25 given ($job{'Platform'}) { | |||
|
60 | 60 | run("make"); |
|
61 | 61 | } |
|
62 | 62 | |
|
63 | when ("Linux") { | |
|
64 | ||
|
65 | # setup build environment | |
|
66 | $ENV{'QTDIR'} = $job{'QtDir'}; | |
|
67 | $ENV{'PATH'} = $job{'QtDir'} . "/bin:" . $ENV{'PATH'}; | |
|
68 | ||
|
69 | # run qmake | |
|
70 | my $cmd; | |
|
71 | if ($job{'ToolChain'} eq "gcc") { | |
|
72 | run("qmake -r CONFIG+=" . $job{'Config'}); | |
|
73 | } | |
|
74 | else { | |
|
75 | die "Unknown toolchain!"; | |
|
76 | } | |
|
77 | ||
|
78 | # run make | |
|
79 | run("make"); | |
|
80 | } | |
|
81 | ||
|
63 | 82 | default { |
|
64 | 83 | die "Unknown platform " . $job{'Platform'}; |
|
65 | 84 | } |
General Comments 0
You need to be logged in to leave comments.
Login now