linux: rename pcsx2-* exe file to PCSX2

Alwawys the same name and uppercase
It was useful on the past to reduce compilation time but there is
less plugins now and ccache just does the job fine.
This commit is contained in:
Gregory Hainaut 2015-05-18 09:44:48 +02:00
parent 4787565e14
commit bf0213ca47
2 changed files with 3 additions and 17 deletions

View File

@ -64,16 +64,8 @@ then
done
fi
if [ -x "$DIR/pcsx2" ]
if [ ! -x "$DIR/PCSX2" ]
then
exe="$DIR/pcsx2"
elif [ -x "$DIR/pcsx2-dev" ]
then
exe="$DIR/pcsx2-dev"
elif [ -x "$DIR/pcsx2-dbg" ]
then
exe="$DIR/pcsx2-dbg"
else
echo "Error PCSX2 not found"
echo "Maybe the script was directly 'called'"
echo "Use either /absolute_path/launch_pcsx2_linux.sh or ./relative_path/launch_pcsx2_linux.sh"
@ -81,4 +73,4 @@ else
fi
# And finally launch me
LD_LIBRARY_PATH="$MY_LD_LIBRARY_PATH" __GL_THREADED_OPTIMIZATIONS=1 $exe $@
LD_LIBRARY_PATH="$MY_LD_LIBRARY_PATH" __GL_THREADED_OPTIMIZATIONS=1 $DIR/PCSX2 $@

View File

@ -75,15 +75,12 @@ endif()
# Debug - Build
if(CMAKE_BUILD_TYPE STREQUAL Debug)
set(Output pcsx2-dbg)
set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} -DPCSX2_DEVBUILD -DPCSX2_DEBUG)
elseif(CMAKE_BUILD_TYPE STREQUAL Devel)
set(Output pcsx2-dev)
set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} ${OptimizationFlags} -DPCSX2_DEVBUILD)
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
set(Output pcsx2)
set(pcsx2FinalFlags ${pcsx2FinalFlags} ${CommonFlags} ${OptimizationFlags})
endif()
@ -95,10 +92,7 @@ if(XDG_STD)
)
endif()
# In package mode always use pcsx2
if(PACKAGE_MODE)
set(Output pcsx2)
endif()
set(Output PCSX2)
# Main pcsx2 source
set(pcsx2Sources