-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/update install #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d4980fd
adapted cmake and doc_common locally available
prasad-sawantdesai d4650a0
added common directory and fixed branch issues
prasad-sawantdesai add98e9
fixed elif statement
prasad-sawantdesai 3491360
added option for lrge generated code files on windows
prasad-sawantdesai b4365d1
removed cmake files which are not required and updated build dd cmake
prasad-sawantdesai f4e7dfe
fixed review comments
prasad-sawantdesai d8a1d3d
updated building_installing.rst
prasad-sawantdesai aff4464
updated documentation
prasad-sawantdesai bf3112a
updated links
prasad-sawantdesai 28f8e80
minimized al_env.sh.in
prasad-sawantdesai 7cfabb4
fixed comments related to time and IMAS MATLAB
prasad-sawantdesai ccfa41d
fixed warning/links and cleanup documentation
prasad-sawantdesai da84b07
corrected some wordings
prasad-sawantdesai 5e28f89
corrected links
prasad-sawantdesai 757d132
updated review comments
prasad-sawantdesai 88dab61
fixed warnings
prasad-sawantdesai d219d06
fixed documentation
prasad-sawantdesai bc8ec1b
fixed references
prasad-sawantdesai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # CMake configuration for AL common assets | ||
| # Intended for inclusion (using FetchContent_MakeAvailable) in other AL components | ||
|
|
||
| # Add ./cmake to the module path in the parent scope: | ||
| set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake PARENT_SCOPE ) | ||
|
|
||
| if ( ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR} ) | ||
| message( FATAL_ERROR "In-source builds not supported. Please use a separate build directory, for example `cmake -B build [...]`" ) | ||
| endif() | ||
|
|
||
| if( AL_PYTHON_BINDINGS ) | ||
| find_package( Python3 ) | ||
| set( PYVER "${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}" ) | ||
| endif() | ||
| configure_file( al_env.sh.in ${CMAKE_CURRENT_BINARY_DIR}/al_env.sh ) | ||
|
|
||
| # Don't generate the environment file when building modules: | ||
| if( AL_DOWNLOAD_DEPENDENCIES OR AL_DEVELOPMENT_LAYOUT ) | ||
| install( | ||
| FILES ${CMAKE_CURRENT_BINARY_DIR}/al_env.sh | ||
| TYPE BIN | ||
| ) | ||
| endif() | ||
|
|
||
| # al-common_SOURCE_DIR is used in some scripts in the cmake/ folder to refer to the | ||
| # current source directory: | ||
| set( al-common_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| export PATH="${CMAKE_INSTALL_PREFIX}/bin:$PATH" | ||
| export LD_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/lib:$LD_LIBRARY_PATH" | ||
| export PKG_CONFIG_PATH="${CMAKE_INSTALL_PREFIX}/lib/pkgconfig:$PKG_CONFIG_PATH" | ||
|
|
||
| if [ -d "${CMAKE_INSTALL_PREFIX}/mex" ]; then | ||
| export MATLABPATH="${CMAKE_INSTALL_PREFIX}/mex:$MATLABPATH" | ||
| fi |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.