Verified Commit 7f3f44a0 authored by GovanifY's avatar GovanifY
Browse files

cleanup²²

parent 2a21e6e7
......@@ -829,7 +829,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
INPUT = pcsx2_ipc.h \
INPUT = src/pcsx2_ipc.h \
bindings/c/c_ffi.h \
README.md
......
......@@ -12,8 +12,6 @@ Here is a list of files included in this repository:
* meson.build: The file that is used to define how to build the
program.
* README.md: Take a wild guess.
* client.cpp: An example client file using PCSX2 IPC C++ Reference API.
* pcsx2\_ipc.h: The reference implementation of PCSX2 IPC C++ API.
* windows\_qt.pro: A Qt build definition file. Useful if you want to compile
this example on Windows with Qt Creator.
* bindings/: A folder containing bindings for multiple popular languages.
......
project('pcsx2_ipc', 'cpp', default_options : ['cpp_std=c++17'])
add_global_arguments('-DC_FFI', language : 'cpp')
incdir = include_directories('../../')
incdir = include_directories('../../src/')
winsock = dependency('ws2_32', required : false)
thread_dep = dependency('threads')
src = ['c_ffi.cpp', 'c_ffi.h', '../../pcsx2_ipc.h']
src = ['c_ffi.cpp', 'c_ffi.h']
library('pcsx2_ipc_c', src, dependencies : [thread_dep, winsock],
include_directories: incdir)
include_directories : incdir)
cleaner = find_program('clang-format')
r = run_command(cleaner, '-i', src)
......@@ -2,7 +2,7 @@ project('pcsx2_ipc_c', 'cpp', default_options : ['cpp_std=c++17'])
winsock = dependency('ws2_32', required : false)
thread_dep = dependency('threads')
src = ['client.cpp', 'pcsx2_ipc.h']
src = ['src/client.cpp', 'src/pcsx2_ipc.h']
executable('client', src, dependencies : [thread_dep, winsock])
cleaner = find_program('clang-format')
......
#!/bin/sh
cd .
cd ..
rm -rf release
mkdir release
cp -rf pcsx2_ipc.h release/
cp -rf src/pcsx2_ipc.h release/
mkdir -p release/example
cp -rf Makefile windows-qt.pro client.cpp pcsx2_ipc.h release/example/
cp -rf windows-qt.pro meson.build src/ release/example/
cp -rf bindings/ release/
doxygen
mkdir -p release/docs
cp -rf html release/docs
cd latex && make
cd ..
cp -rf latex/refman.pdf release/docs
find release -type d -name build -prune -exec rm -rf {} \;
zip -r release.zip release
......@@ -22,10 +22,10 @@ DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
client.cpp
src/client.cpp
HEADERS += \
pcsx2_ipc.h
src/pcsx2_ipc.h
LIBS += -lws2_32
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment