build system and module refactoring + simple histogram scratch (#20)
* scratch adding histogram to image views Histograms should come from some sort of histogram service. This is currently just a POC. * custom logger implementation w/o spdlog * missing cmake file * fix tests * use operator<< over direct stream exposure * rm print header * add threading test + refactor towards interface libraries omits the need for =target_include_directories= calls /everywhere/ * rm print header * rm constexpr * templated thread_pool * fix doxyfile * default enable doc building * czi reader refactor * rm erroneous include expression * clang-format * single lib include with PUBLIC visibility * compile imgui stdlib * clang format * documentation update centralize `LogLevelToString` to `ILog.hpp` update docs and examples
This commit is contained in:
committed by
Maximilian Kueffner
parent
b37814204f
commit
c00c2c71ac
@@ -1,14 +1,17 @@
|
||||
set(UTILSLIBNAME pixelariumutilslib)
|
||||
|
||||
set(UTILSLIBSRC
|
||||
ILog.hpp
|
||||
SpdLogger.hpp
|
||||
include/ILog.hpp
|
||||
include/SpdLogger.hpp
|
||||
include/PixelariumLogger.hpp
|
||||
include/simple_thread_pool.hpp
|
||||
SpdLogger.cpp
|
||||
simple_thread_pool.hpp
|
||||
simple_thread_pool.cpp)
|
||||
PixelariumLogger.cpp)
|
||||
|
||||
add_library(${UTILSLIBNAME} STATIC ${UTILSLIBSRC})
|
||||
|
||||
add_library(pixelarium::lib::utilities_static ALIAS ${UTILSLIBNAME})
|
||||
|
||||
# won't work
|
||||
# target_compile_options(${UTILSLIBNAME}
|
||||
# PRIVATE
|
||||
@@ -16,7 +19,9 @@ add_library(${UTILSLIBNAME} STATIC ${UTILSLIBSRC})
|
||||
# "$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
||||
|
||||
target_include_directories(${UTILSLIBNAME}
|
||||
INTERFACE
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
PRIVATE ${spdlog_DIR}/include)
|
||||
|
||||
target_link_libraries(${UTILSLIBNAME}
|
||||
PRIVATE spdlog::spdlog_header_only)
|
||||
PUBLIC spdlog::spdlog_header_only)
|
||||
|
||||
Reference in New Issue
Block a user