2010-06-22 13:30:36 +00:00
|
|
|
# Check that people use the good file
|
|
|
|
if(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
message(FATAL_ERROR "
|
|
|
|
You did not 'cmake' the good CMakeLists.txt file. Use the one in the top dir.
|
|
|
|
It is advice to delete all wrongly generated cmake stuff => CMakeFiles & CMakeCache.txt")
|
|
|
|
endif(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make cdvdGigaherz
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/cdvdGigaherz" AND cdvdGigaherz)
|
2010-01-21 15:12:50 +00:00
|
|
|
# add_subdirectory(cdvdGigaherz)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/cdvdGigaherz" AND cdvdGigaherz)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDiso
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDiso" AND CDVDiso)
|
2010-06-11 13:51:43 +00:00
|
|
|
add_subdirectory(CDVDiso/src)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDiso" AND CDVDiso)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDisoEFP
|
2010-06-11 13:51:43 +00:00
|
|
|
# if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDisoEFP" AND CDVDisoEFP)
|
|
|
|
# add_subdirectory(CDVDisoEFP)
|
|
|
|
# endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDisoEFP" AND CDVDisoEFP)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDlinuz
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDlinuz" AND CDVDlinuz)
|
2010-06-11 13:51:43 +00:00
|
|
|
add_subdirectory(CDVDlinuz/Src)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDlinuz" AND CDVDlinuz)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDnull
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDnull" AND CDVDnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(CDVDnull)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDnull" AND CDVDnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDolio
|
2010-06-11 13:51:43 +00:00
|
|
|
# if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDolio" AND CDVDolio)
|
|
|
|
# add_subdirectory(CDVDolio)
|
|
|
|
# endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDolio" AND CDVDolio)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make CDVDpeops
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDpeops" AND CDVDpeops)
|
2010-01-21 15:12:50 +00:00
|
|
|
# add_subdirectory(CDVDpeops)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/CDVDpeops" AND CDVDpeops)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make dev9null
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/dev9null" AND dev9null)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(dev9null)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/dev9null" AND dev9null)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make FWnull
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/FWnull" AND FWnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(FWnull)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/FWnull" AND FWnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make GSdx
|
2011-02-20 17:01:03 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/GSdx" AND GSdx)
|
|
|
|
add_subdirectory(GSdx)
|
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/GSdx" AND GSdx)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make GSnull
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/GSnull" AND GSnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(GSnull)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/GSnull" AND GSnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make LilyPad
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/LilyPad" AND LilyPad)
|
2010-01-21 15:12:50 +00:00
|
|
|
# add_subdirectory(LilyPad)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/LilyPad" AND LilyPad)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make onepad
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/onepad" AND onepad)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(onepad)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/onepad" AND onepad)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make PadNull
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/PadNull" AND PadNull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(PadNull)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/PadNull" AND PadNull)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make PeopsSPU2
|
2010-06-11 13:51:43 +00:00
|
|
|
# if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/PeopsSPU2" AND PeopsSPU2)
|
|
|
|
# add_subdirectory(PeopsSPU2)
|
|
|
|
# endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/PeopsSPU2" AND PeopsSPU2)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make SPU2null
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/SPU2null" AND SPU2null)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(SPU2null)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/SPU2null" AND SPU2null)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make spu2-x
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/spu2-x" AND spu2-x)
|
2010-06-11 13:51:43 +00:00
|
|
|
add_subdirectory(spu2-x/src)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/spu2-x" AND spu2-x)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make SSSPSXPAD
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/SSSPSXPAD" AND SSSPSXPAD)
|
2010-01-21 15:12:50 +00:00
|
|
|
# add_subdirectory(SSSPSXPAD)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/SSSPSXPAD" AND SSSPSXPAD)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make USBnull
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/USBnull" AND USBnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(USBnull)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/USBnull" AND USBnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make xpad
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/xpad" AND xpad)
|
2010-01-21 15:12:50 +00:00
|
|
|
# add_subdirectory(xpad)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/xpad" AND xpad)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make zerogs
|
2010-06-07 13:32:10 +00:00
|
|
|
#if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zerogs" AND zerogs)
|
2010-05-13 11:03:39 +00:00
|
|
|
# add_subdirectory(zerogs)
|
2010-06-07 13:32:10 +00:00
|
|
|
#endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zerogs" AND zerogs)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2010-05-12 09:51:46 +00:00
|
|
|
# make zzogl-pg
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zzogl-pg" AND zzogl)
|
2010-06-11 13:51:43 +00:00
|
|
|
add_subdirectory(zzogl-pg/opengl)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zzogl-pg" AND zzogl)
|
2010-05-12 09:51:46 +00:00
|
|
|
|
2010-01-21 15:12:50 +00:00
|
|
|
# make zeropad
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zeropad" AND zeropad)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(zeropad)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zeropad" AND zeropad)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
|
|
|
# make zerospu2
|
2010-06-07 13:32:10 +00:00
|
|
|
if(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zerospu2" AND zerospu2)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(zerospu2)
|
2010-06-07 13:32:10 +00:00
|
|
|
endif(EXISTS "${PROJECT_SOURCE_DIR}/plugins/zerospu2" AND zerospu2)
|
2010-01-21 15:12:50 +00:00
|
|
|
|