cmake HAVE_XINPUT_GAMEPAD_EX examples

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/CMakeLists.txt :1270

check_c_source_compiles("
        #include <windows.h>
        #include <xinput.h>
        XINPUT_GAMEPAD_EX x1;
        int main(int argc, char **argv) { }" HAVE_XINPUT_GAMEPAD_EX)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/CMakeLists.txt :1122

check_struct_has_member (XINPUT_GAMEPAD_EX wButtons xinput.h HAVE_XINPUT_GAMEPAD_EX)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/CMakeLists.txt :1124

foreach (VAR HAVE_XINPUT_GAMEPAD_EX HAVE_XINPUT_STATE_EX)

skylersaleh/SkyEmu src/SDL2/CMakeLists.txt :1580

check_c_source_compiles("
      #include <windows.h>
      #include <xinput.h>
      XINPUT_GAMEPAD_EX x1;
      int main(int argc, char **argv) { return 0; }" HAVE_XINPUT_GAMEPAD_EX)

urho3d/urho3d cmake/Modules/FindDirectX.cmake :209

check_struct_has_member (XINPUT_GAMEPAD_EX wButtons xinput.h HAVE_XINPUT_GAMEPAD_EX)

u3d-community/U3D cmake/Modules/FindDirectX.cmake :226

check_struct_has_member (XINPUT_GAMEPAD_EX wButtons xinput.h HAVE_XINPUT_GAMEPAD_EX)

openc2e/openc2e externals/SDL2/CMakeLists.txt :1752

check_c_source_compiles("
      #include <windows.h>
      #include <xinput.h>
      XINPUT_GAMEPAD_EX x1;
      int main(int argc, char **argv) { return 0; }" HAVE_XINPUT_GAMEPAD_EX)

rbfx/rbfx CMake/Modules/FindDirectX.cmake :225

check_struct_has_member (XINPUT_GAMEPAD_EX wButtons xinput.h HAVE_XINPUT_GAMEPAD_EX)

rbfx/rbfx Source/ThirdParty/SDL/CMakeLists.txt :1686

check_c_source_compiles("
      #include <windows.h>
      #include <xinput.h>
      XINPUT_GAMEPAD_EX x1;
      int main(int argc, char **argv) { return 0; }" HAVE_XINPUT_GAMEPAD_EX)

google/filament third_party/libsdl2/CMakeLists.txt :1167

check_c_source_compiles("
        #include <windows.h>
        #include <xinput.h>
        XINPUT_GAMEPAD_EX x1;
        int main(int argc, char **argv) { }" HAVE_XINPUT_GAMEPAD_EX)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/CMakeLists.txt :1585

check_c_source_compiles("
      #include <windows.h>
      #include <xinput.h>
      XINPUT_GAMEPAD_EX x1;
      int main(int argc, char **argv) { return 0; }" HAVE_XINPUT_GAMEPAD_EX)

klaussilveira/qengine vendor/SDL2-2.0.22/CMakeLists.txt :1585

check_c_source_compiles("
      #include <windows.h>
      #include <xinput.h>
      XINPUT_GAMEPAD_EX x1;
      int main(int argc, char **argv) { return 0; }" HAVE_XINPUT_GAMEPAD_EX)