forked from Tinob/Ishiiruka
-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathbuild-linux.sh
More file actions
23 lines (18 loc) · 700 Bytes
/
build-linux.sh
File metadata and controls
23 lines (18 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash -e
# build-linux.sh
CMAKE_FLAGS='-DLINUX_LOCAL_DEV=true'
DATA_SYS_PATH="./Data/Sys/"
BINARY_PATH="./build/Binaries/"
# Move into the build directory, run CMake, and compile the project
mkdir -p build
pushd build
cmake ${CMAKE_FLAGS} ../
#Copy wx folder to Source/Core/
cp /home/runner/work/Ishiiruka/Ishiiruka/Externals/wxWidgets3/include/wx /home/runner/work/Ishiiruka/Ishiiruka/build/Source/Core/ -r
cp /home/runner/work/Ishiiruka/Ishiiruka/Externals/wxWidgets3/wx/* /home/runner/work/Ishiiruka/Ishiiruka/build/Source/Core/wx/
make -j$(nproc)
make install DESTDIR=./AppDir;
popd
# Copy the Sys folder in
cp -r -n ${DATA_SYS_PATH} ${BINARY_PATH}
touch ./build/Binaries/portable.txt