summaryrefslogtreecommitdiff
path: root/gpr/source/app/vc5_encoder_app/CMakeLists.txt
blob: 8e24526272ba41a6bae63d51f0c1e5864ed2bbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# executable
set( EXE_NAME vc5_encoder_app )

# get source and include files
file( GLOB ENCODER_SRC_FILES "*.c" "*.cpp" )
file( GLOB ENCODER_INC_FILES "*.h" "../common/*.h" )

# add include files from other folders
include_directories( "../common" )
include_directories( "../common/argument_parser" )
include_directories( "../../lib/common/private" )
include_directories( "../../lib/common/public" )
include_directories( "../../lib/vc5_common" )
include_directories( "../../lib/vc5_encoder" )
include_directories( "../../lib/md5_lib" )

add_definitions("-DGPR_WRITING=1")

# add executable
add_executable( ${EXE_NAME} ${ENCODER_SRC_FILES} ${ENCODER_INC_FILES} ${COMMON_SRC_FILES} ${COMMON_INC_FILES} )

target_link_libraries( ${EXE_NAME} vc5_encoder vc5_common common md5_lib argument_parser )

# set the folder where to place the projects
set_target_properties( ${EXE_NAME}  PROPERTIES FOLDER app )