Add hqx2gp to CMake, port to *nix

This commit is contained in:
Diomendius
2024-06-11 01:46:18 +12:00
parent 3ae422eae4
commit 5543c7d053
2 changed files with 15 additions and 0 deletions

View File

@@ -321,5 +321,15 @@ target_include_directories(hqx2bin PRIVATE
)
target_link_libraries(hqx2bin PortabilityLayer)
add_executable(hqx2gp hqx2gp/hqx2gp.cpp AerofoilPortable/GpAllocator_C.cpp)
target_include_directories(hqx2gp PRIVATE
Common
GpCommon
PortabilityLayer
AerofoilPortable
UnixCompat
)
target_link_libraries(hqx2gp PortabilityLayer)
install (TARGETS ${EXECNAME})

View File

@@ -31,7 +31,12 @@ SOFTWARE.
#include "MacBinary2.h"
#include "MacFileMem.h"
#include "ZipFile.h"
#ifdef _WIN32
#include "WindowsUnicodeToolShim.h"
#else
#include "UnixCompat.h"
#endif
#include <string>