mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
move fxg1a/ -> fxgxa/ to prepare implementing fxg3a
This commit is contained in:
parent
0fd94fd894
commit
ec39aa5cde
11 changed files with 19 additions and 3 deletions
|
@ -24,10 +24,18 @@ set(BIN "${CMAKE_CURRENT_BINARY_DIR}")
|
|||
add_compile_options(-Wall -Wextra -std=c11 -Og -g -D_GNU_SOURCE)
|
||||
|
||||
# fxg1a
|
||||
add_executable(fxg1a fxg1a/dump.c fxg1a/edit.c fxg1a/file.c fxg1a/icon.c
|
||||
fxg1a/main.c fxg1a/util.c)
|
||||
target_include_directories(fxg1a PUBLIC fxg1a/)
|
||||
add_executable(fxg1a fxgxa/dump.c fxgxa/edit.c fxgxa/file.c fxgxa/icon.c
|
||||
fxgxa/main.c fxgxa/util.c)
|
||||
target_include_directories(fxg1a PUBLIC fxgxa/)
|
||||
target_link_libraries(fxg1a PkgConfig::libpng)
|
||||
target_compile_definitions(fxg1a PRIVATE -DFXGXA_FORMAT_G1A)
|
||||
|
||||
# fxg3a
|
||||
add_executable(fxg3a fxgxa/dump.c fxgxa/edit.c fxgxa/file.c fxgxa/icon.c
|
||||
fxgxa/main.c fxgxa/util.c)
|
||||
target_include_directories(fxg3a PUBLIC fxgxa/)
|
||||
target_link_libraries(fxg3a PkgConfig::libpng)
|
||||
target_compile_definitions(fxg3a PRIVATE -DFXGXA_FORMAT_G3A)
|
||||
|
||||
# fxsdk
|
||||
add_custom_command(OUTPUT "${BIN}/fxsdk.sh"
|
||||
|
@ -58,6 +66,8 @@ install(DIRECTORY fxsdk/assets DESTINATION share/fxsdk)
|
|||
install(DIRECTORY fxsdk/cmake/ DESTINATION lib/cmake/fxsdk)
|
||||
# fxg1a
|
||||
install(TARGETS fxg1a)
|
||||
# fxg3a
|
||||
install(TARGETS fxg3a)
|
||||
# fxconv
|
||||
install(PROGRAMS fxconv/fxconv-main.py TYPE BIN RENAME fxconv)
|
||||
install(FILES fxconv/fxconv.py TYPE BIN)
|
||||
|
|
|
@ -88,6 +88,12 @@ don't need to worry about it, but here are the main commands:
|
|||
* `fxg1a -r`: Repair control bytes and checksums for broken files
|
||||
* `fxg1a -x`: Extract icon into a PNG file
|
||||
|
||||
**G3A file generation** with `fxg3a`
|
||||
|
||||
`fxg3a` is very similar to `fxg1a`, but generates and edits g3a files instead.
|
||||
These files are used for fx-CG 10/20/50 programs. The main commands are
|
||||
identical.
|
||||
|
||||
**Asset conversion** with `fxconv`
|
||||
|
||||
`fxconv` is a programmable asset converter that converts images, fonts and
|
||||
|
|
Loading…
Reference in a new issue