-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeListsLib.txt
More file actions
30 lines (25 loc) · 905 Bytes
/
CMakeListsLib.txt
File metadata and controls
30 lines (25 loc) · 905 Bytes
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
26
27
28
29
30
# Copyright (C) 2011 Aldebaran Robotics
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
# Define the name of the project
project(cvision)
# This include enable you to use qibuild framework
find_package(qibuild)
# Create a list of source files
set(_srcs
balldetector.cpp
markdetector.cpp
goaldetector.cpp
cameraholder.cpp
kernelcv.cpp
cvision.cpp
main.cpp
)
# Create a plugin, that is a shared library, and make
# sure it is built in lib/naoqi, so that the naoqi executable
# can find it later
qi_create_lib(cvision SHARED ${_srcs} SUBFOLDER naoqi)
# Tell CMake that sayhelloworld depends on ALCOMMON and
# ALPROXIES.
# This will set the libraries to link sayhelloworld with,
# the include paths, and so on
qi_use_lib(cvision ALCOMMON ALPROXIES ALVISION OPENCV3_CORE OPENCV3_HIGHGUI OPENCV3_IMGCODECS OPENCV3_IMGPROC OPENCV3_OBJDETECT)