mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Add gpr2gpa to CMake, port to *nix
This commit is contained in:
@@ -331,5 +331,23 @@ target_include_directories(hqx2gp PRIVATE
|
||||
)
|
||||
target_link_libraries(hqx2gp PortabilityLayer)
|
||||
|
||||
add_executable(gpr2gpa
|
||||
gpr2gpa/gpr2gpa.cpp
|
||||
gpr2gpa/macedec.cpp
|
||||
AerofoilPortable/GpAllocator_C.cpp
|
||||
UnixCompat/UnixCompat.cpp
|
||||
)
|
||||
target_include_directories(gpr2gpa PRIVATE
|
||||
Common
|
||||
GpCommon
|
||||
PortabilityLayer
|
||||
AerofoilPortable
|
||||
MacRomanConversion
|
||||
UnixCompat
|
||||
rapidjson/include
|
||||
zlib
|
||||
)
|
||||
target_link_libraries(gpr2gpa PortabilityLayer MacRomanConversion zlib)
|
||||
|
||||
|
||||
install (TARGETS ${EXECNAME})
|
||||
|
@@ -24,8 +24,6 @@
|
||||
#include "rapidjson/rapidjson.h"
|
||||
#include "rapidjson/document.h"
|
||||
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
|
||||
#include "macedec.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -33,7 +31,13 @@
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "WindowsUnicodeToolShim.h"
|
||||
#include "GpWindows.h"
|
||||
#else
|
||||
#include "UnixCompat.h"
|
||||
#endif
|
||||
|
||||
enum AudioCompressionCodecID
|
||||
{
|
||||
|
Reference in New Issue
Block a user