mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-02 09:23:18 +00:00
Change 'File' concept to a 'Resource' abstract concept
This commit is contained in:
parent
7eb54cddce
commit
ca34562a1c
23 changed files with 447 additions and 351 deletions
|
@ -16,7 +16,9 @@ qt_standard_project_setup(REQUIRES 6.7)
|
|||
add_library(mirai-core
|
||||
src/core/Mirai.h src/core/Mirai.cpp
|
||||
src/core/TaskItem.h src/core/TaskItem.cpp
|
||||
src/core/TasksFile.h src/core/TasksFile.cpp
|
||||
src/core/BaseResource.h src/core/BaseResource.cpp
|
||||
src/core/BaseFileResource.h
|
||||
src/core/StdFileResource.h
|
||||
src/core/TasksView.h src/core/TasksView.cpp
|
||||
src/core/TodoMd.h src/core/TodoMd.cpp
|
||||
src/core/utils.h src/core/utils.cpp
|
||||
|
@ -76,6 +78,9 @@ target_link_libraries(mirai PRIVATE mirai-core)
|
|||
|
||||
# Tests
|
||||
add_subdirectory(libs/Catch2)
|
||||
add_executable(tests tests/test.cpp)
|
||||
add_executable(tests
|
||||
tests/format.cpp
|
||||
tests/saving.cpp
|
||||
)
|
||||
target_link_libraries(tests PRIVATE mirai-core)
|
||||
target_link_libraries(tests PRIVATE Catch2::Catch2WithMain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue