235d00192a
* get rid of optional<ptr> -> double indirection * more optional cleanup * fix * add more render pixel type options * towards different views * missing virtual declaration of ShowImage * fix runtime * init image view factory * fix build Render Image close button re-enable add readme init documentation use awesomeDoxygen ci build docs install doxygen id token permission add pages write permission
33 lines
739 B
CMake
33 lines
739 B
CMake
include(${CMAKE_SOURCE_DIR}/cmake/libCZI.cmake)
|
|
|
|
find_package(OpenCV REQUIRED)
|
|
|
|
message(STATUS "Found opencv: " ${OpenCV_INCLUDE_DIRS})
|
|
message(STATUS "OpenCV_LIBs from: " ${OpenCV_LIBS})
|
|
|
|
set(IMAGELIBSRC
|
|
IPixelariumImage.hpp
|
|
PixelariumImageFactory.hpp
|
|
PixelariumImageFactory.cpp
|
|
impl/PixelariumJpg.hpp
|
|
impl/PixelariumJpg.cpp
|
|
impl/PixelariumPng.hpp
|
|
impl/PixelariumPng.cpp
|
|
impl/PixelariumCzi.hpp
|
|
impl/PixelariumCzi.cpp
|
|
)
|
|
|
|
set(IMAGELIBLIBNAME pixelariumimagelib)
|
|
|
|
add_library(${IMAGELIBLIBNAME}
|
|
STATIC ${IMAGELIBSRC})
|
|
|
|
target_link_libraries(${IMAGELIBLIBNAME}
|
|
PUBLIC ${OpenCV_LIBS}
|
|
PRIVATE libCZIStatic)
|
|
|
|
|
|
target_include_directories(${IMAGELIBLIBNAME}
|
|
PUBLIC ${OpenCV_INCLUDE_DIRS}
|
|
PRIVATE ${LIBCZI_INCLUDE_DIR})
|