aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 3875638a86857c629f5a530f4602bae4a4846f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Color Image Processing Pipeline
#

cmake_minimum_required(VERSION 2.4)

include_directories(.)

file(GLOB colorpipesources *.c *.h)

add_library(o3000_imgpipe SHARED ${colorpipesources})

set_target_properties	(o3000_imgpipe PROPERTIES
							OUTPUT_NAME "o3000_imgpipe"
							VERSION 1.0.0
							SOVERSION 1
							LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
						)
						
target_compile_options(o3000_imgpipe PRIVATE -Wall -g -O3 -std=c11 -ggdb -D_XOPEN_SOURCE=500 -fPIC)

install(TARGETS o3000_imgpipe DESTINATION lib)
install(FILES "color_pipe.h" DESTINATION "include/o3000")