mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
* add psvita to cmake * no PIE for vita * add modules to vpk * use custom pvr apphint * select correct renderer for sdl renderer * patch sdl3 shaders, got something on screen! * use proper cmake patch for sdl * add missing module * remove test window which causes a bug in the vita sdl port to show up * add gxm renderer (not working with display yet) * avoid sdl renderer for vita, seems broken * make gxm renderer work with new d3drm * fix rendering somewhat, some geometry shows up * support paletted textures directly to avoid copying the texture twice * fix Draw2DImage * make 3d work, broken lights * clean up a bit * fix normals matrix * remove some unneeded changes * forgot env var * wrong env dest * run clang format * correct texture address mode, use tlsf instead of sceClibMspace * double buffered uniforms seem to work now * missed a line * update GXMRenderer_EnumDevice * hopefully actually fix uniform buffers * run clang-format * remove a change thats not needed * improve fragment shader performance * add vita to dist folder * add base for vita config app * add config self to vpk * transform touch events to virtual size * add livearea graphics * Update cmake file to include livearea assets * put manual in the right place * add sample rco * add messagebox on vita * triple buffer textures because fences arent a thing on vita and making draw&cpu sync would be too slow * make config app not crash on launch * change defaults * update gxm renderer with interface changes * split 2d and 3d shaders completely * update gxm renderer * fix transition on gxm * clang format * move config cmake * move CONFIG_vita * always clear before drawing 2d image * hopefully fix windows build * clang-format fix broken includes * order again * undo moving qt cmake to its own list * move uic search path * use ifdefs for all d3drm backends, cpack to generate vpk * cmake wrong escape * small cleanups in gxm renderer * defer texture delete to avoid overwriting the texture during a frame * clang-format * more of the layout for config * remove top buttons * use SceAppSettings instead of custom ui * use select for back to info center on vita, to make screenshots possible again * remove accidentally left in add_subdirectory * adjust diskpath to be like other ports * use vita_create_vpk and not cpack * gxm: msaa support, fix wrong file path * gxm: add mipmaps (disabled) * clang-format * fix open isle.ini with fopen * add missing strings * use iniparser_set not dictionary_set * add default save path to config * load config app after initializing ini on vita * fix config build * change the default disk & cd path, update the paf library * update paf library headers * include orders for clang-format * clean up * make shader compiler not required * move asm language * warn instead of error when shader source is changed when no compiler is found --------- Co-authored-by: Li <li@silica.codes> Co-authored-by: Christian Semmler <mail@csemmler.com>
74 lines
1.7 KiB
CMake
74 lines
1.7 KiB
CMake
cmake_minimum_required(VERSION 3.25...4.0 FATAL_ERROR)
|
|
|
|
project(isle-config LANGUAGES CXX C VERSION 0.1)
|
|
|
|
include("${VITASDK}/share/vita.cmake" REQUIRED)
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
ScePaf_External
|
|
URL https://github.com/olebeck/ScePaf/releases/download/v21/ScePaf-1.0.0.zip
|
|
URL_HASH SHA256=357b914a5c99ea17afe0edc8787a05cbf2ecce2f1d73bb9be69f371a294b8943
|
|
UPDATE_DISCONNECTED TRUE
|
|
)
|
|
FetchContent_MakeAvailable(ScePaf_External)
|
|
|
|
|
|
FetchContent_Declare(
|
|
iniparser_paf
|
|
GIT_REPOSITORY "https://gitlab.com/iniparser/iniparser.git"
|
|
GIT_TAG "v4.2.6"
|
|
UPDATE_DISCONNECTED TRUE
|
|
EXCLUDE_FROM_ALL
|
|
PATCH_COMMAND patch -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/iniparser_paf.patch
|
|
)
|
|
block()
|
|
set(BUILD_DOCS off)
|
|
set(BUILD_SHARED_LIBS off)
|
|
FetchContent_MakeAvailable(iniparser_paf)
|
|
endblock()
|
|
|
|
add_executable(isle-config
|
|
src/paf_runtime.cpp
|
|
src/app.cpp
|
|
)
|
|
|
|
set_target_properties(isle-config PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
)
|
|
|
|
target_compile_options(isle-config PRIVATE
|
|
-fno-rtti -fno-exceptions -Wl,-q -Wall -fno-builtin -fshort-wchar -Wno-unused-function -Wno-sign-compare -fno-use-cxa-atexit
|
|
)
|
|
|
|
target_link_options(isle-config PRIVATE
|
|
-nostartfiles -nostdlib
|
|
)
|
|
|
|
target_link_libraries(isle-config PRIVATE
|
|
SceAppMgr_stub
|
|
SceLibKernel_stub
|
|
SceSysmodule_stub
|
|
|
|
ScePafToplevel_stub
|
|
ScePafResource_stub
|
|
ScePafWidget_stub
|
|
ScePafCommon_stub
|
|
ScePafStdc_stub
|
|
SceAppSettings_stub
|
|
SceFios2_stub
|
|
SceLibc_stub
|
|
|
|
iniparser_paf-static
|
|
)
|
|
|
|
vita_create_self(isle-config.self isle-config
|
|
CONFIG exports.yml
|
|
UNSAFE
|
|
STRIPPED
|
|
REL_OPTIMIZE
|
|
)
|
|
|
|
include(${scepaf_external_SOURCE_DIR}/rco.cmake)
|
|
make_rco(cxml/config_plugin.xml config_plugin.rco)
|