2010-05-23 07:30:36 +00:00
|
|
|
# CDVDlinuz Plugin
|
|
|
|
|
|
|
|
# plugin name
|
2010-07-25 13:54:26 +00:00
|
|
|
set(Output CDVDlinuz)
|
2015-08-08 13:25:17 +00:00
|
|
|
set(CDVDlinuzFinalFlags -D_LARGEFILE64_SOURCE)
|
2010-05-23 07:30:36 +00:00
|
|
|
|
|
|
|
# CDVDlinuz sources
|
|
|
|
set(CDVDlinuzSources
|
|
|
|
buffer.c
|
|
|
|
convert.c
|
|
|
|
ini.c
|
|
|
|
version.c)
|
|
|
|
|
|
|
|
# CDVDlinuz headers
|
|
|
|
set(CDVDlinuzHeaders
|
|
|
|
buffer.h
|
|
|
|
convert.h
|
|
|
|
ini.h
|
|
|
|
PS2Edefs.h
|
|
|
|
PS2Etypes.h
|
|
|
|
# ERROR It takes /usr/include/alsa/version.h
|
2010-08-17 14:39:58 +00:00
|
|
|
# The content was move to Linux/CDVDlinuz.h
|
|
|
|
# version.h
|
2010-05-23 07:30:36 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# CDVDlinuz Linux sources
|
|
|
|
set(CDVDlinuzLinuxSources
|
|
|
|
Linux/aboutbox.c
|
|
|
|
Linux/actualfile.c
|
|
|
|
Linux/CD.c
|
|
|
|
Linux/CDVDlinuz.c
|
|
|
|
Linux/conf.c
|
|
|
|
Linux/device.c
|
|
|
|
Linux/DVD.c
|
|
|
|
Linux/interface.c
|
|
|
|
Linux/logfile.c
|
|
|
|
Linux/mainbox.c)
|
|
|
|
|
|
|
|
# CDVDlinuz Linux headers
|
|
|
|
set(CDVDlinuzLinuxHeaders
|
|
|
|
Linux/aboutbox.h
|
|
|
|
Linux/actualfile.h
|
|
|
|
Linux/CD.h
|
|
|
|
Linux/CDVDlinuz.h
|
|
|
|
Linux/conf.h
|
|
|
|
Linux/device.h
|
|
|
|
Linux/DVD.h
|
|
|
|
Linux/logfile.h
|
|
|
|
Linux/mainbox.h)
|
|
|
|
|
2014-08-04 16:42:40 +00:00
|
|
|
set(CDVDlinuzFinalSources
|
2010-05-23 07:30:36 +00:00
|
|
|
${CDVDlinuzSources}
|
|
|
|
${CDVDlinuzHeaders}
|
|
|
|
${CDVDlinuzLinuxSources}
|
2014-08-04 16:42:40 +00:00
|
|
|
${CDVDlinuzLinuxHeaders}
|
|
|
|
)
|
|
|
|
|
|
|
|
set(CDVDlinuzFinalLibs
|
|
|
|
)
|
2010-05-23 07:30:36 +00:00
|
|
|
|
2014-08-04 16:42:40 +00:00
|
|
|
# add additional include directories
|
|
|
|
include_directories(Linux)
|
2011-07-17 11:25:17 +00:00
|
|
|
|
2014-12-14 13:00:20 +00:00
|
|
|
add_pcsx2_plugin(${Output} "${CDVDlinuzFinalSources}" "${CDVDlinuzFinalLibs}" "${CDVDlinuzFinalFlags}")
|