shadPS4/tools/ModuleGenerator/CMakeLists.txt
georgemoralis 08aba86ca1
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
2024-02-24 22:39:29 +02:00

24 lines
560 B
CMake

# 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
)