pcsx2/plugins/LilyPad/CMakeLists.txt

63 lines
1.1 KiB
CMake
Raw Normal View History

2015-01-24 22:06:08 +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()
# plugin name
set(Output LilyPad-0.11.0)
2016-02-21 15:17:10 +00:00
set(lilypadFinalFlags "")
2015-01-24 22:06:08 +00:00
# lilypad sources
set(lilypadSources
DeviceEnumerator.cpp
InputManager.cpp
KeyboardQueue.cpp
LilyPad.cpp
2015-01-24 22:06:08 +00:00
Linux/Config.cpp
Linux/ConfigHelper.cpp
Linux/JoyEvdev.cpp
Linux/KeyboardMouse.cpp
2015-01-24 22:06:08 +00:00
Linux/KeyboardQueue.cpp
)
2015-01-24 22:06:08 +00:00
# lilypad headers
set(lilypadHeaders
)
# lilypad Linux sources
set(lilypadLinuxSources
)
# lilypad Linux headers
set(lilypadLinuxHeaders
)
if (SDL2_API)
set(lilypadFinalLibs
${SDL2_LIBRARIES}
)
else()
set(lilypadFinalLibs
${SDL_LIBRARY}
)
endif()
set(lilypadFinalLibs
#${lilypadFinalLibs}
#${GTK2_LIBRARIES}
#${X11_LIBRARIES}
2015-01-24 22:06:08 +00:00
)
set(lilypadFinalSources
${lilypadSources}
${lilypadHeaders}
${lilypadLinuxSources}
${lilypadLinuxHeaders}
)
add_pcsx2_plugin(${Output} "${lilypadFinalSources}" "${lilypadFinalLibs}" "${lilypadFinalFlags}")