onepad_legacy: Separate the wx dialog code from the linux code here, too.

This commit is contained in:
Shanoah Alkire 2018-10-12 23:09:24 -07:00
parent a892a95af7
commit af646895f4
9 changed files with 19 additions and 9 deletions

View File

@ -9,6 +9,8 @@ set(compiled_images "${CMAKE_BINARY_DIR}/plugins/onepad_legacy/ImgHeader")
set(image_sources "${CMAKE_SOURCE_DIR}/plugins/onepad/Img") set(image_sources "${CMAKE_SOURCE_DIR}/plugins/onepad/Img")
set(linux_sources "Linux") set(linux_sources "Linux")
set(linux_headers "Linux") set(linux_headers "Linux")
set(wx_sources "wx_dialog")
set(wx_headers "wx_dialog")
set(onepadGuiResources set(onepadGuiResources
@ -62,21 +64,27 @@ set(onepadHeaders
onepad.h onepad.h
state_management.h) state_management.h)
# onepad wx sources
set(onepadwxSources
${wx_sources}/dialog.cpp
${wx_sources}/opPanel.cpp
${wx_sources}/GamepadConfiguration.cpp
${wx_headers}/JoystickConfiguration.cpp)
# onepad wx headers
set(onepadwxHeaders
${wx_headers}/opPanel.h
${wx_headers}/GamepadConfiguration.h
${wx_headers}/JoystickConfiguration.h)
# onepad Linux sources # onepad Linux sources
set(onepadLinuxSources set(onepadLinuxSources
${linux_sources}/ini.cpp ${linux_sources}/ini.cpp
${linux_sources}/dialog.cpp ${linux_sources}/linux.cpp)
${linux_sources}/linux.cpp
${linux_sources}/opPanel.cpp
${linux_sources}/GamepadConfiguration.cpp
${linux_headers}/JoystickConfiguration.cpp)
# onepad Linux headers # onepad Linux headers
set(onepadLinuxHeaders set(onepadLinuxHeaders
${linux_headers}/linux.h ${linux_headers}/linux.h)
${linux_headers}/opPanel.h
${linux_headers}/GamepadConfiguration.h
${linux_headers}/JoystickConfiguration.h)
# onepad Windows sources # onepad Windows sources
set(onepadWindowsSources set(onepadWindowsSources
@ -104,6 +112,8 @@ set(onepadFinalLibs
set(onepadFinalSources set(onepadFinalSources
${onepadSources} ${onepadSources}
${onepadHeaders} ${onepadHeaders}
${onepadwxSources}
${onepadwxHeaders}
${onepadLinuxSources} ${onepadLinuxSources}
${onepadLinuxHeaders} ${onepadLinuxHeaders}
${onepadGuiResources} ${onepadGuiResources}