diff --git a/libSquish.pri b/libSquish.pri new file mode 100644 index 0000000..0313db0 --- /dev/null +++ b/libSquish.pri @@ -0,0 +1,26 @@ +HEADERS += \ + squish.h + +SOURCES += \ + alpha.cpp \ + alpha.h \ + clusterfit.cpp \ + clusterfit.h \ + colourblock.cpp \ + colourblock.h \ + colourfit.cpp \ + colourfit.h \ + colourset.cpp \ + colourset.h \ + maths.cpp \ + maths.h \ + rangefit.cpp \ + rangefit.h \ + simd.h \ + simd_float.h \ + simd_sse.h \ + simd_ve.h \ + singlecolourfit.cpp \ + singlecolourfit.h \ + singlecolourlookup.inl \ + squish.cpp diff --git a/libSquish.pro b/libSquish.pro new file mode 100644 index 0000000..af68ab2 --- /dev/null +++ b/libSquish.pro @@ -0,0 +1,29 @@ +TARGET = squish +TEMPLATE = lib + +include(libSquish.pri) + +QT -= gui + +CONFIG += staticlib thread +CONFIG += debug_and_release + +CONFIG(debug, debug|release) { + unix:TARGET = $$join(TARGET,,,_debug) +} + +MOC_DIR = mocs +OBJECTS_DIR = objs +RCC_DIR = rccs +UI_DIR = uics + +CONFIG(debug, debug|release) { + unix:MOC_DIR = $$join(MOC_DIR,,,_debug) + unix:OBJECTS_DIR = $$join(OBJECTS_DIR,,,_debug) + unix:RCC_DIR = $$join(RCC_DIR,,,_debug) + unix:UI_DIR = $$join(UI_DIR,,,_debug) + win32:MOC_DIR = $$join(MOC_DIR,,,d) + win32:OBJECTS_DIR = $$join(OBJECTS_DIR,,,d) + win32:RCC_DIR = $$join(RCC_DIR,,,d) + win32:UI_DIR = $$join(UI_DIR,,,d) +}