First actual commit, still nothing
This commit is contained in:
parent
89d8451407
commit
c6377b1407
10 changed files with 1162 additions and 0 deletions
44
CMakeLists.txt
Normal file
44
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
|
||||
if(DEFINED ENV{VITASDK})
|
||||
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
|
||||
else()
|
||||
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
project(Apollon)
|
||||
include("${VITASDK}/share/vita.cmake" REQUIRED)
|
||||
|
||||
set(VITA_APP_NAME "Apollon")
|
||||
set(VITA_TITLEID "HANE00001")
|
||||
set(VITA_VERSION "01.00")
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wpedantic -std=gnu11")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
|
||||
include_directories(
|
||||
src
|
||||
src/debugScreen
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
src/main.c
|
||||
src/debugScreen/debugScreen.c
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
m
|
||||
SceDisplay_stub
|
||||
SceCtrl_stub
|
||||
SceAudio_stub
|
||||
)
|
||||
|
||||
# RUNTIME_OUTPUT_DIRECTORY = ./build
|
||||
vita_create_self(${PROJECT_NAME}.self ${PROJECT_NAME})
|
||||
vita_create_vpk(${PROJECT_NAME}.vpk ${VITA_TITLEID} ${PROJECT_NAME}.self
|
||||
VERSION ${VITA_VERSION}
|
||||
NAME ${VITA_APP_NAME}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue