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
95814643
Commit
95814643
authored
Jan 30, 2017
by
Patrik Huber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a custom target to make our custom Matlab bindings headers visible in IDEs
parent
dfc0e37c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
matlab/CMakeLists.txt
matlab/CMakeLists.txt
+7
-0
No files found.
matlab/CMakeLists.txt
View file @
95814643
...
...
@@ -22,6 +22,13 @@ if(MSVC)
endif
()
find_package
(
Boost 1.50.0 COMPONENTS system filesystem REQUIRED
)
# Why do we need boost for MorphableModel.hpp?
# Our helper-headers, and Matlab-specific headers - to make them show up in IDEs:
set
(
EOS_MATLAB_HEADERS
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/mexplus_eigen.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/mexplus_eos_types.hpp
)
add_custom_target
(
eos-matlab-headers SOURCES
${
EOS_MATLAB_HEADERS
}
)
# See: https://cmake.org/cmake/help/v3.7/module/FindMatlab.html?highlight=findmatlab#command:matlab_add_mex
matlab_add_mex
(
NAME eos-matlab-fitting
...
...
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