Add Unix files to wxQt build under Unix

Compile Unix, but not GUI toolkit, specific wxDialUpManager, wxJoystick
and wxSound implementations when building wxQt.

Closes #22895, #22896.
This commit is contained in:
Vadim Zeitlin 2022-10-21 15:46:40 +02:00
parent e28ab8974d
commit fba8a119a1
5 changed files with 83 additions and 0 deletions

View file

@ -244,6 +244,17 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<!-- wxQT -->
<!-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -->
<set var="QT_UNIX_SRC" hints="files">
src/unix/dialup.cpp
src/unix/joystick.cpp
src/unix/sound.cpp
</set>
<set var="QT_UNIX_HDR" hints="files">
wx/unix/joystick.h
wx/unix/sound.h
</set>
<set var="QT_WIN32_SRC" hints="files">
src/msw/ole/comimpl.cpp
src/msw/dialup.cpp
@ -269,10 +280,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
</set>
<set var="QT_PLATFORM_SRC" hints="files">
<if cond="PLATFORM_UNIX=='1'">$(QT_UNIX_SRC)</if>
<if cond="PLATFORM_WIN32=='1'">$(QT_WIN32_SRC)</if>
</set>
<set var="QT_PLATFORM_HDR" hints="files">
<if cond="PLATFORM_UNIX=='1'">$(QT_UNIX_HDR)</if>
<if cond="PLATFORM_WIN32=='1'">$(QT_WIN32_HDR)</if>
</set>