File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 sudo make install
3535 - name : Build
3636 run : |
37- cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
37+ cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
3838 cmake --build build-cmake -j
3939 - name : Create Package
4040 run : |
Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ jobs:
179179 path : ./build-cmake
180180 - name : Build
181181 run : |
182- cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
183- cmake --build build-cmake --config Debug -j3
182+ cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
183+ cmake --build build-cmake --config Release -j3
184184 (cd build-cmake && cpack -G External)
185185 wget -O gamecontrollerdb.txt https://raw.githubusercontent.com/mdqinc/SDL_GameControllerDB/refs/heads/master/gamecontrollerdb.txt
186186 mv README.md readme.txt
Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g -ffast-math -DDEBUG")
137137set (CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG" )
138138set (CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math -DNDEBUG" )
139139else ()
140- set (CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG" )
141- set (CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" )
142- set (CMAKE_OBJCXX_FLAGS_RELEASE "-O2 -DNDEBUG" )
140+ set (CMAKE_C_FLAGS_RELEASE "-O1 -DNDEBUG" )
141+ set (CMAKE_CXX_FLAGS_RELEASE "-O1 -DNDEBUG" )
142+ set (CMAKE_OBJCXX_FLAGS_RELEASE "-O1 -DNDEBUG" )
143143endif ()
144144
145145# Set game compilation version
@@ -153,6 +153,7 @@ add_compile_definitions(
153153 ENABLE_RUMBLE=1
154154 F3D_OLD=1
155155 F3D_GBI=1
156+ USE_GBI_TRACE=1
156157 GBI_FLOATS=1
157158 _LANGUAGE_C
158159 _USE_MATH_DEFINES
You can’t perform that action at this time.
0 commit comments