mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-21 03:07:59 +02:00
better file structure for better separation
This commit is contained in:
@ -4,7 +4,6 @@ set(FILE_IO_SOURCES "file/File.cpp"
|
||||
"file/SubFile.cpp"
|
||||
"file_factory/FileFactory.cpp"
|
||||
"file_factory/JsonFileFactory.cpp"
|
||||
"file_factory/RawFileFactory.cpp"
|
||||
"helpers.cpp"
|
||||
)
|
||||
# append ${CMAKE_CURRENT_SOURCE_DIR} to the list of sources using for loop
|
||||
@ -14,10 +13,4 @@ endforeach()
|
||||
|
||||
add_library(file_io ${FILE_IO_SOURCES_WITH_PATH})
|
||||
|
||||
|
||||
target_include_directories(file_io PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/file")
|
||||
target_include_directories(file_io PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/file_factory")
|
||||
target_include_directories(file_io PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
|
||||
target_link_libraries(file_io common fmt::fmt core nlohmann_json::nlohmann_json)
|
Reference in New Issue
Block a user