Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Torenvliet
eos
Commits
e0d0bd59
Commit
e0d0bd59
authored
8 years ago
by
Patrik Huber
Browse files
Options
Downloads
Patches
Plain Diff
Changed name of the Matlab bindings CMake target
parent
a3deb18d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/CMakeLists.txt
+3
-3
3 additions, 3 deletions
matlab/CMakeLists.txt
with
3 additions
and
3 deletions
matlab/CMakeLists.txt
+
3
−
3
View file @
e0d0bd59
...
@@ -16,7 +16,7 @@ find_package(Boost 1.50.0 COMPONENTS system filesystem REQUIRED) # Why do we nee
...
@@ -16,7 +16,7 @@ find_package(Boost 1.50.0 COMPONENTS system filesystem REQUIRED) # Why do we nee
# See: https://cmake.org/cmake/help/v3.7/module/FindMatlab.html?highlight=findmatlab#command:matlab_add_mex
# See: https://cmake.org/cmake/help/v3.7/module/FindMatlab.html?highlight=findmatlab#command:matlab_add_mex
matlab_add_mex
(
matlab_add_mex
(
NAME eos
_
fitting
NAME eos
-matlab-
fitting
#[EXECUTABLE | MODULE | SHARED] # SHARED is the default.
#[EXECUTABLE | MODULE | SHARED] # SHARED is the default.
SRC +eos/+fitting/private/fitting.cpp
SRC +eos/+fitting/private/fitting.cpp
OUTPUT_NAME fitting
#[OUTPUT_NAME output_name]
OUTPUT_NAME fitting
#[OUTPUT_NAME output_name]
...
@@ -25,9 +25,9 @@ matlab_add_mex(
...
@@ -25,9 +25,9 @@ matlab_add_mex(
#[...]
#[...]
)
)
target_include_directories
(
eos
_
fitting PRIVATE
${
CMAKE_SOURCE_DIR
}
/3rdparty/mexplus/include
${
CMAKE_SOURCE_DIR
}
/matlab/include
)
target_include_directories
(
eos
-matlab-
fitting PRIVATE
${
CMAKE_SOURCE_DIR
}
/3rdparty/mexplus/include
${
CMAKE_SOURCE_DIR
}
/matlab/include
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/matlab/demo.m DESTINATION matlab
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/matlab/demo.m DESTINATION matlab
)
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/matlab/include DESTINATION matlab
)
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/matlab/include DESTINATION matlab
)
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/matlab/+eos DESTINATION matlab PATTERN
"*.cpp"
EXCLUDE
)
install
(
DIRECTORY
${
CMAKE_SOURCE_DIR
}
/matlab/+eos DESTINATION matlab PATTERN
"*.cpp"
EXCLUDE
)
install
(
TARGETS eos
_
fitting DESTINATION matlab/+eos/+fitting/private
)
install
(
TARGETS eos
-matlab-
fitting DESTINATION matlab/+eos/+fitting/private
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment