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)
|
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})
|
install (TARGETS ${EXECNAME})
|
||||||
|
@@ -24,8 +24,6 @@
|
|||||||
#include "rapidjson/rapidjson.h"
|
#include "rapidjson/rapidjson.h"
|
||||||
#include "rapidjson/document.h"
|
#include "rapidjson/document.h"
|
||||||
|
|
||||||
#include "WindowsUnicodeToolShim.h"
|
|
||||||
|
|
||||||
#include "macedec.h"
|
#include "macedec.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -33,7 +31,13 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "WindowsUnicodeToolShim.h"
|
||||||
#include "GpWindows.h"
|
#include "GpWindows.h"
|
||||||
|
#else
|
||||||
|
#include "UnixCompat.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
enum AudioCompressionCodecID
|
enum AudioCompressionCodecID
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user