Skip to content

Commit

Permalink
New script to use numcosmo without installing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Dias Pinto Vitenti committed Jun 22, 2021
1 parent 5edfb4e commit 93fcc0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,7 @@ dnl ***************************************************************************

AC_CONFIG_FILES([
numcosmo.pc
numcosmo_export.sh
Makefile
numcosmo/Makefile
numcosmo/levmar/Makefile
Expand Down
11 changes: 11 additions & 0 deletions numcosmo_export.sh.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# NumCosmo buildir exports necessary to use
# the library without installation

export NUMCOSMO_DIR=$(cd "@abs_top_srcdir@"; pwd)
export NUMCOSMO_BUILD_DIR=$(cd "@abs_top_builddir@"; pwd)
export NUMCOSMO_DATA_DIR="${NUMCOSMO_DIR}"

export CPATH="${CPATH:+$CPATH:}${NUMCOSMO_DIR}:${NUMCOSMO_BUILD_DIR}"
export LIBRARY_PATH="${LIBRARY_PATH:+$LIBRARY_PATH:}${NUMCOSMO_BUILD_DIR}/numcosmo/.libs"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${NUMCOSMO_BUILD_DIR}/numcosmo/.libs"
export GI_TYPELIB_PATH="${GI_TYPELIB_PATH:+$GI_TYPELIB_PATH:}${NUMCOSMO_BUILD_DIR}/numcosmo"

0 comments on commit 93fcc0e

Please sign in to comment.