pcsx2/plugins/cdvdGigaherz/src/CMakeLists.txt

42 lines
854 B
CMake

#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 advised to delete all wrongly generated cmake stuff => CMakeFiles & CMakeCache.txt")
endif()
#plugin name(no version number to ease future version bump and bisect)
set(Output cdvdGigaherz)
set(Sources
CDVD.cpp
ReadThread.cpp
Settings.cpp
TocStuff.cpp
)
set(Headers
CDVD.h
Settings.h
)
set(LinuxSources
Unix/GtkGui.cpp
Unix/LinuxConfig.cpp
Unix/LinuxIOCtlSrc.cpp
)
set(FinalSources
${Sources}
${Headers}
)
set(FinalSources ${FinalSources} ${LinuxSources})
set(FinalLibs
${GTK2_LIBRARIES}
${LIBC_LIBRARIES}
${LIBUDEV_LIBRARIES}
)
add_pcsx2_plugin(${Output} "${FinalSources}" "${FinalLibs}" "${FinalFlags}")