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
237b1b5e
Commit
237b1b5e
authored
Dec 14, 2016
by
Patrik Huber
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'matlab-target' into devel
parents
b622bb44
e0d0bd59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
matlab/CMakeLists.txt
matlab/CMakeLists.txt
+3
-3
No files found.
matlab/CMakeLists.txt
View file @
237b1b5e
...
@@ -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
)
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