mirror of
https://github.com/libretro/libretro-super
synced 2025-01-27 15:35:16 +00:00
add citra cmake build support for windows
This commit is contained in:
parent
079fb59d29
commit
eee2f1f078
3
.gitignore
vendored
3
.gitignore
vendored
@ -15,10 +15,12 @@
|
|||||||
/libretro-bsnes_performance/
|
/libretro-bsnes_performance/
|
||||||
/libretro-cap32/
|
/libretro-cap32/
|
||||||
/libretro-catsfc/
|
/libretro-catsfc/
|
||||||
|
/libretro-citra/
|
||||||
/libretro-config-user.sh
|
/libretro-config-user.sh
|
||||||
/libretro-desmume/
|
/libretro-desmume/
|
||||||
/libretro-devkit/
|
/libretro-devkit/
|
||||||
/libretro-dinothawr/
|
/libretro-dinothawr/
|
||||||
|
/libretro-dolphin/
|
||||||
/libretro-dosbox/
|
/libretro-dosbox/
|
||||||
/libretro-emux/
|
/libretro-emux/
|
||||||
/libretro-fb_alpha/
|
/libretro-fb_alpha/
|
||||||
@ -72,6 +74,7 @@
|
|||||||
/libretro-psp1/
|
/libretro-psp1/
|
||||||
/libretro-puae/
|
/libretro-puae/
|
||||||
/libretro-quicknes/
|
/libretro-quicknes/
|
||||||
|
/libretro-redream/
|
||||||
/libretro-reicast/
|
/libretro-reicast/
|
||||||
/libretro-remotejoy/
|
/libretro-remotejoy/
|
||||||
/libretro-scummvm/
|
/libretro-scummvm/
|
||||||
|
@ -257,6 +257,10 @@ build_libretro_generic_makefile() {
|
|||||||
|
|
||||||
ENTRY_ID=`curl -X POST -d type="start" -d master_log="$MASTER_LOG_ID" -d platform="$jobid" -d name="$NAME" http://buildbot.fiveforty.net/build_entry/`
|
ENTRY_ID=`curl -X POST -d type="start" -d master_log="$MASTER_LOG_ID" -d platform="$jobid" -d name="$NAME" http://buildbot.fiveforty.net/build_entry/`
|
||||||
|
|
||||||
|
if [ "${COMMAND}" = "CMAKE" ]; then
|
||||||
|
mkdir -p $DIR/$SUBDIR
|
||||||
|
fi
|
||||||
|
|
||||||
cd $DIR
|
cd $DIR
|
||||||
cd $SUBDIR
|
cd $SUBDIR
|
||||||
JOBS_ORIG=$JOBS
|
JOBS_ORIG=$JOBS
|
||||||
@ -295,13 +299,26 @@ build_libretro_generic_makefile() {
|
|||||||
JOBS=$JOBS_ORIG
|
JOBS=$JOBS_ORIG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${ARGS}" ]; then
|
if [ "${COMMAND}" = "CMAKE" ]; then
|
||||||
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
if [ -z "${ARGS}" ]; then
|
||||||
${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
echo "BUILD CMD: ${CMAKE}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
${CMAKE} | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} -j${JOBS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
else
|
||||||
|
echo "BUILD CMD: ${CMAKE} ${ARGS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
${CMAKE} ${ARGS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} -j${JOBS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
${HELPER} ${MAKE} -f ${MAKEFILE} -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
if [ -z "${ARGS}" ]; then
|
||||||
${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
fi
|
${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
else
|
||||||
|
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -j${JOBS} ${ARGS} 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${MAKEPORTABLE}" == "YES" ]; then
|
if [ "${MAKEPORTABLE}" == "YES" ]; then
|
||||||
echo "BUILD CMD $WORK/retrolink.sh ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
echo "BUILD CMD $WORK/retrolink.sh ${NAME}_libretro${FORMAT}${LIBSUFFIX}.${FORMAT_EXT}" 2>&1 | tee -a $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_${NAME}_${PLATFORM}.log
|
||||||
@ -991,6 +1008,8 @@ while read line; do
|
|||||||
echo "buildbot job: building $NAME"
|
echo "buildbot job: building $NAME"
|
||||||
if [ "${COMMAND}" = "GENERIC" ]; then
|
if [ "${COMMAND}" = "GENERIC" ]; then
|
||||||
build_libretro_generic_makefile $NAME $DIR $SUBDIR $MAKEFILE ${FORMAT_COMPILER_TARGET} "${ARGS}"
|
build_libretro_generic_makefile $NAME $DIR $SUBDIR $MAKEFILE ${FORMAT_COMPILER_TARGET} "${ARGS}"
|
||||||
|
elif [ "${COMMAND}" = "CMAKE" ]; then
|
||||||
|
build_libretro_generic_makefile $NAME $DIR $SUBDIR $MAKEFILE ${FORMAT_COMPILER_TARGET} "${ARGS}"
|
||||||
elif [ "${COMMAND}" = "LEIRADEL" ]; then
|
elif [ "${COMMAND}" = "LEIRADEL" ]; then
|
||||||
build_libretro_leiradel_makefile $NAME $DIR $SUBDIR $MAKEFILE ${PLATFORM} "${ARGS}"
|
build_libretro_leiradel_makefile $NAME $DIR $SUBDIR $MAKEFILE ${PLATFORM} "${ARGS}"
|
||||||
elif [ "${COMMAND}" = "GENERIC_GL" ]; then
|
elif [ "${COMMAND}" = "GENERIC_GL" ]; then
|
||||||
|
@ -9,6 +9,7 @@ bsnes_cplusplus98 libretro-bsnes_cplusplus98 https://github.com/libretro/bsnes-l
|
|||||||
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . accuracy
|
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . accuracy
|
||||||
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . balanced
|
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . balanced
|
||||||
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . performance
|
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git master PROJECT YES BSNES Makefile . performance
|
||||||
|
citra libretro-citra https://github.com/libretro/citra.git master PROJECT YES CMAKE Makefile build -DENABLE_LIBRETRO=1 -DENABLE_SDL2=0 -DENABLE_QT=0 -DCMAKE_BUILD_TYPE="Release" --target citra_libretro ..
|
||||||
craft libretro-craft https://github.com/libretro/craft master PROJECT YES GENERIC Makefile.libretro .
|
craft libretro-craft https://github.com/libretro/craft master PROJECT YES GENERIC Makefile.libretro .
|
||||||
crocods libretro-crocods https://github.com/libretro/libretro-crocods.git master SUBMODULE YES GENERIC Makefile .
|
crocods libretro-crocods https://github.com/libretro/libretro-crocods.git master SUBMODULE YES GENERIC Makefile .
|
||||||
desmume libretro-desmume https://github.com/libretro/desmume.git master PROJECT YES GENERIC Makefile.libretro desmume
|
desmume libretro-desmume https://github.com/libretro/desmume.git master PROJECT YES GENERIC Makefile.libretro desmume
|
||||||
|
@ -4,6 +4,7 @@ platform MINGW64
|
|||||||
PLATFORM windows
|
PLATFORM windows
|
||||||
ARCH x86_64
|
ARCH x86_64
|
||||||
MAKE make.exe
|
MAKE make.exe
|
||||||
|
CMAKE cmake.exe
|
||||||
CC gcc
|
CC gcc
|
||||||
CXX g++
|
CXX g++
|
||||||
CXX11 g++
|
CXX11 g++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user