-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcgCompress.pro
More file actions
37 lines (28 loc) · 1.14 KB
/
cgCompress.pro
File metadata and controls
37 lines (28 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TEMPLATE = app
TARGET = cgCompress
INCLUDEPATH += .
CONFIG += console
QT += concurrent
LIBS += -lz -llz4 -llzma
# Input
HEADERS += src/Compression.hpp src/CsvWriter.hpp src/Image.hpp src/Frame.hpp src/ImageSimilarities.hpp src/MultiImage.hpp src/Converter.hpp src/OraSaver.hpp src/FileUtils.hpp src/Format.hpp src/FileSizeEval.hpp src/ImageOptim.hpp src/ProgressBar.hpp
SOURCES += src/Compression.cpp src/CsvWriter.cpp src/Image.cpp src/Frame.cpp src/ImageSimilarities.cpp src/MultiImage.cpp src/Converter.cpp src/OraSaver.cpp src/FileUtils.cpp src/Format.cpp src/FileSizeEval.cpp src/ImageOptim.cpp src/main.cpp
# minizip
SOURCES += src/minizip/ioapi.cpp src/minizip/zip.cpp
# C++11 support
CONFIG += c++14
# Generate both debug and release on Linux
CONFIG += debug_and_release
#QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_DEBUG += -O3
# Position of binaries and build files
Release:DESTDIR = release
Release:UI_DIR = release/.ui
Release:OBJECTS_DIR = release/.obj
Release:MOC_DIR = release/.moc
Release:RCC_DIR = release/.qrc
Debug:DESTDIR = debug
Debug:UI_DIR = debug/.ui
Debug:OBJECTS_DIR = debug/.obj
Debug:MOC_DIR = debug/.moc
Debug:RCC_DIR = debug/.qrc