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
Show more breadcrumbs
faust group
faust
Commits
4cd4d352
Commit
4cd4d352
authored
6 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Fix bad path in doc for Windows.
parent
3df5d3a5
No related branches found
No related tags found
No related merge requests found
Pipeline
#833870
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gen_doc/CMakeLists.txt
+2
-0
2 additions, 0 deletions
gen_doc/CMakeLists.txt
gen_doc/bin_pkgs/README_template.md
+4
-4
4 additions, 4 deletions
gen_doc/bin_pkgs/README_template.md
with
6 additions
and
4 deletions
gen_doc/CMakeLists.txt
+
2
−
0
View file @
4cd4d352
...
...
@@ -58,6 +58,7 @@ if(BUILD_DOCUMENTATION)
endif
()
endif
()
SET
(
FAUST_INSTALL_PATH
"
${
CMAKE_INSTALL_PREFIX
}
"
)
# needed for windows because the install prefix could be not set on gitlab-runner
if
(
APPLE
)
configure_file
(
${
FAUST_DOC_SRC_DIR
}
/bin_pkgs/macosx/installer_readme.html.in
${
PROJECT_BINARY_DIR
}
/doc/installer_readme.html @ONLY
)
file
(
COPY
${
FAUST_DOC_SRC_DIR
}
/bin_pkgs/macosx/licenses.html DESTINATION
${
PROJECT_BINARY_DIR
}
/doc/
)
...
...
@@ -75,6 +76,7 @@ if(BUILD_DOCUMENTATION)
endif
()
configure_file
(
${
FAUST_DOC_SRC_DIR
}
/bin_pkgs/README_template.html
${
PROJECT_BINARY_DIR
}
/doc/html/README.html @ONLY
)
elseif
(
WIN32
)
SET
(
FAUST_INSTALL_PATH
"C:/Program Files/Faust"
)
# path of installation is always this on Windows
if
(
NOT DEFINED OS_SPECIFIC_INSTALL_GUIDE_INSTRUCS
)
configure_file
(
${
FAUST_DOC_SRC_DIR
}
/bin_pkgs/win/README_install_part.html
${
PROJECT_BINARY_DIR
}
/doc/README_install_part.html
)
file
(
READ
${
PROJECT_BINARY_DIR
}
/doc/README_install_part.html OS_SPECIFIC_INSTALL_GUIDE_INSTRUCS
)
...
...
This diff is collapsed.
Click to expand it.
gen_doc/bin_pkgs/README_template.md
+
4
−
4
View file @
4cd4d352
...
...
@@ -65,7 +65,7 @@ Otherwise it didn't work. So here is how to setup the wrapper manually.
First, launch a Matlab terminal, then go in the FAµST directory:
>> cd @
CMAKE
_INSTALL_P
REFIX
@/matlab
>> cd @
FAUST
_INSTALL_P
ATH
@/matlab
Then launch the script that is responsible to add FAµST location in your Matlab path.
...
...
@@ -81,7 +81,7 @@ For that purpose:
<li>
Go into the sub-directory toolbox/local
<li>
Edit the file startup.m by adding the follwing line:
<pre>
addpath(genpath('@
CMAKE
_INSTALL_P
REFIX
@/matlab'))
addpath(genpath('@
FAUST
_INSTALL_P
ATH
@/matlab'))
</pre>
</ol>
OK! You can follow the
[
quick start usage
](
#usage
)
now.
...
...
@@ -107,13 +107,13 @@ indicates that you need to add the Python wrapper manually in your Python path a
-
For Linux and macOS in a Bash terminal:
$ export PYTHONPATH=$PYTHONPATH:@
CMAKE
_INSTALL_P
REFIX
@/python
$ export PYTHONPATH=$PYTHONPATH:@
FAUST
_INSTALL_P
ATH
@/python
# and test again
$ python2 -c "import pyfaust; print('It works.')"
-
For Windows in the command prompt:
set PYTHONPATH=%PYTHONPATH%;@
CMAKE
_INSTALL_P
REFIX
@/python
set PYTHONPATH=%PYTHONPATH%;@
FAUST
_INSTALL_P
ATH
@/python
:: and test again
python -c "import pyfaust; print('It works.')"
...
...
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