Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
c944e20d
Commit
c944e20d
authored
8 years ago
by
Adrien Leman
Committed by
hhakim
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
test al debug
parent
bdc3bc33
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/findMatlab.cmake
+7
-5
7 additions, 5 deletions
CMake/findMatlab.cmake
with
7 additions
and
5 deletions
CMake/findMatlab.cmake
+
7
−
5
View file @
c944e20d
...
...
@@ -57,12 +57,14 @@ if( ${MATLAB_DIR_TMP} MATCHES "matlab")
message
(
STATUS
"MATLAB_DIR_TMP
${
MATLAB_DIR_TMP
}
"
)
message
(
STATUS
"MATLAB_ROOT TMP:
${
MATLAB_ROOT
}
"
)
# string(REGEX REPLACE "([a-zA-Z0-9_/:]+)/bin/matlab" "\\1" MATLAB_ROOT "${MATLAB_DIR_TMP}")
string
(
REGEX REPLACE
"([a-zA-Z0-9_/:.]+)/bin//matlab"
"
\\
1"
MATLAB_ROOT
"
${
MATLAB_DIR_TMP
}
"
)
# ds le cas ou on a /bin//matlab
message
(
STATUS
"MATLAB_DIR_TMP2
${
MATLAB_DIR_TMP
}
"
)
message
(
STATUS
"MATLAB_ROOT TMP2:
${
MATLAB_ROOT
}
"
)
string
(
REGEX REPLACE
"([a-zA-Z0-9_/:.]+)/bin/matlab"
"
\\
1"
MATLAB_ROOT
"
${
MATLAB_DIR_TMP
}
"
)
# sous mac on a un point ds le path .app
message
(
STATUS
"MATLAB_DIR_TMP3
${
MATLAB_DIR_TMP
}
"
)
message
(
STATUS
"MATLAB_ROOT TMP3:
${
MATLAB_ROOT
}
"
)
message
(
STATUS
"MATLAB_DIR_TMP2
${
MATLAB_DIR_TMP
}
"
)
message
(
STATUS
"MATLAB_ROOT TMP2:
${
MATLAB_ROOT
}
"
)
if
(
${
MATLAB_ROOT
}
MATCHES
"matlab"
)
# Dans ce cas, le remplacment ne s'est pas fait.. on essaie avec la double separation "//"
string
(
REGEX REPLACE
"([a-zA-Z0-9_/:.]+)/bin//matlab"
"
\\
1"
MATLAB_ROOT
"
${
MATLAB_DIR_TMP
}
"
)
# ds le cas ou on a /bin// matlab
message
(
STATUS
"MATLAB_DIR_TMP3
${
MATLAB_DIR_TMP
}
"
)
message
(
STATUS
"MATLAB_ROOT TMP3:
${
MATLAB_ROOT
}
"
)
endif
()
elseif
(
WIN32
)
string
(
REGEX REPLACE
"([a-zA-Z0-9_
\\
:.]+)
\\\\
bin
\\\\
matlab.exe"
"
\\
1"
MATLAB_ROOT
"
${
MATLAB_DIR_TMP
}
"
)
...
...
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