-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhangjipeng
committed
Dec 1, 2024
1 parent
920b6dc
commit 60d86d8
Showing
42 changed files
with
456 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
# Copyright (C) 2024 Zhang Ji Peng | ||
# Contact: [email protected] | ||
|
||
include (${CMAKE_CURRENT_LIST_DIR}/image_loader/image.cmake) | ||
include (${CMAKE_CURRENT_LIST_DIR}/image_coders/image.cmake) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Picasso - a vector graphics library | ||
# | ||
# Copyright (C) 2024 Zhang Ji Peng | ||
# Contact: [email protected] | ||
|
||
set(PXIMAGE_DIR ${PROJECT_ROOT}/ext/image_coders/apple) | ||
|
||
set(PXIMAGE_SOURCES | ||
${PXIMAGE_DIR}/../psx_image_io.h | ||
${PXIMAGE_DIR}/../psx_image_io.c | ||
${PXIMAGE_DIR}/images_module.m | ||
) | ||
|
||
set(LIBX_CGIMAGE psxm_image_cg) | ||
|
||
add_definitions(-DEXPORT) | ||
add_library(${LIBX_CGIMAGE} ${PXIMAGE_SOURCES}) | ||
#target_link_libraries(${LIBX_CGIMAGE} PRIVATE jpeg) | ||
install(TARGETS ${LIBX_CGIMAGE} LIBRARY DESTINATION lib/modules ARCHIVE DESTINATION lib/modules) | ||
|
||
set_target_properties(${LIBX_CGIMAGE} | ||
PROPERTIES | ||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/modules" | ||
) |
Oops, something went wrong.