mirror of https://github.com/PCSX2/pcsx2.git
65 lines
1.2 KiB
CMake
65 lines
1.2 KiB
CMake
# CDVDlinuz Plugin
|
|
|
|
# plugin name
|
|
set(Output CDVDlinuz)
|
|
set(CDVDlinuzFinalFlags -D_LARGEFILE64_SOURCE)
|
|
|
|
# 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
|
|
# The content was move to Linux/CDVDlinuz.h
|
|
# version.h
|
|
)
|
|
|
|
# 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)
|
|
|
|
set(CDVDlinuzFinalSources
|
|
${CDVDlinuzSources}
|
|
${CDVDlinuzHeaders}
|
|
${CDVDlinuzLinuxSources}
|
|
${CDVDlinuzLinuxHeaders}
|
|
)
|
|
|
|
set(CDVDlinuzFinalLibs
|
|
)
|
|
|
|
# add additional include directories
|
|
include_directories(Linux)
|
|
|
|
add_pcsx2_plugin(${Output} "${CDVDlinuzFinalSources}" "${CDVDlinuzFinalLibs}" "${CDVDlinuzFinalFlags}")
|