2022-01-01 18:46:31 +00:00
|
|
|
list(APPEND image_HEADERS
|
|
|
|
Image.h
|
|
|
|
PngWriter.h
|
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND image_LIB_INCLUDES
|
|
|
|
Image.cpp
|
|
|
|
PngWriter.cpp
|
2022-08-01 13:00:40 +00:00
|
|
|
PngReader.cpp
|
2022-11-23 15:41:33 +00:00
|
|
|
ImageBitStream.cpp
|
2022-01-01 18:46:31 +00:00
|
|
|
)
|
|
|
|
|
2022-11-21 17:45:12 +00:00
|
|
|
list(APPEND image_LIBS core compression)
|
2022-08-22 16:11:00 +00:00
|
|
|
list(APPEND image_DEFINES "")
|
2022-08-17 08:04:52 +00:00
|
|
|
|
2022-08-22 16:11:00 +00:00
|
|
|
|
2022-01-01 18:46:31 +00:00
|
|
|
add_library(image SHARED ${image_LIB_INCLUDES} ${image_HEADERS})
|
2022-08-22 16:11:00 +00:00
|
|
|
#target_compile_definitions(image PRIVATE ${image_DEFINES})
|
2022-01-01 18:46:31 +00:00
|
|
|
|
2022-11-21 17:45:12 +00:00
|
|
|
target_include_directories(image PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
2022-08-17 08:04:52 +00:00
|
|
|
set_target_properties( image PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
|
2022-01-01 18:46:31 +00:00
|
|
|
|
2022-08-17 08:04:52 +00:00
|
|
|
target_link_libraries( image PUBLIC ${image_LIBS})
|
2022-01-01 18:46:31 +00:00
|
|
|
|
2022-08-01 13:00:40 +00:00
|
|
|
set_property(TARGET image PROPERTY FOLDER src)
|