Modules generation tool (#81)

* Modules generation tool

* apply clang format to generator

* @whereismyfoodat suggestions

* added reuse headers

* reuse part2

* reuse part3

* reuse part3

* replace with hex_id the unknown functions to avoid compile errors with unknown characters from encode_id

* fixes in generation

* some sample module code from autogen tool

* clang format fix
This commit is contained in:
georgemoralis 2024-02-24 22:39:29 +02:00 committed by GitHub
parent d89653551e
commit 08aba86ca1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 46845 additions and 2 deletions

View file

@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
cmake_minimum_required(VERSION 3.22)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
project(modgen VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_definitions( -DMODULE_DIR="${CMAKE_CURRENT_SOURCE_DIR}/libraries/" )
add_definitions( -DLIBDOC_DIR="${CMAKE_CURRENT_SOURCE_DIR}/../../externals/ps4libdoc/system/common/lib/" )
add_executable(modgen
main.cpp
json.hpp
)