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-cap32/
|
||||
/libretro-catsfc/
|
||||
/libretro-citra/
|
||||
/libretro-config-user.sh
|
||||
/libretro-desmume/
|
||||
/libretro-devkit/
|
||||
/libretro-dinothawr/
|
||||
/libretro-dolphin/
|
||||
/libretro-dosbox/
|
||||
/libretro-emux/
|
||||
/libretro-fb_alpha/
|
||||
@ -72,6 +74,7 @@
|
||||
/libretro-psp1/
|
||||
/libretro-puae/
|
||||
/libretro-quicknes/
|
||||
/libretro-redream/
|
||||
/libretro-reicast/
|
||||
/libretro-remotejoy/
|
||||
/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/`
|
||||
|
||||
if [ "${COMMAND}" = "CMAKE" ]; then
|
||||
mkdir -p $DIR/$SUBDIR
|
||||
fi
|
||||
|
||||
cd $DIR
|
||||
cd $SUBDIR
|
||||
JOBS_ORIG=$JOBS
|
||||
@ -295,6 +299,19 @@ build_libretro_generic_makefile() {
|
||||
JOBS=$JOBS_ORIG
|
||||
fi
|
||||
|
||||
if [ "${COMMAND}" = "CMAKE" ]; then
|
||||
if [ -z "${ARGS}" ]; then
|
||||
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
|
||||
if [ -z "${ARGS}" ]; then
|
||||
echo "BUILD CMD: ${HELPER} ${MAKE} -f ${MAKEFILE} platform=${PLATFORM} -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
|
||||
@ -991,6 +1008,8 @@ while read line; do
|
||||
echo "buildbot job: building $NAME"
|
||||
if [ "${COMMAND}" = "GENERIC" ]; then
|
||||
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
|
||||
build_libretro_leiradel_makefile $NAME $DIR $SUBDIR $MAKEFILE ${PLATFORM} "${ARGS}"
|
||||
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 . balanced
|
||||
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 .
|
||||
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
|
||||
|
@ -4,6 +4,7 @@ platform MINGW64
|
||||
PLATFORM windows
|
||||
ARCH x86_64
|
||||
MAKE make.exe
|
||||
CMAKE cmake.exe
|
||||
CC gcc
|
||||
CXX g++
|
||||
CXX11 g++
|
||||
|
Loading…
x
Reference in New Issue
Block a user