mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Add unpacktool to CMake, port to *nix
This commit is contained in:
@@ -392,5 +392,39 @@ target_include_directories(HouseTool PRIVATE
|
||||
)
|
||||
target_link_libraries(HouseTool PortabilityLayer MacRomanConversion)
|
||||
|
||||
add_executable(unpacktool
|
||||
unpacktool/ArchiveDescription.cpp
|
||||
unpacktool/BWT.cpp
|
||||
unpacktool/CompactProLZHDecompressor.cpp
|
||||
unpacktool/CompactProLZHRLEDecompressor.cpp
|
||||
unpacktool/CompactProParser.cpp
|
||||
unpacktool/CompactProRLEDecompressor.cpp
|
||||
unpacktool/CRC.cpp
|
||||
unpacktool/CSInputBuffer.cpp
|
||||
unpacktool/DecompressorProxyReader.cpp
|
||||
unpacktool/LZSSDecompressor.cpp
|
||||
unpacktool/LZW.cpp
|
||||
unpacktool/LZWDecompressor.cpp
|
||||
unpacktool/NullDecompressor.cpp
|
||||
unpacktool/PrefixCode.cpp
|
||||
unpacktool/RLE90Decompressor.cpp
|
||||
unpacktool/StringCommon.cpp
|
||||
unpacktool/StuffIt13Decompressor.cpp
|
||||
unpacktool/StuffIt5Parser.cpp
|
||||
unpacktool/StuffItArsenicDecompressor.cpp
|
||||
unpacktool/StuffItCommon.cpp
|
||||
unpacktool/StuffItHuffmanDecompressor.cpp
|
||||
unpacktool/StuffItParser.cpp
|
||||
unpacktool/unpacktool.cpp
|
||||
)
|
||||
target_include_directories(unpacktool PRIVATE
|
||||
Common
|
||||
GpCommon
|
||||
PortabilityLayer
|
||||
MacRomanConversion
|
||||
UnixCompat
|
||||
)
|
||||
target_link_libraries(unpacktool PortabilityLayer MacRomanConversion)
|
||||
|
||||
|
||||
install (TARGETS ${EXECNAME})
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "IDecompressor.h"
|
||||
|
||||
class CompactProRLEDecompressor : public IDecompressor
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct CSInputBuffer;
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct IFileReader
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include "PrefixCode.h"
|
||||
|
||||
struct XADCodeTreeNode
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "IDecompressor.h"
|
||||
|
||||
class RLE90Decompressor : public IDecompressor
|
||||
|
@@ -1,4 +1,17 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
#else
|
||||
#include "UnixCompat.h"
|
||||
#endif
|
||||
|
||||
#include "IArchiveParser.h"
|
||||
#include "IFileReader.h"
|
||||
@@ -22,18 +35,8 @@
|
||||
#include "CompactProLZHRLEDecompressor.h"
|
||||
|
||||
#include "CSInputBuffer.h"
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
|
||||
#include "CombinedTimestamp.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <Windows.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CFileReader final : public IFileReader
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user