Initial Commit / Linux Combined Proof of Concept example
This commit is contained in:
commit
d0d2eae762
935 changed files with 155947 additions and 0 deletions
36
build_linux.sh
Executable file
36
build_linux.sh
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
#!/bin/bash
|
||||
|
||||
#rm -R bin/linux
|
||||
mkdir -p bin/linux/lib
|
||||
|
||||
# copy shared objects, squish "linux" subdirectory in bin/linux/lib
|
||||
#cp -R lib/linux/* bin/linux/lib
|
||||
|
||||
# copy assets directory (font, sprites, etc)
|
||||
cp -R assets bin/linux
|
||||
|
||||
# copy Python code
|
||||
cp -R src/scripts bin/linux/scripts
|
||||
|
||||
# work from output directory and change every g++ path to relative D:<
|
||||
cd bin/linux
|
||||
|
||||
g++ \
|
||||
--std=c++17 \
|
||||
-I../../deps_linux \
|
||||
-I../../deps_linux/Python-3.11.1 \
|
||||
-I../../platform/linux \
|
||||
../../src/combined_poc.cpp \
|
||||
-o poc \
|
||||
-Wl,-rpath lib \
|
||||
-L../../deps_linux \
|
||||
-lm \
|
||||
-ldl \
|
||||
-lutil \
|
||||
-lpthread \
|
||||
-lpython3.11 \
|
||||
-lsfml-graphics \
|
||||
-lsfml-window \
|
||||
-lsfml-system \
|
||||
-ltcod
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue