Skip to content

Commit

Permalink
Reformat CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
CattenLinger committed Sep 30, 2024
1 parent ca20251 commit 7225dfd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include_directories(/usr/local/include ${Lua53_INCLUDE_DIRS} ${LIBUSB_INCLUDE_DI

list(APPEND SRC_LIB
src/lib/stb_image.h
)
)

list(APPEND SRC_COM
src/com/com_image.h
Expand All @@ -22,7 +22,7 @@ list(APPEND SRC_COM
src/com/com_canvas.c
src/com/com_screen_device.h
src/com/com_screen_device.c
)
)

list(APPEND SRC_MOD
src/mod/mod_image.h
Expand All @@ -41,7 +41,7 @@ list(APPEND SRC_MOD
src/mod/mod_usb_explorer.c
src/mod/mod_screen_dpf.h
src/mod/mod_screen_dpf.c
)
)

list(APPEND SRC_UTILS
src/utils/log.h
Expand All @@ -50,14 +50,17 @@ list(APPEND SRC_UTILS
src/utils/lua_utils.c
src/utils/common_types.h
src/utils/common_types.c
)
)

#
# Driver Source Lists
#
list(APPEND SRC_DPF_DRIVER
src/driver/dpf/warp_scsi.h
src/driver/dpf/warp_scsi.c
src/driver/dpf/dpf_device.h
src/driver/dpf/dpf_device.c
)
)

add_compile_definitions(
LOG_USE_COLOR
Expand Down Expand Up @@ -93,13 +96,9 @@ target_link_libraries(ldpf4l ${LIBUSB_LIBRARIES})

list(APPEND SRC_TEST_SCSI
src/test/test_scsi.c
src/driver/dpf/dpf_device.c
src/driver/dpf/dpf_device.h
src/driver/dpf/warp_scsi.c
src/driver/dpf/warp_scsi.h
src/utils/log.c
src/utils/log.h
)

add_executable(test_scsi src/test/test_scsi.c ${SRC_TEST_SCSI})
add_executable(test_scsi src/test/test_scsi.c ${SRC_TEST_SCSI} ${SRC_DPF_DRIVER})
target_link_libraries(test_scsi ${LIBUSB_LIBRARIES})

0 comments on commit 7225dfd

Please sign in to comment.