2013-01-29 05:09:25 +00:00
|
|
|
CONFIG += staticlib
|
2013-09-14 23:08:53 +00:00
|
|
|
TEMPLATE= lib
|
2013-09-09 03:36:54 +00:00
|
|
|
DESTDIR = ./lib
|
2013-07-21 07:49:07 +00:00
|
|
|
|
2014-02-27 05:47:39 +00:00
|
|
|
# Uncomment this if you wish to use Qt with libZelda
|
|
|
|
DEFINES += LIBZELDA_USE_QT
|
|
|
|
|
|
|
|
contains(DEFINES, LIBZELDA_USE_QT){
|
|
|
|
QT += core
|
|
|
|
}
|
|
|
|
|
2013-07-21 07:49:07 +00:00
|
|
|
CONFIG(debug, debug|release){
|
|
|
|
DEFINES += DEBUG
|
|
|
|
TARGET=zelda-d
|
2013-09-14 23:08:53 +00:00
|
|
|
# We don't want the objects,
|
|
|
|
# in the project directory, so tell qmake
|
|
|
|
# where to put them
|
|
|
|
OBJECTS_DIR = obj/debug
|
2013-07-21 07:49:07 +00:00
|
|
|
}
|
2013-07-28 01:42:11 +00:00
|
|
|
|
2013-07-21 07:49:07 +00:00
|
|
|
CONFIG(release, release|debug){
|
|
|
|
DEFINES -= DEBUG
|
2013-09-17 19:40:21 +00:00
|
|
|
TARGET=zelda
|
2013-09-14 23:08:53 +00:00
|
|
|
# We don't want the objects,
|
|
|
|
# in the project directory, so tell qmake
|
|
|
|
# where to put them
|
|
|
|
OBJECTS_DIR = obj/release
|
2013-07-21 07:49:07 +00:00
|
|
|
}
|
|
|
|
|
2013-09-10 22:47:58 +00:00
|
|
|
QMAKE_CXXFLAGS = -std=c++0x
|
2013-01-29 05:09:25 +00:00
|
|
|
INCLUDEPATH += include
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
include/utility.hpp \
|
|
|
|
include/utf8.h \
|
2013-02-16 04:22:16 +00:00
|
|
|
include/utf8/unchecked.h \
|
|
|
|
include/utf8/core.h \
|
|
|
|
include/utf8/checked.h \
|
2013-01-29 05:09:25 +00:00
|
|
|
include/Types.hpp \
|
|
|
|
include/TextStream.hpp \
|
|
|
|
include/Stream.hpp \
|
|
|
|
include/Mainpage.hpp \
|
|
|
|
include/InvalidOperationException.hpp \
|
|
|
|
include/IOException.hpp \
|
|
|
|
include/FileNotFoundException.hpp \
|
|
|
|
include/Exception.hpp \
|
|
|
|
include/BinaryWriter.hpp \
|
|
|
|
include/BinaryReader.hpp \
|
2013-02-16 04:22:16 +00:00
|
|
|
include/WiiBanner.hpp \
|
|
|
|
include/WiiFile.hpp \
|
|
|
|
include/WiiSave.hpp \
|
|
|
|
include/WiiSaveReader.hpp \
|
|
|
|
include/WiiSaveWriter.hpp \
|
|
|
|
include/aes.h \
|
|
|
|
include/bn.h \
|
|
|
|
include/ec.h \
|
|
|
|
include/md5.h \
|
2013-02-16 18:28:30 +00:00
|
|
|
include/sha1.h \
|
|
|
|
include/ALTTPStructs.hpp \
|
|
|
|
include/ALTTPQuest.hpp \
|
|
|
|
include/ALTTPFileWriter.hpp \
|
|
|
|
include/ALTTPFileReader.hpp \
|
|
|
|
include/ALTTPFile.hpp \
|
2013-07-21 03:57:20 +00:00
|
|
|
include/ALTTPEnums.hpp \
|
|
|
|
include/MCFileReader.hpp \
|
|
|
|
include/MCFile.hpp \
|
|
|
|
include/MCFileWriter.hpp \
|
|
|
|
include/ZQuestFileWriter.hpp \
|
|
|
|
include/ZQuestFileReader.hpp \
|
2013-07-21 07:49:07 +00:00
|
|
|
include/Compression.hpp \
|
2013-07-22 03:06:54 +00:00
|
|
|
include/WiiImage.hpp \
|
2013-07-28 01:42:11 +00:00
|
|
|
include/ZQuestFile.hpp \
|
2014-01-26 05:03:32 +00:00
|
|
|
include/Checksums.hpp \
|
|
|
|
include/SkywardSwordFile.hpp \
|
|
|
|
include/SkywardSwordFileReader.hpp \
|
|
|
|
include/SkywardSwordFileWriter.hpp \
|
|
|
|
include/SkywardSwordQuest.hpp \
|
|
|
|
include/Sprite.hpp \
|
|
|
|
include/SpriteFile.hpp \
|
|
|
|
include/SpriteFileReader.hpp \
|
|
|
|
include/SpriteFileWriter.hpp \
|
|
|
|
include/SpriteFrame.hpp \
|
|
|
|
include/SpritePart.hpp
|
2013-01-29 05:09:25 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/utility.cpp \
|
|
|
|
src/TextStream.cpp \
|
|
|
|
src/Stream.cpp \
|
|
|
|
src/BinaryWriter.cpp \
|
2013-02-16 04:22:16 +00:00
|
|
|
src/BinaryReader.cpp \
|
|
|
|
src/WiiBanner.cpp \
|
|
|
|
src/WiiFile.cpp \
|
|
|
|
src/WiiSave.cpp \
|
|
|
|
src/WiiSaveReader.cpp \
|
|
|
|
src/WiiSaveWriter.cpp \
|
|
|
|
src/aes.c \
|
|
|
|
src/bn.cpp \
|
|
|
|
src/ec.cpp \
|
2013-09-28 15:14:13 +00:00
|
|
|
src/md5.cpp \
|
2013-02-16 18:28:30 +00:00
|
|
|
src/sha1.cpp \
|
|
|
|
src/ALTTPQuest.cpp \
|
|
|
|
src/ALTTPFileWriter.cpp \
|
|
|
|
src/ALTTPFileReader.cpp \
|
2013-07-21 03:57:20 +00:00
|
|
|
src/ALTTPFile.cpp \
|
|
|
|
src/MCFileReader.cpp \
|
|
|
|
src/MCFile.cpp \
|
|
|
|
src/MCFileWriter.cpp \
|
|
|
|
src/ZQuestFileWriter.cpp \
|
|
|
|
src/ZQuestFileReader.cpp \
|
2013-07-21 07:49:07 +00:00
|
|
|
src/Compression.cpp \
|
2013-07-22 03:06:54 +00:00
|
|
|
src/WiiImage.cpp \
|
2013-07-28 01:42:11 +00:00
|
|
|
src/ZQuestFile.cpp \
|
2014-01-26 05:03:32 +00:00
|
|
|
src/Checksums.cpp \
|
|
|
|
src/SkywardSwordFile.cpp \
|
|
|
|
src/SkywardSwordFileReader.cpp \
|
|
|
|
src/SkywardSwordFileWriter.cpp \
|
|
|
|
src/SkywardSwordQuest.cpp \
|
|
|
|
src/Sprite.cpp \
|
|
|
|
src/SpriteFile.cpp \
|
|
|
|
src/SpriteFileReader.cpp \
|
|
|
|
src/SpriteFileWriter.cpp \
|
|
|
|
src/SpriteFrame.cpp \
|
|
|
|
src/SpritePart.cpp
|