Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
XAudio2 samples now support MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Feb 25, 2023
1 parent cae16bf commit fff529a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,18 @@ add_subdirectory(Direct3D11TutorialsDXUT/Tutorial08)
add_subdirectory(Direct3D11TutorialsDXUT/Tutorial09)
add_subdirectory(Direct3D11TutorialsDXUT/Tutorial10)

if(NOT MINGW)
add_subdirectory(XAudio2/XAudio2AsyncStream)
add_subdirectory(XAudio2/XAudio2BasicSound)
add_subdirectory(XAudio2/XAudio2AsyncStream)
add_subdirectory(XAudio2/XAudio2BasicSound)

if(NOT MINGW)
# Effects for Direct3D 11 is not compatible with MinGW
add_subdirectory(BasicHLSLFX11)

add_subdirectory(Direct3D11TutorialsFX11/Tutorial11)
add_subdirectory(Direct3D11TutorialsFX11/Tutorial12)
add_subdirectory(Direct3D11TutorialsFX11/Tutorial13)
add_subdirectory(Direct3D11TutorialsFX11/Tutorial14)

# xapobase.lib is not compatible with MinGW
add_subdirectory(XAudio2/XAudio2CustomAPO)
endif()
1 change: 1 addition & 0 deletions t.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
code D:\Microsoft\directx-sdk-samples\CMakeLists.txt D:\Microsoft\directx-sdk-samples\AdaptiveTessellationCS40\CMakeLists.txt D:\Microsoft\directx-sdk-samples\BasicCompute11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\BasicHLSL11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\BasicHLSLFX11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\ComputeShaderSort11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial01\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial02\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial03\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial04\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial05\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial06\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11Tutorials\Tutorial07\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsDXUT\Tutorial08\ MakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsDXUT\Tutorial09\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsDXUT\Tutorial10\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsFX11\Tutorial11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsFX11\Tutorial12\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsFX11\Tutorial13\CMakeLists.txt D:\Microsoft\directx-sdk-samples\Direct3D11TutorialsFX11\Tutorial14\CMakeLists.txt D:\Microsoft\directx-sdk-samples\EmptyProject11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\SimpleBezier11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\SimpleSample11\CMakeLists.txt D:\Microsoft\directx-sdk-samples\XAudio2\XAudio2AsyncStream\CMakeLists.txt D:\Microsoft\directx-sdk-samples\XAudio2\XAudio2BasicSound\CMakeLists.txt D:\Microsoft\directx-sdk-samples\XAudio2\XAudio2CustomAPO\CMakeLists.txt

0 comments on commit fff529a

Please sign in to comment.