Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
applications
BallTracking
Commits
22d87e4a
Commit
22d87e4a
authored
Apr 21, 2020
by
Ahmed
Browse files
add CMakeLists.txt to cpp dir
parent
939227d7
Pipeline
#270827
failed with stage
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/cpp/CMakeLists.txt
0 → 100644
View file @
22d87e4a
cmake_minimum_required
(
VERSION 3.5
)
project
(
BallTracking CXX
)
set
(
CMAKE_CXX_STANDARD 11
)
add_executable
(
BallTracking BallTracking.cpp
)
set_target_properties
(
BallTracking PROPERTIES LINKER_LANGUAGE CXX
)
find_package
(
OpenCV REQUIRED
)
set
(
INCLUDE_DIRS
${
INCLUDE_DIRS
}
${
OpenCV_INCLUDE_DIRS
}
)
set
(
LIBS
${
LIBS
}
${
OpenCV_LIBS
}
)
target_link_libraries
(
BallTracking ba_balltracking
${
LIBS
}
-lblas -lopenblas
)
target_include_directories
(
PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
)
export
(
TARGETS BallTracking FILE BallTracking.cmake
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment