forked from sparker256/imgui4xp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_imgui4xp_all_OnLinux_WithCmake
executable file
·44 lines (37 loc) · 1.14 KB
/
build_imgui4xp_all_OnLinux_WithCmake
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
35
36
37
38
39
40
41
42
43
#!/bin/bash
#
# How to run
# Change this to match your install
# ./xp11_imgui4xp_plugin_builder/imgui4xp/build_imgui4xp_all_OnLinux_WithCmake
# Change this to match your install
cd xp11_imgui4xp_plugin_builder/imgui4xp &&
mkdir -p release/imgui4xp/lin_x64 &&
mkdir -p release/imgui4xp/win_x64 &&
mkdir -p release/imgui4xp/mac_x64 &&
mkdir -p src/build &&
cd src
rm -r build/*
cd build
cmake ..
make VERBOSE=1
cd /home/bill/xp11_imgui4xp_plugin_builder/imgui4xp
cp src/build/imgui4xp.xpl release/imgui4xp/lin_x64/
cd src
rm -r build/*
cd build
# Change this to match your install
cmake -DCMAKE_TOOLCHAIN_FILE=~/xp11_imgui4xp_plugin_builder/imgui4xp/src/Toolchain-mingw-w64-x86-64.cmake ..
make VERBOSE=1
cd /home/bill/xp11_imgui4xp_plugin_builder/imgui4xp
cp src/build/imgui4xp.xpl release/imgui4xp/win_x64/
cd src
rm -r build/*
cd build
# Change this to match your install
cmake -DCMAKE_TOOLCHAIN_FILE=~/xp11_imgui4xp_plugin_builder/imgui4xp/src/Toolchain-ubuntu-osxcross-10.11.cmake ..
make VERBOSE=1
cd /home/bill/xp11_imgui4xp_plugin_builder/imgui4xp
cp src/build/imgui4xp.xpl release/imgui4xp/mac_x64/
cp imgui_demo.jpg release/imgui4xp/
exec $SHELL
#