mirror of https://github.com/PCSX2/pcsx2.git
Add a new option to build.sh to not generate translations while building the project.
This commit is contained in:
parent
a977f1e6c1
commit
d8e6ba4274
|
@ -64,10 +64,12 @@ include(SelectPcsx2Plugins)
|
||||||
# Must be done after SearchForStuff
|
# Must be done after SearchForStuff
|
||||||
write_svnrev_h()
|
write_svnrev_h()
|
||||||
|
|
||||||
|
if(NOT NO_TRANSLATION)
|
||||||
# make the translation
|
# make the translation
|
||||||
if(EXISTS "${CMAKE_SOURCE_DIR}/locales")
|
if(EXISTS "${CMAKE_SOURCE_DIR}/locales")
|
||||||
add_subdirectory(locales)
|
add_subdirectory(locales)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# make common
|
# make common
|
||||||
if(common_libs)
|
if(common_libs)
|
||||||
|
|
1
build.sh
1
build.sh
|
@ -80,6 +80,7 @@ for ARG in "$@"; do
|
||||||
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
|
--pgo-optimize ) flags="$flags -DUSE_PGO_OPTIMIZE=TRUE" ;;
|
||||||
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
|
--pgo-generate ) flags="$flags -DUSE_PGO_GENERATE=TRUE" ;;
|
||||||
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
|
--no-simd ) flags="$flags -DDISABLE_ADVANCE_SIMD=TRUE" ;;
|
||||||
|
--no-trans ) flags="$flags -DNO_TRANSLATION=TRUE" ;;
|
||||||
--cross-multilib ) flags="$flags -DCMAKE_TOOLCHAIN_FILE=$toolfile"; useCross=1; ;;
|
--cross-multilib ) flags="$flags -DCMAKE_TOOLCHAIN_FILE=$toolfile"; useCross=1; ;;
|
||||||
--no-cross-multilib ) useCross=0; ;;
|
--no-cross-multilib ) useCross=0; ;;
|
||||||
--coverity ) CoverityBuild=1; cleanBuild=1; ;;
|
--coverity ) CoverityBuild=1; cleanBuild=1; ;;
|
||||||
|
|
Loading…
Reference in New Issue