diff --git a/libBoo.pri b/libBoo.pri index 66e92a2..f589cd3 100644 --- a/libBoo.pri +++ b/libBoo.pri @@ -31,9 +31,7 @@ SOURCES += \ $$PWD/src/inputdev/CDualshockPad.cpp \ $$PWD/src/inputdev/CGenericPad.cpp \ $$PWD/src/inputdev/CDeviceBase.cpp \ - $$PWD/src/inputdev/SDeviceSignature.cpp \ - $$PWD/src/inputdev/CHIDListenerWinUSB.cpp \ - $$PWD/src/inputdev/CHIDDeviceWinUSB.cpp + $$PWD/src/inputdev/SDeviceSignature.cpp unix:!macx { HEADERS += \ @@ -68,7 +66,9 @@ win32 { HEADERS += \ $$PWD/include/win/CWGLContext.hpp SOURCES += \ - $$PWD/src/win/CWGLContext.cpp + $$PWD/src/win/CWGLContext.cpp \ + $$PWD/src/inputdev/CHIDListenerWinUSB.cpp \ + $$PWD/src/inputdev/CHIDDeviceWinUSB.cpp } INCLUDEPATH += $$PWD/include diff --git a/libBoo.pro b/libBoo.pro index 849f483..f26f9eb 100644 --- a/libBoo.pro +++ b/libBoo.pro @@ -2,7 +2,7 @@ CONFIG -= Qt CONFIG += console #QMAKE_CXXFLAGS -= -std=c++0x #CONFIG += c++11 -unix:QMAKE_CXXFLAGS += -stdlib=libc++ +unix:QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++ unix:LIBS += -std=c++11 -stdlib=libc++ -lc++abi win32:LIBS += Setupapi.lib winusb.lib User32.lib /SUBSYSTEM:Windows