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")
|
2014-12-14 13:00:20 +00:00
|
|
|
endif()
|
2010-06-22 13:30:36 +00:00
|
|
|
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/dev9null" AND dev9null)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(dev9null)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2018-10-03 04:37:34 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/dev9ghzdrk" AND dev9ghzdrk)
|
|
|
|
add_subdirectory(dev9ghzdrk)
|
|
|
|
endif()
|
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx" AND GSdx)
|
2011-02-20 17:01:03 +00:00
|
|
|
add_subdirectory(GSdx)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSnull" AND GSnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(GSnull)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2015-01-24 22:06:08 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/LilyPad" AND LilyPad)
|
|
|
|
add_subdirectory(LilyPad)
|
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad" AND onepad)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(onepad)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2017-04-15 12:57:00 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad_legacy" AND onepad_legacy)
|
|
|
|
add_subdirectory(onepad_legacy)
|
|
|
|
endif()
|
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/PadNull" AND PadNull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(PadNull)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2014-03-30 14:28:59 +00:00
|
|
|
if(EXISTS "${CMAKE_SOURCE_DIR}/plugins/USBnull" AND USBnull)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(USBnull)
|
2015-01-24 22:06:08 +00:00
|
|
|
endif()
|