Browse Source

cleanup²²

tags/v4
parent
commit
7f3f44a03f
Signed by: govanify GPG Key ID: DE62E1E2A6145556
8 changed files with 13 additions and 13 deletions
  1. +1
    -1
      Doxyfile
  2. +0
    -2
      README.md
  3. +3
    -4
      bindings/c/meson.build
  4. +1
    -1
      meson.build
  5. +0
    -0
      src/client.cpp
  6. +0
    -0
      src/pcsx2_ipc.h
  7. +6
    -3
      utils/build-release.sh
  8. +2
    -2
      windows-qt.pro

+ 1
- 1
Doxyfile View File

@@ -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



+ 0
- 2
README.md View File

@@ -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.


+ 3
- 4
bindings/c/meson.build View File

@@ -1,13 +1,12 @@
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)

+ 1
- 1
meson.build View File

@@ -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')


client.cpp → src/client.cpp View File


pcsx2_ipc.h → src/pcsx2_ipc.h View File


+ 6
- 3
utils/build-release.sh View File

@@ -1,13 +1,16 @@
#!/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

+ 2
- 2
windows-qt.pro View File

@@ -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



Loading…
Cancel
Save