aseprite/third_party/pixman-cmake/CMakeLists.txt

55 lines
1.7 KiB
CMake
Raw Normal View History

# Copyright (C) 2023 Igara Studio S.A.
# Copyright (C) 2014-2016 David Capello
2014-10-26 01:22:58 +00:00
add_definitions(-DHAVE_CONFIG_H)
if(UNIX OR APPLE)
add_definitions(-DHAVE_PTHREADS)
endif()
# Minor and micro versions must be even numbers (to avoid defining DEBUG)
2014-10-26 01:22:58 +00:00
set(PIXMAN_VERSION_MAJOR 0)
set(PIXMAN_VERSION_MINOR 34)
set(PIXMAN_VERSION_MICRO 0)
2014-10-26 01:22:58 +00:00
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/../pixman/pixman/pixman-version.h.in"
"${CMAKE_BINARY_DIR}/pixman-version.h")
add_library(pixman
../pixman/pixman/pixman-access-accessors.c
../pixman/pixman/pixman-access.c
../pixman/pixman/pixman-arm.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-bits-image.c
../pixman/pixman/pixman-combine-float.c
../pixman/pixman/pixman-combine32.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-conical-gradient.c
../pixman/pixman/pixman-edge-accessors.c
../pixman/pixman/pixman-edge.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-fast-path.c
../pixman/pixman/pixman-filter.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-general.c
../pixman/pixman/pixman-glyph.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-gradient-walker.c
../pixman/pixman/pixman-image.c
../pixman/pixman/pixman-implementation.c
../pixman/pixman/pixman-linear-gradient.c
../pixman/pixman/pixman-matrix.c
../pixman/pixman/pixman-mips.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-noop.c
../pixman/pixman/pixman-ppc.c
2014-10-26 01:22:58 +00:00
../pixman/pixman/pixman-radial-gradient.c
../pixman/pixman/pixman-region16.c
../pixman/pixman/pixman-region32.c
../pixman/pixman/pixman-solid-fill.c
../pixman/pixman/pixman-timer.c
../pixman/pixman/pixman-trap.c
../pixman/pixman/pixman-utils.c
../pixman/pixman/pixman-x86.c
../pixman/pixman/pixman.c)
target_include_directories(pixman PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../pixman/pixman
${CMAKE_BINARY_DIR})