brought linux in sync from windows implementation

This commit is contained in:
Jack Andersen 2015-05-03 19:18:52 -10:00
parent 4d1ec9f94b
commit ff04fbc5ce
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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