Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

66 lines
1.7 KiB

projectname = c++utilities
# include ../../common.pri when building as part of a subdirs project; otherwise include general.pri
!include(../../common.pri) {
!include(./general.pri) {
error("Couldn't find the common.pri or the general.pri file!")
}
}
CONFIG -= qt
win32 {
CONFIG += dll
}
SOURCES += \
application/argumentparser.cpp \
application/failure.cpp \
io/binarywriter.cpp \
io/binaryreader.cpp \
io/path.cpp \
conversion/stringconversion.cpp \
conversion/conversionexception.cpp \
chrono/timespan.cpp \
chrono/datetime.cpp \
chrono/period.cpp \
math/math.cpp \
application/fakeqtconfigarguments.cpp \
io/ansiescapecodes.cpp \
misc/random.cpp
HEADERS += \
application/global.h \
application/argumentparser.h \
application/failure.h \
io/binarywriter.h \
io/binaryreader.h \
io/path.h \
conversion/types.h \
conversion/widen.h \
conversion/binaryconversion.h \
conversion/stringconversion.h \
conversion/conversionexception.h \
chrono/timespan.h \
chrono/datetime.h \
chrono/period.h \
math/math.h \
io/copy.h \
conversion/binaryconversionprivate.h \
application/fakeqtconfigarguments.h \
io/ansiescapecodes.h \
misc/memory.h \
misc/random.h
OTHER_FILES += \
pkgbuild/default/PKGBUILD \
pkgbuild/mingw-w64/PKGBUILD
# installs
target.path = $$(INSTALL_ROOT)/lib
INSTALLS += target
for(dir, $$list(application io conversion chrono math misc)) {
eval(inc_$${dir} = $${dir})
inc_$${dir}.path = $$(INSTALL_ROOT)/include/$$projectname/$${dir}
inc_$${dir}.files = $${dir}/*.h
INSTALLS += inc_$${dir}
}