-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompile-desktop-linux.sh
More file actions
24 lines (18 loc) · 909 Bytes
/
compile-desktop-linux.sh
File metadata and controls
24 lines (18 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# pre-compilation automata
source "./helper-scripts/project-impl/variables.sh"
source_module="${app_src}/"
electrostatic_sdk="${app_libs}"
# compilation automata
./helper-scripts/project-impl/compile-electrostatic-app.sh \
"${COMMISSION_EXE}" "${GCC_BIN_x86}" "${GPP_BIN_x86}" "-O3 -fPIC" \
"${TARGET_x86_64}" "${TOOLCHAIN_INCLUDES_x86};${app_headers}" "${source_module}" \
"${electrostatic_sdk}/linux/x86-64/" "m;pthread;dl" "." \
"linux" "${x86_64}" "false" "true"
./helper-scripts/project-impl/compile-electrostatic-app.sh \
"${COMMISSION_EXE}" "${GCC_BIN_x86}" "${GPP_BIN_x86}" "-O3 -fPIC" \
"${TARGET_x86}" "${TOOLCHAIN_INCLUDES_x86};${app_headers}" "${source_module}" \
"${electrostatic_sdk}/linux/x86/" "m;pthread;dl" "." \
"linux" "${x86}" "false" "true"
# post-compilation automata
# true, See, the compile-electrostatic-app.sh