QT += core widgets
TEMPLATE = lib
CONFIG += staticlib c++17

SOURCES += \
    # Base class
    assets.cpp \
    animparts.cpp \
    asset.cpp \
    assetlist.cpp \
    clipmap.cpp \
    comworld.cpp \
    d3dresource.cpp \
    effectdef.cpp \
    effecttable.cpp \
    file.cpp \
    font.cpp \
    gameworld.cpp \
    gfximage.cpp \
    gfxlightdef.cpp \
    gfxworld.cpp \
    loadedsound.cpp \
    localizeentry.cpp \
    mapent.cpp \
    material.cpp \
    materialpixelshader.cpp \
    materialtechset.cpp \
    menudef.cpp \
    menulist.cpp \
    model.cpp \
    rawfile.cpp \
    scriptstringlist.cpp \
    soundalias.cpp \
    soundcurve.cpp \
    sounddriver.cpp \
    stringtable.cpp \
    weapondef.cpp \
    # 360 classes
    360/assets_cod2_360.cpp \
    360/assets_cod4_360.cpp \
    360/assets_cod5_360.cpp \
    360/assets_cod6_360.cpp \
    360/assets_cod7_360.cpp \
    360/assets_cod8_360.cpp \
    360/assets_cod9_360.cpp \
    360/assets_cod10_360.cpp \
    360/assets_cod11_360.cpp \
    360/assets_cod12_360.cpp \
    # PS3 classes
    PS3/assets_cod4_ps3.cpp \
    PS3/assets_cod5_ps3.cpp \
    PS3/assets_cod6_ps3.cpp \
    PS3/assets_cod7_ps3.cpp \
    PS3/assets_cod8_ps3.cpp \
    PS3/assets_cod9_ps3.cpp \
    PS3/assets_cod10_ps3.cpp \
    PS3/assets_cod11_ps3.cpp \
    PS3/assets_cod12_ps3.cpp \
    # PC classes
    PC/assets_cod4_pc.cpp \
    PC/assets_cod5_pc.cpp \
    PC/assets_cod6_pc.cpp \
    PC/assets_cod7_pc.cpp \
    PC/assets_cod8_pc.cpp \
    PC/assets_cod9_pc.cpp \
    PC/assets_cod10_pc.cpp \
    PC/assets_cod11_pc.cpp \
    PC/assets_cod12_pc.cpp \
    # Wii classes
    Wii/assets_cod4_wii.cpp \
    Wii/assets_cod7_wii.cpp \
    Wii/assets_cod8_wii.cpp \
    # WiiU classes
    WiiU/assets_cod9_wiiu.cpp \
    WiiU/assets_cod10_wiiu.cpp

HEADERS += \
    # Base class
    animparts.h \
    asset.h \
    assetlist.h \
    assetmap.h \
    assets.h \
    # 360 classes
    360/assets_cod2_360.h \
    360/assets_cod4_360.h \
    360/assets_cod5_360.h \
    360/assets_cod6_360.h \
    360/assets_cod7_360.h \
    360/assets_cod8_360.h \
    360/assets_cod9_360.h \
    360/assets_cod10_360.h \
    360/assets_cod11_360.h \
    360/assets_cod12_360.h \
    # PS3 classes
    PS3/assets_cod4_ps3.h \
    PS3/assets_cod5_ps3.h \
    PS3/assets_cod6_ps3.h \
    PS3/assets_cod7_ps3.h \
    PS3/assets_cod8_ps3.h \
    PS3/assets_cod9_ps3.h \
    PS3/assets_cod10_ps3.h \
    PS3/assets_cod11_ps3.h \
    PS3/assets_cod12_ps3.h \
    # PC classes
    PC/assets_cod4_pc.h \
    PC/assets_cod5_pc.h \
    PC/assets_cod6_pc.h \
    PC/assets_cod7_pc.h \
    PC/assets_cod8_pc.h \
    PC/assets_cod9_pc.h \
    PC/assets_cod10_pc.h \
    PC/assets_cod11_pc.h \
    PC/assets_cod12_pc.h \
    # Wii classes
    Wii/assets_cod4_wii.h \
    Wii/assets_cod7_wii.h \
    Wii/assets_cod8_wii.h \
    # WiiU classes
    WiiU/assets_cod9_wiiu.h \
    WiiU/assets_cod10_wiiu.h \
    clipmap.h \
    comworld.h \
    d3dresource.h \
    effectdef.h \
    effecttable.h \
    file.h \
    font.h \
    gameworld.h \
    gfximage.h \
    gfxlightdef.h \
    gfxworld.h \
    loadedsound.h \
    localizeentry.h \
    mapent.h \
    material.h \
    materialpixelshader.h \
    materialtechset.h \
    menudef.h \
    menulist.h \
    model.h \
    rawfile.h \
    scriptstringlist.h \
    soundalias.h \
    soundcurve.h \
    sounddriver.h \
    stringtable.h \
    weapondef.h

LIBS += \
    -L$$OUT_PWD/../libs/core -lcore

INCLUDEPATH += \
    $$PWD/../core

DEPENDPATH += \
    $$PWD/../core

DESTDIR = $$OUT_PWD/../
