Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
vaiorabbit committed Jan 12, 2024
1 parent 98c1dfd commit 3c1ae4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions imgui_dll/build_imgui_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ cd build
cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=ON -D CMAKE_CXX_COMPILER=clang++ ../
make
arch=`uname -m`
mv imgui.so imgui.${arch}.so
cp *.so ../../lib
cp imgui.so ../../lib/imgui.${arch}.so
3 changes: 1 addition & 2 deletions imgui_dll/build_imgui_linux_cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ cd build
cmake -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON -D CMAKE_CXX_FLAGS=-isystem\ /usr/aarch64-linux-gnu/include -D CMAKE_BUILD_TYPE=Release -D CMAKE_CXX_COMPILER_TARGET=aarch64-linux-gnu -D CMAKE_SYSTEM_PROCESSOR=ARM -D BUILD_SHARED_LIBS=ON -D CMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ ../
make
export ARCH=aarch64
mv imgui.so imgui.${ARCH}.so
cp *.so ../../lib
cp imgui.so ../../lib/imgui.${ARCH}.so

0 comments on commit 3c1ae4c

Please sign in to comment.