Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
eos
Commits
f1f433fa
Commit
f1f433fa
authored
Feb 19, 2017
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switched order of targets in examples/CMakeLists.txt
parent
8b9cd351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
examples/CMakeLists.txt
examples/CMakeLists.txt
+10
-11
No files found.
examples/CMakeLists.txt
View file @
f1f433fa
...
...
@@ -30,6 +30,16 @@ add_executable(fit-model fit-model.cpp)
target_link_libraries
(
fit-model eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
target_link_libraries
(
fit-model
"$<$<CXX_COMPILER_ID:GNU>:-pthread>$<$<CXX_COMPILER_ID:Clang>:-pthreads>"
)
# Generate random samples from the model:
add_executable
(
generate-obj generate-obj.cpp
)
target_link_libraries
(
generate-obj eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# Install these targets:
install
(
TARGETS fit-model-simple DESTINATION bin
)
install
(
TARGETS fit-model DESTINATION bin
)
install
(
TARGETS generate-obj DESTINATION bin
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/data DESTINATION bin
)
if
(
EOS_BUILD_CERES_EXAMPLE
)
# Find Ceres, for the fit-model-ceres app:
...
...
@@ -42,14 +52,3 @@ if(EOS_BUILD_CERES_EXAMPLE)
target_link_libraries
(
fit-model-ceres eos
${
CERES_LIBRARIES
}
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
install
(
TARGETS fit-model-ceres DESTINATION bin
)
endif
()
# Generate random samples from the model:
add_executable
(
generate-obj generate-obj.cpp
)
target_link_libraries
(
generate-obj eos
${
OpenCV_LIBS
}
${
Boost_LIBRARIES
}
)
# install target:
install
(
TARGETS fit-model-simple DESTINATION bin
)
install
(
TARGETS fit-model DESTINATION bin
)
install
(
TARGETS generate-obj DESTINATION bin
)
install
(
DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/data DESTINATION bin
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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