-
Notifications
You must be signed in to change notification settings - Fork 132
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
Showing
8 changed files
with
83 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
add_library(dma) | ||
target_include_directories(dma PUBLIC include) | ||
target_include_directories(dma PRIVATE ${EE_INC} ${PROJECT_SOURCE_DIR}/packet2/include) | ||
target_sources(dma PRIVATE src/dma.c src/erl-support.c) | ||
file(GLOB DMA_INCLUDE_FILES "include/*.h*") | ||
set_target_properties(dma PROPERTIES PUBLIC_HEADER "${DMA_INCLUDE_FILES}") | ||
install(TARGETS dma) | ||
target_add_erl(dma) |
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,21 @@ | ||
add_library(draw) | ||
target_include_directories(draw PUBLIC include) | ||
target_include_directories(draw PRIVATE | ||
${EE_INC} | ||
${PROJECT_SOURCE_DIR}/math3d/include | ||
${PROJECT_SOURCE_DIR}/dma/include | ||
) | ||
|
||
target_sources(draw PRIVATE | ||
src/draw_environment.c | ||
src/draw.c | ||
src/draw2d.c | ||
src/draw3d.c | ||
src/erl-support.c | ||
) | ||
|
||
file(GLOB DRAW_INCLUDE_FILES "include/*.h*") | ||
set_target_properties(draw PROPERTIES PUBLIC_HEADER "${DRAW_INCLUDE_FILES}") | ||
install(TARGETS draw) | ||
|
||
target_add_erl(draw) |
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,18 @@ | ||
add_library(eedebug) | ||
target_include_directories(eedebug PUBLIC include) | ||
target_include_directories(eedebug PRIVATE | ||
${EE_INC} | ||
) | ||
|
||
target_sources(eedebug PRIVATE | ||
src/ee_dbg_low.S | ||
src/ee_debug.c | ||
src/ee_exceptions.S | ||
src/erl-support.c | ||
) | ||
|
||
file(GLOB eedebug_INCLUDE_FILES "include/*.h*") | ||
set_target_properties(eedebug PROPERTIES PUBLIC_HEADER "${eedebug_INCLUDE_FILES}") | ||
install(TARGETS eedebug) | ||
|
||
target_add_erl(eedebug) |
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,16 @@ | ||
# TODO subfolder binary include | ||
add_library(elf-loader) | ||
target_include_directories(elf-loader PUBLIC include) | ||
target_include_directories(elf-loader PRIVATE | ||
${EE_INC} | ||
) | ||
|
||
target_sources(elf-loader PRIVATE | ||
src/elf.c | ||
) | ||
|
||
file(GLOB elf-loader_INCLUDE_FILES "include/*.h*") | ||
set_target_properties(elf-loader PROPERTIES PUBLIC_HEADER "${elf-loader_INCLUDE_FILES}") | ||
install(TARGETS elf-loader) | ||
|
||
target_add_erl(elf-loader) |
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