Added PS Vita support

This commit is contained in:
2023-03-14 00:20:43 -07:00
parent ef7a0b29ba
commit 4d0439ca11
39 changed files with 937 additions and 340 deletions

View File

@ -1,25 +1,25 @@
# Copyright (c) 2022 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Libraries
target_link_libraries(${DAWN_TARGET_NAME}
PUBLIC
m
)
# Includes
target_include_directories(${DAWN_TARGET_NAME}
PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)
# Platform variables
target_compile_definitions(${DAWN_TARGET_NAME}
PUBLIC
DAWN_ASSET_BUILD_PREFIX="../../assets/"
)
# Subdirs
# Copyright (c) 2022 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Libraries
target_link_libraries(${DAWN_TARGET_NAME}
PUBLIC
m
)
# Includes
target_include_directories(${DAWN_TARGET_NAME}
PUBLIC
${CMAKE_CURRENT_LIST_DIR}
)
# Platform variables
target_compile_definitions(${DAWN_TARGET_NAME}
PUBLIC
DAWN_ASSET_BUILD_PREFIX="../../assets/"
)
# Subdirs
add_subdirectory(host)

View File

@ -0,0 +1,14 @@
// Copyright (c) 2023 Dominic Masters
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#pragma once
#include "dawnlibs.hpp"
// Draws an error message on screen and force closes the app after user input
template<typename... A>
void debugMessage(const char *fmt, A... args) {
printf(fmt, args...);
printf("\n");
}