|
@@ -63,20 +63,36 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
|
63
|
63
|
#
|
64
|
64
|
# Simulator for macOS (MacPorts)
|
65
|
65
|
#
|
66
|
|
-# sudo port install gcc11 gdb glm libsdl2 libsdl2_net freetype
|
67
|
|
-# sudo port install ld64 @3_3 +ld64_xcode
|
|
66
|
+
|
|
67
|
+#
|
|
68
|
+# MacPorts:
|
|
69
|
+# sudo port install gcc11 glm libsdl2 libsdl2_net
|
68
|
70
|
#
|
69
|
71
|
# cd /opt/local/bin
|
70
|
72
|
# sudo rm -f gcc g++ cc
|
71
|
73
|
# sudo ln -s gcc-mp-11 gcc ; sudo ln -s g++-mp-11 g++ ; sudo ln -s g++ cc
|
72
|
|
-# This step may be obsolete:
|
73
|
|
-# sudo port uninstall ld64 ld64-latest
|
74
|
|
-#
|
75
|
|
-# cd -
|
|
74
|
+# cd -
|
|
75
|
+# rehash
|
76
|
76
|
#
|
77
|
77
|
# Use 'sudo port install mesa' to get a <GL/gl.h> if no Xcode is installed.
|
78
|
78
|
# If Xcode is installed be sure to run `xcode-select --install` first.
|
79
|
79
|
#
|
|
80
|
+#==================================================================================
|
|
81
|
+#
|
|
82
|
+# Homebrew:
|
|
83
|
+# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
84
|
+#
|
|
85
|
+# brew install gcc@12 glm sdl2 sdl2_net
|
|
86
|
+#
|
|
87
|
+# cd /opt/homebrew/bin
|
|
88
|
+# sudo rm -f gcc g++ cc
|
|
89
|
+# sudo ln -s gcc-12 gcc ; sudo ln -s g++-12 g++ ; sudo ln -s g++ cc
|
|
90
|
+# cd -
|
|
91
|
+#
|
|
92
|
+# Use 'brew install mesa' to get a <GL/gl.h> if no Xcode is installed.
|
|
93
|
+# If Xcode is installed be sure to run `xcode-select --install` first.
|
|
94
|
+#
|
|
95
|
+
|
80
|
96
|
[simulator_macos]
|
81
|
97
|
build_unflags = -lGL -fstack-protector-strong
|
82
|
98
|
build_flags =
|
|
@@ -110,7 +126,7 @@ custom_gcc = g++
|
110
|
126
|
# pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-glm mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_net mingw-w64-x86_64-dlfcn
|
111
|
127
|
#
|
112
|
128
|
[env:simulator_windows]
|
113
|
|
-extends = simulator_common
|
|
129
|
+extends = simulator_common
|
114
|
130
|
build_src_flags = ${simulator_common.build_src_flags} -fpermissive
|
115
|
|
-build_flags = ${simulator_common.build_flags} ${simulator_common.debug_build_flags} -IC:\\msys64\\mingw64\\include\\SDL2 -fno-stack-protector -Wl,-subsystem,windows -ldl -lmingw32 -lSDL2main -lSDL2 -lSDL2_net -lopengl32 -lssp
|
116
|
|
-build_type = debug
|
|
131
|
+build_flags = ${simulator_common.build_flags} ${simulator_common.debug_build_flags} -IC:\\msys64\\mingw64\\include\\SDL2 -fno-stack-protector -Wl,-subsystem,windows -ldl -lmingw32 -lSDL2main -lSDL2 -lSDL2_net -lopengl32 -lssp
|
|
132
|
+build_type = debug
|