mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 18:45:36 +00:00
reuse part2
This commit is contained in:
parent
a3d88a3d02
commit
8447f3e06d
@ -1,3 +1,6 @@
|
||||
# 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)
|
||||
|
@ -26,7 +26,8 @@ void GenerateCodeFiles(
|
||||
std::string lowModName = moduleName;
|
||||
std::transform(lowModName.begin(), lowModName.end(), lowModName.begin(), ::tolower);
|
||||
std::string headerName(lowModName + ".h");
|
||||
std::string headerCode("// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project\n// SPDX-License-Identifier: GPL-2.0-or-later\n\n");
|
||||
std::string headerCode("// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project\n// "
|
||||
"SPDX-License-Identifier: GPL-2.0-or-later\n\n");
|
||||
headerCode += "#pragma once\n\n#include \"library_common.h\" \n\n";
|
||||
std::string trimmedName = moduleName;
|
||||
if (moduleName.find("libSce") != std::string::npos) {
|
||||
|
Loading…
Reference in New Issue
Block a user