~ubuntu-branches/ubuntu/wily/libde265/wily

« back to all changes in this revision

Viewing changes to libde265/encoder/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Joachim Bauch
  • Date: 2015-07-16 11:07:46 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20150716110746-76vsv24j3yux7tnu
Tags: 1.0.2-1
* Imported Upstream version 1.0.2
* Added new files to copyright information.
* Only export decoder API and update symbols for new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set (encoder_sources 
 
2
  analyze.cc analyze.h
 
3
  encode.h encode.cc
 
4
  encoder-params.h encoder-params.cc
 
5
  encoder-context.h encoder-context.cc
 
6
  encpicbuf.h encpicbuf.cc
 
7
  sop.h sop.cc
 
8
)
 
9
 
 
10
add_library(encoder STATIC ${encoder_sources})
 
11
 
 
12
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
 
13
  SET_TARGET_PROPERTIES(encoder PROPERTIES COMPILE_FLAGS "-fPIC")
 
14
endif(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
 
15
 
 
16
add_subdirectory (algo)
 
17
 
 
18
target_link_libraries(encoder algo)