File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
9
9
# Add subdirectories for each component
10
10
add_subdirectory (src/lib) # Static library
11
11
add_subdirectory (src/module) # PRX module
12
- add_subdirectory (src/example ) # Example program
12
+ add_subdirectory (examples/basic ) # Basic example program
Original file line number Diff line number Diff line change 1
1
# Example executable
2
- project (fooME )
2
+ project (basicME )
3
3
4
4
# Collect source files for the example program
5
5
file (GLOB EXAMPLE_SOURCES *.c)
6
6
7
7
# Define the executable target
8
- add_executable (fooME ${EXAMPLE_SOURCES} )
8
+ add_executable (basicME ${EXAMPLE_SOURCES} )
9
9
10
10
# Link against the static library
11
- target_link_libraries (fooME pspme_static)
11
+ target_link_libraries (basicME pspme_static)
12
12
13
13
# TODO: Copy the generated PRX pspme_prx module to the bin directory
14
14
# add_custom_command(
15
- # TARGET fooME POST_BUILD
15
+ # TARGET basicME POST_BUILD
16
16
# COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:pspme_prx> ${CMAKE_BINARY_DIR}/bin
17
17
# )
18
18
19
- # Set output name to "fooME .elf"
20
- set_target_properties (fooME PROPERTIES OUTPUT_NAME "fooME " )
21
- target_include_directories (fooME PRIVATE ${CMAKE_SOURCE_DIR} /include )
19
+ # Set output name to "basicME .elf"
20
+ set_target_properties (basicME PROPERTIES OUTPUT_NAME "basicME " )
21
+ target_include_directories (basicME PRIVATE ${CMAKE_SOURCE_DIR} /include )
22
22
23
- # Use create_pbp_file to generate a PBP file after building fooME .elf
23
+ # Use create_pbp_file to generate a PBP file after building basicME .elf
24
24
create_pbp_file(
25
- TARGET fooME
25
+ TARGET basicME
26
26
ICON_PATH NULL
27
27
BACKGROUND_PATH NULL
28
28
PREVIEW_PATH NULL
29
- TITLE "fooME "
29
+ TITLE "basicME "
30
30
)
Original file line number Diff line number Diff line change 9
9
10
10
#define VERS 1
11
11
#define REVS 0
12
- PSP_MODULE_INFO ("FooME " , 0 , VERS , REVS );
12
+ PSP_MODULE_INFO ("BasicME " , 0 , VERS , REVS );
13
13
PSP_MAIN_THREAD_ATTR (THREAD_ATTR_USER | THREAD_ATTR_VFPU );
14
14
15
15
static int exitRequest = 0 ;
You can’t perform that action at this time.
0 commit comments